Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA/PYTORCH/g++/glm issues #48

Open
thebrahman opened this issue Feb 26, 2024 · 0 comments
Open

CUDA/PYTORCH/g++/glm issues #48

thebrahman opened this issue Feb 26, 2024 · 0 comments

Comments

@thebrahman
Copy link

thebrahman commented Feb 26, 2024

I am using ubuntu 22.04, I had many errors and spent a whole day getting this to work. I will outline the steps I needed to take to get it working. hopefully this helps if you get any of the errors mentioned in the title.

steps:

  • conda create -n lucid python=3.9
  • conda activate lucid

  • conda install cuda -c nvidia/label/cuda-11.3.0

  • pip install peft diffusers scipy numpy imageio[ffmpeg] opencv-python Pillow open3d torch==2.0.1 torchvision==0.15.2 gradio omegaconf
  • pip install timm==0.6.7
  • pip install plyfile==0.8.1

  • conda install gcc_linux-64=10 gxx_linux-64=10
  • export CC=$CONDA_PREFIX/bin/gcc
  • export CXX=$CONDA_PREFIX/bin/g++
  • $CONDA_PREFIX/bin/g++ --version (checks it's installed)
  • echo $CC (checks it's installed within conda)
  • echo $CXX

  • conda install -c conda-forge glm
  • ls $CONDA_PREFIX/include | grep glm

  • cd submodules/depth-diff-gaussian-rasterization-min
  • python setup.py install

  • cd ../simple-knn
  • python setup.py install
@thebrahman thebrahman changed the title CUDA/PYTORCH issue CUDA/PYTORCH/g++/glm issues Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant