Skip to content

Install instructions which worked for me #73

@philippwulff

Description

@philippwulff

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions