Skip to content
Merged
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
2 changes: 1 addition & 1 deletion ci/coverage_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "Package path: ${package}"
python -m pip install \
"${package}" \
"cuda-python==${CUDA_VER_MAJOR_MINOR%.*}.*" \
"cuda-core==0.3.*" \
"cuda-core" \
pytest-cov \
coverage \
--group test
Expand Down
51 changes: 50 additions & 1 deletion ci/test_thirdparty_awkward.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo "Package path: ${package}"
python -m pip install \
"${package}" \
"cuda-python==${CUDA_VER_MAJOR_MINOR%.*}.*" \
"cuda-core==0.3.*" \
"cuda-core" \
"nvidia-nvjitlink-cu12" \
--group test

Expand All @@ -27,6 +27,55 @@ git clone --recursive https://github.com/scikit-hep/awkward.git
pushd awkward
git checkout v${AWKWARD_VERSION}

# Avoid tests that are unreliable on the CUDA target:
#
# - awkward_RecordArray_reduce_nonlocal_outoffsets_64
# - test_3459_virtualarray_with_cuda
#
# as per discussion in https://github.com/scikit-hep/awkward/discussions/3587


rapids-logger "Patch awkward tests"

patch -p1 <<'EOF'
diff --git a/dev/generate-tests.py b/dev/generate-tests.py
index 1292e0cf..4534a57c 100644
--- a/dev/generate-tests.py
+++ b/dev/generate-tests.py
@@ -970,7 +970,6 @@ cuda_kernels_tests = [
"awkward_UnionArray_regular_index_getsize",
"awkward_UnionArray_simplify",
"awkward_UnionArray_simplify_one",
- "awkward_RecordArray_reduce_nonlocal_outoffsets_64",
"awkward_reduce_count_64",
"awkward_reduce_max",
"awkward_reduce_max_complex",
diff --git a/tests-cuda/test_3459_virtualarray_with_cuda.py b/tests-cuda/test_3459_virtualarray_with_cuda.py
index e2bcab12..c82f63c3 100644
--- a/tests-cuda/test_3459_virtualarray_with_cuda.py
+++ b/tests-cuda/test_3459_virtualarray_with_cuda.py
@@ -9,6 +9,7 @@ import awkward as ak
from awkward._nplikes.cupy import Cupy
from awkward._nplikes.virtual import VirtualNDArray

+pytestmark = pytest.mark.skip("temporarily skipping all tests in this module")

@pytest.fixture(scope="function", autouse=True)
def cleanup_cuda():
diff --git a/tests-cuda/test_3149_complex_reducers.py b/tests-cuda/test_3149_complex_reducers.py
index 39080a34..0eb3940f 100644
--- a/tests-cuda/test_3149_complex_reducers.py
+++ b/tests-cuda/test_3149_complex_reducers.py
@@ -544,6 +544,7 @@ def test_block_boundary_prod_complex12():
del cuda_content, cuda_depth1


[email protected]("Intermittent failures")
def test_block_boundary_prod_complex13():
rng = np.random.default_rng(seed=42)
array = rng.integers(50, size=1000)
EOF

rapids-logger "Generate awkward tests"
nox -s prepare -- --tests

Expand Down
2 changes: 1 addition & 1 deletion ci/test_thirdparty_cudf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "Package path: ${package}"
python -m pip install \
"${package}" \
"cuda-python==${CUDA_VER_MAJOR_MINOR%.*}.*" \
"cuda-core==0.3.*" \
"cuda-core" \
"nvidia-nvjitlink-cu12" \
--group test

Expand Down
2 changes: 1 addition & 1 deletion ci/test_thirdparty_nvmath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo "Package path: ${package}"
python -m pip install \
"${package}" \
"cuda-python==${CUDA_VER_MAJOR_MINOR%.*}.*" \
"cuda-core==0.3.*" \
"cuda-core" \
"nvidia-nvjitlink-cu12" \
--group test

Expand Down
Loading