Jetson Orin에서 PyTorch 비호환 문제
문제 1: GPU 사용 불가
Jetson용 PyTorch 설치:
튜토리얼: https://docs.nvidia.com/deeplearning/frameworks/install-pytorch-jetson-platform/index.html
bash
export TORCH_INSTALL=torch-2.5.0a0+872d972e41.nv24.08.17622132-cp310-cp310-linux_aarch64.whl
pip install --no-cache $TORCH_INSTALL버전 선택: https://developer.download.nvidia.com/compute/redist/jp/
테스트:
Python
import torch
torch.cuda.is_available()문제 2: libcusparseLt 오류
ImportError: libcusparseLt.so.0: cannot open shared object file: No such file or directory
해결 방법:
Jetson Orin 플랫폼이 지원하는 CUDA 버전과 일치하는 cuSPARSELt 라이브러리를 설치합니다.
다운로드 링크:
https://developer.nvidia.com/cusparselt-downloads
문제 3: torchvision 없음
torch 2.5 → torchvision 0.20.0:
bash
git clone --branch v0.20.0 https://github.com/pytorch/vision.git
cd vision
export BUILD_VERSION=0.20.0
python3 setup.py install --user
