Skip to content

Instantly share code, notes, and snippets.

@trojblue
Created December 10, 2023 23:04
Show Gist options
  • Save trojblue/4937b7934dd368a16bbdbcbea5bc47a7 to your computer and use it in GitHub Desktop.
Save trojblue/4937b7934dd368a16bbdbcbea5bc47a7 to your computer and use it in GitHub Desktop.

nd setup, works on lambda h100 pcie:

conda:

cd ~/ && mkdir -p miniconda3 && wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-Linux-x86_64.sh -O ./miniconda3/miniconda.sh --no-check-certificate && bash ./miniconda3/miniconda.sh -b -u -p ./miniconda3 && rm ./miniconda3/miniconda.sh && ./miniconda3/bin/conda init bash && source ~/.bashrc  && python -m pip install unibox ipykernel jupyter poetry && python -m ipykernel install --user --name=conda310 

nd:

cd ~/
git clone https://github.com/trojblue/naifu-diffusion ndtr && cd ndtr
git checkout sgm

env:

/home/ubuntu/miniconda3/envs/nd_lambda/bin/python -m pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment