Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
* Updated QR tests to avoid element-wise comparisons for `raw` and `r` modes [#2785](https://github.com/IntelPython/dpnp/pull/2785)
* Moved all SYCL kernel functors from `backend/extensions/` to a unified `backend/kernels/` directory hierarchy [#2816](https://github.com/IntelPython/dpnp/pull/2816)
* `dpnp` uses pybind11 3.0.3 [#2834](https://github.com/IntelPython/dpnp/pull/2834)
* Disabled `dpnp.tensor` tests by default in conda recipe to prevent OOM failures during package testing [#2859](https://github.com/IntelPython/dpnp/pull/2859)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd clear to mention explicit conda build --test ... command which is only affected. And also we need to state how it's possible to disable default behavior with setting env variable SKIP_TENSOR_TESTS=0 while running conda build --test ....

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Disabled `dpnp.tensor` tests by default in conda recipe to prevent OOM failures during package testing [#2859](https://github.com/IntelPython/dpnp/pull/2859)
* Disabled `dpnp.tensor` tests by default in conda recipe to prevent OOM failures during package testing [#2860](https://github.com/IntelPython/dpnp/pull/2860)


### Deprecated

Expand Down
6 changes: 6 additions & 0 deletions conda-recipe/run_test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ if not defined PYTHON (
)


REM Skip tensor tests by default to avoid OOM in conda builds.
REM Set SKIP_TENSOR_TESTS=0 to run them on machines with enough memory.
if not defined SKIP_TENSOR_TESTS (
set "SKIP_TENSOR_TESTS=1"
)

"%PYTHON%" -c "import dpnp; print(dpnp.__version__)"
if %errorlevel% neq 0 exit 1

Expand Down
6 changes: 6 additions & 0 deletions conda-recipe/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ if [ -z "${PYTHON}" ]; then
PYTHON=$PREFIX/bin/python
fi

# Skip tensor tests by default to avoid OOM in conda builds.
# Set SKIP_TENSOR_TESTS=0 to run them on machines with enough memory.
if [ -z "${SKIP_TENSOR_TESTS}" ]; then
export SKIP_TENSOR_TESTS=1
fi

set -e

$PYTHON -c "import dpnp; print(dpnp.__version__)"
Expand Down
Loading