File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 7070 if : ${{ matrix.cuda-version != 'cpu' }}
7171 run : |
7272 source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
73- FORCE_CUDA=1 WITH_METIS=1 pip install -e .
73+ FORCE_CUDA=1 WITH_METIS=1 TORCH_CUDA_ARCH_LIST="5.2 6.0 6.1 7.0 7.5 8.0 8.6+PTX" pip install -e .
7474 shell :
7575 bash
7676
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ if(WITH_CUDA)
99 enable_language (CUDA)
1010 add_definitions (-D__CUDA_NO_HALF_OPERATORS__)
1111 add_definitions (-DWITH_CUDA)
12+ set (CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-relaxed-constexpr" )
1213endif ()
1314
1415find_package (Python3 COMPONENTS Development)
Original file line number Diff line number Diff line change 2727 script_env :
2828 - FORCE_CUDA
2929 - WITH_METIS=1
30+ - TORCH_CUDA_ARCH_LIST="5.2 6.0 6.1 7.0 7.5 8.0 8.6+PTX"
3031 preserve_egg_dir : True
3132
3233test :
You can’t perform that action at this time.
0 commit comments