Skip to content

Commit

Permalink
Only use network if cuda 11.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tridao committed Aug 10, 2023
1 parent b91e513 commit 78589ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
cuda: ${{ matrix.cuda-version }}
linux-local-args: '["--toolkit"]'
# default method is "local", and we're hitting some error with caching for CUDA 11.8
method: 'network'
method: ${{ matrix.cuda-version == '11.8.0' && 'network' || 'local' }}
# We need the cuda libraries (e.g. cuSparse, cuSolver) for compiling PyTorch extensions,
# not just nvcc
# sub-packages: '["nvcc"]'
Expand Down

0 comments on commit 78589ff

Please sign in to comment.