Skip to content

Commit

Permalink
Try to set NVIDIA_VISIBLE_DEVICES
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <[email protected]>
  • Loading branch information
bmhowe23 committed Jan 8, 2025
1 parent d1a6276 commit 4bbe5e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/all_libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ jobs:
if: startsWith(github.ref, 'refs/heads/pull-request/')
runs-on: linux-arm64-gpu-a100-latest-1
#runs-on: ${{ startsWith(github.repository, 'NVIDIA/cudaqx') && 'linux-arm64-cpu8' || 'ubuntu-latest' }}
container: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
container:
image: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
permissions:
actions: write
contents: read
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lib_qec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ jobs:
if: startsWith(github.ref, 'refs/heads/pull-request/')
runs-on: linux-arm64-gpu-a100-latest-1
#runs-on: ${{ startsWith(github.repository, 'NVIDIA/cudaqx') && 'linux-arm64-cpu8' || 'ubuntu-latest' }}
container: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
container:
image: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
permissions:
actions: write
contents: read
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lib_solvers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ jobs:
if: startsWith(github.ref, 'refs/heads/pull-request/')
runs-on: linux-arm64-gpu-a100-latest-1
#runs-on: ${{ startsWith(github.repository, 'NVIDIA/cudaqx') && 'linux-arm64-cpu8' || 'ubuntu-latest' }}
container: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
container:
image: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
permissions:
actions: write
contents: read
Expand Down

0 comments on commit 4bbe5e6

Please sign in to comment.