nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:08:11_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0
I tried to import torch. But “ImportError: cannot import name ‘_get_cpp_backtrace’ from ‘torch._C’ (/home/user/env/lib/python3.10/site-packages/torch/_C.cpython-310-aarch64-linux-gnu.so)” occur.
I tried to install “pip install torch==2.3.0 torchvision==0.18.0a0+6043bc2, torchaudio==2.3.0 --index-url jp6/cu122 index
Looking in indexes: jp6/cu122 index, https://pypi.ngc.nvidia.com” and “pip install torch==2.4.0 torchvision==0.19.0a0+48b1edf torchaudio==2.4.0a0+69d4077 --index-url jp6/cu122 index”
How to solve it? I dont know why.. because 2 weeks ago. torch is working also torch.cuda.is_avaliable()