lifei160177
lifei160177
HI, 4090 的卡你是通过什么方式安装的,进行 pip install turbodiffusion --no-build-isolation 时有 类似这样的报错吗 nvcc fatal : Unsupported gpu architecture 'compute_120a' ninja: build stopped: subcommand failed.
[5/5] /usr/local/cuda-12.4/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-mdch8p6u/turbodiffusion_56f05382417943d5823fbee3ef0cf52e/build/temp.linux-x86_64-cpython-312/turbodiffusion/ops/quant/quant.o.d -I/tmp/pip-install-mdch8p6u/turbodiffusion_56f05382417943d5823fbee3ef0cf52e/turbodiffusion/ops/cutlass/include -I/tmp/pip-install-mdch8p6u/turbodiffusion_56f05382417943d5823fbee3ef0cf52e/turbodiffusion/ops/cutlass/tools/util/include -I/tmp/pip-install-mdch8p6u/turbodiffusion_56f05382417943d5823fbee3ef0cf52e/turbodiffusion/ops -I/home/tubor/lib/python3.12/site-packages/torch/include -I/home/tubor/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/tubor/lib/python3.12/site-packages/torch/include/TH -I/home/tubor/lib/python3.12/site-packages/torch/include/THC -I/usr/local/cuda-12.4/include -I/home/tubor/include -I/usr/include/python3.12 -c -c /tmp/pip-install-mdch8p6u/turbodiffusion_56f05382417943d5823fbee3ef0cf52e/turbodiffusion/ops/quant/quant.cu -o /tmp/pip-install-mdch8p6u/turbodiffusion_56f05382417943d5823fbee3ef0cf52e/build/temp.linux-x86_64-cpython-312/turbodiffusion/ops/quant/quant.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__...
你好,这个是通过运行 conda create -n turbodiffusion python=3.12 conda activate turbodiffusion pip install turbodiffusion --no-build-isolation 产生的报错,在 pip install turbodiffusion --no-build-isolation 并没有看到生成的 TuborDiffusion 目录, 如何修改 cc_flag, 这个 cc_flag 在哪个目录下的哪个文件中,谢谢。 >