Skip to content

Commit

Permalink
Update cuda version to 12.2 (#1120)
Browse files Browse the repository at this point in the history
* Update cuda version to 12.2

* Bump legate.core version

* Restrict pytest version, for pytest-lazy-fixture

* Use allclose to fix test failure in CI

---------

Co-authored-by: Manolis Papadakis <[email protected]>
Co-authored-by: Manolis Papadakis <[email protected]>
  • Loading branch information
3 people authored Feb 9, 2024
1 parent 8693a3d commit b073814
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
options: -u root
image: "${{ inputs.image }}"
env:
CUDA_VERSION: "12.0"
CUDA_VERSION: "12.2"
CUDA_VERSION_MAJOR: "12"
CUDA_VERSION_MINOR: "0"
CUDA_VERSION_MINOR: "2"
SCCACHE_REGION: "us-east-2"
SCCACHE_BUCKET: "rapids-sccache-devs"
SCCACHE_S3_KEY_PREFIX: "legate-cunumeric-dev"
Expand Down
2 changes: 1 addition & 1 deletion cmake/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"git_url" : "https://github.com/nv-legate/legate.core.git",
"git_shallow": false,
"always_download": false,
"git_tag" : "85c2a247a6b2c8086e57568ef0056045c3e175e3"
"git_tag" : "b84e86e9e3518d7102cdf531b5b733dc09c0e8d9"
}
}
}
4 changes: 2 additions & 2 deletions continuous_integration/scripts/test-cunumeric
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setup_env() {
}

setup_test_env() {
mamba install -y "clang-tools>=8" "clang>=8" colorama coverage mock pre-commit pytest-cov pytest-lazy-fixture pytest-mock pytest types-docutils pynvml
mamba install -y "clang-tools>=8" "clang>=8" colorama coverage mock pre-commit pytest-cov pytest-lazy-fixture pytest-mock "pytest<8" types-docutils pynvml

pip install tifffile
}
Expand Down Expand Up @@ -58,4 +58,4 @@ test-cunumeric() {
esac
}

(test-cunumeric "$@");
(test-cunumeric "$@");
3 changes: 2 additions & 1 deletion tests/integration/test_overlap.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import numpy as np
import pytest
from utils.comparisons import allclose
from utils.generators import mk_seq_array

import cunumeric as num
Expand Down Expand Up @@ -71,7 +72,7 @@ def test_partial(partial, shape, operation):
operation(np, a_np, slice_lhs, slice_rhs)
operation(num, a_num, slice_lhs, slice_rhs)

assert np.array_equal(a_np, a_num)
assert allclose(a_np, a_num)


if __name__ == "__main__":
Expand Down

0 comments on commit b073814

Please sign in to comment.