mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 19:21:14 +00:00
Change to GPU runner for testing
This commit is contained in:
@@ -48,7 +48,7 @@ jobs:
|
|||||||
test-wheels:
|
test-wheels:
|
||||||
name: Test wheel (CUDA ${{ matrix.cuda }}, Python ${{ matrix.python }})
|
name: Test wheel (CUDA ${{ matrix.cuda }}, Python ${{ matrix.python }})
|
||||||
needs: build-wheels
|
needs: build-wheels
|
||||||
runs-on: ubuntu-latest
|
runs-on: linux-amd64-gpu-l4-latest-1
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
@@ -82,6 +82,7 @@ jobs:
|
|||||||
|
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--workdir /workspace \
|
--workdir /workspace \
|
||||||
|
--gpus all \
|
||||||
--mount type=bind,source=$(pwd),target=/workspace/ \
|
--mount type=bind,source=$(pwd),target=/workspace/ \
|
||||||
--env py_version=${{ matrix.python }} \
|
--env py_version=${{ matrix.python }} \
|
||||||
--env cuda_version=${{ matrix.cuda }} \
|
--env cuda_version=${{ matrix.cuda }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user