-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Using NVCC version 11.8.0.
This is what worked for me:
git clone https://github.com/luciddreamer-cvlab/LucidDreamer.git
cd LucidDreamer
cd submodules/depth-diff-gaussian-rasterization-min/third_party
git clone https://github.com/g-truc/glm.git glm
cd ../../..
conda create -n lucid python=3.9 -y
conda activate lucid
which nvcc
nvcc --version
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
pip install peft diffusers scipy numpy imageio[ffmpeg] opencv-python Pillow open3d gradio omegaconf
pip install timm==0.6.7
pip install plyfile==0.8.1
cd submodules/depth-diff-gaussian-rasterization-min/
python setup.py install
cd ../simple-knn
python setup.py install
cd ../..
pip install --upgrade \
torch==2.1.0+cu118 \
torchvision==0.16.0+cu118 \
torchaudio==2.1.0 \
--index-url https://download.pytorch.org/whl/cu118
According to ChatGPT this should work:
git clone https://github.com/luciddreamer-cvlab/LucidDreamer.git
cd LucidDreamer
# vendor GLM for the CUDA extension:
cd submodules/depth-diff-gaussian-rasterization-min/third_party
git clone https://github.com/g-truc/glm.git glm
cd ../../../
conda create -n lucid python=3.9 -y
conda activate lucid
# (optional) verify that nvcc is coming from your CUDA 11.8 install
which nvcc
nvcc --version
# 1) core numeric libs
pip install --upgrade "numpy<2.0.0"
# 2) torch 2.1.0+cu118
pip install --upgrade \
torch==2.1.0+cu118 \
torchvision==0.16.0+cu118 \
torchaudio==2.1.0 \
--index-url https://download.pytorch.org/whl/cu118
# 3) everything else
pip install peft diffusers scipy imageio[ffmpeg] opencv-python Pillow open3d gradio omegaconf
pip install timm==0.6.7 plyfile==0.8.1
# 4) build the two C++ extensions
cd submodules/depth-diff-gaussian-rasterization-min
python setup.py install
cd ../simple-knn
python setup.py install
Metadata
Metadata
Assignees
Labels
No labels