File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,10 @@ jobs:
106106 LD_LIBRARY_PATH : ${{ env.MPI_PATH }}/lib:${{ env.LD_LIBRARY_PATH }}
107107 shell : bash
108108 run : |
109- pip install numpy pytest cupy-cuda${{ steps.config.outputs.cuda_major }}x cuquantum-cu${{ steps.config.outputs.cuda_major }} torch lightning ml_collections mpi4py transformers quimb opt_einsum torch nvidia-cublas cuquantum-python-cu${{ steps.config.outputs.cuda_major }}==25.09
109+ # Install the correct torch first.
110+ cuda_no_dot=$(echo ${{ matrix.cuda_version }} | sed 's/\.//')
111+ pip install torch==2.9.0 --index-url https://download.pytorch.org/whl/cu${cuda_no_dot}
112+ pip install numpy pytest cupy-cuda${{ steps.config.outputs.cuda_major }}x cuquantum-cu${{ steps.config.outputs.cuda_major }} lightning ml_collections mpi4py transformers quimb opt_einsum nvidia-cublas cuquantum-python-cu${{ steps.config.outputs.cuda_major }}==25.09
110113 # The following tests are needed for docs/sphinx/examples/qec/python/tensor_network_decoder.py.
111114 if [ "$(uname -m)" == "x86_64" ]; then
112115 # Stim is not currently available on manylinux ARM wheels, so only
You can’t perform that action at this time.
0 commit comments