Hi there.
My system info:
Jetson Xavier NX(EN715 board from avermedia)
Jetpack version: 4.6
Cuda: 10.2
I have a problem that ı have been facing let me summarize the issue:
- As others have mentioned I want to use yolov8 (or yolov5 it really doesn’t matter)within a docker image in nvidia jetson xavier NX. However since my board is one of those avermedia boards I can only get up to jetpack 4.6. So therefore there are a few questions that came up: 1) Since ultralytics requires python>3.8 and the provided docker images work with python3.6.9 is there an alternative way I can use the cuda10.2? What I tried at 1: But it didn’t work I have used pytorch 1.7 cp38 wheel I could see cuda but I have gotten the error of pytorch not compatible with the cuda version(10.2)
By the way I am aware that TensoRRT is a solution but how much control will I have over that?
I have tried many dockerfiles but none of them gave me True on :
torch.cuda.is_available()
I also tried creating a virtualenv with python 3.8 and downloading cuda available version of 1.7 from a wheel and I could see the gpu but trying to get the model on gpu gave me this warning.
model.to(“cuda”)
/home/nvidia/.local/lib/python3.8/site-packages/torch/cuda/init.py:104: UserWarning:
Xavier with CUDA capability sm_72 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_53.
If you want to use the Xavier GPU with PyTorch, please check the instructions at Start Locally | PyTorchwarnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))
I think I have explained what I went through here. By the way I can’t update the jetson nx to a newer version of a jetpack because of the board.
What do you all suggest on this? I am open to trying out everything possible.
Thanks :)
Edit: Please update me if the post isn’t clear I can update it.