Skip to content

Instantly share code, notes, and snippets.

@speedcell4
Last active November 19, 2025 13:08
Show Gist options
  • Select an option

  • Save speedcell4/823d79d9fcf95bb14bff3d5b75794fbe to your computer and use it in GitHub Desktop.

Select an option

Save speedcell4/823d79d9fcf95bb14bff3d5b75794fbe to your computer and use it in GitHub Desktop.
New Python Env
python3 -m pip install pip setuptools pytest hypothesis --no-cache-dir
python3 -m pip install torch torchvision torchaudio triton transformers datasets tokenizers liger-kernel --no-cache-dir
python3 -m pip install packaging ninja aku chew torchdevice torchgather torchnyen --no-cache-dir
MAX_JOBS=$(nproc) python3 -m pip install flash-attn --no-build-isolation --no-cache-dir -v
python3 -m pip install git+https://github.com/speedcell4/torchlatent.git@develop
python3 -m pip install git+https://github.com/speedcell4/torchglyph.git@develop
python3 -m pip install git+https://github.com/speedcell4/torchrua.git@develop
python3 -m pip install git+https://github.com/speedcell4/torchshya.git --no-deps
@speedcell4
Copy link
Author

speedcell4 commented Nov 18, 2025

conda create -c conda-forge gcc clang cmake git git-lfs sentencepiece python=3.10 nvidia/label/cuda-12.8.1::cuda-toolkit --name

@speedcell4
Copy link
Author

speedcell4 commented Nov 19, 2025

curl -sSL https://gist.githubusercontent.com/speedcell4/823d79d9fcf95bb14bff3d5b75794fbe/raw/env.sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment