[WIP] MatrixVT를 돌려보자

Estelle Yoon·2025년 3월 18일

WIP

목록 보기
3/13

MatrixVT 설치/실행 똥꼬쇼 로그

설치

CUDA

CUDA 요구버전 11.1

CUDA만 지우기

sudo apt-get --purge remove 'cuda*'
sudo apt-get autoremove --purge 'cuda*'
sudo rm -rf /usr/local/cuda*

CUDA 11.3 설치힐거임

CUDA 11.3 설치 사이트에서 local run file로 설치 진행
엔비디아 드라이버는 뺴고 설치

그래픽 드라이버도 없으면 여기

pytorch

요구 버전
torch==1.9.0
torchvision==0.10.0

pip3 install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html

MMDetection3D

MMDetection3D 공식 레포MMDet3D의 공식 도큐먼트를 따라 설치

MMDet3D 설치 기록

requirement

pip3 install -r requirements.txt

install

python3 setup.py develop --user

문제 상황

pytorch-lightning

아래와 같은 문제 발생

ERROR: No matching distribution found for pytorch-lightning==1.6.0

해결 방법

아래와 같이 파이토치 설치시에 한번에 같이 깔아서 파이토치와의 호환성 해결

conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 torchlightning -c pytorch -c conda-forge

requirement.txt 에서 pytorch-lightning 부분 삭제

nvcc exit status 1

1 error detected in the compilation of "bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu".
error: command '/usr/local/cuda-11.3/bin/nvcc' failed with exit status 1

서치 결과 해결 방법

  1. gcc 버전 바꾸기
  2. pytorch 버전 바꾸기
  3. pytorch-lightning 버전 바꾸기
pip3 install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 torchlightning --extra-index-url https://download.pytorch.org/whl/cu113
profile
Studying

0개의 댓글