Skip to content

Instantly share code, notes, and snippets.

@gau-nernst
Created September 6, 2025 04:56
Show Gist options
  • Save gau-nernst/1a00df9d5f5bf6f49e6b4cdcba08effb to your computer and use it in GitHub Desktop.
Save gau-nernst/1a00df9d5f5bf6f49e6b4cdcba08effb to your computer and use it in GitHub Desktop.

Revisions

  1. gau-nernst created this gist Sep 6, 2025.
    6 changes: 6 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    uv venv --python=3.12 --managed-python
    source .venv/bin/activate

    uv pip install --group dev
    uv pip install ninja # or sudo apt install ninja-build
    USE_DISTRIBUTED=0 USE_MKLDNN=0 BUILD_TEST=0 USE_FBGEMM=0 USE_NNPACK=0 USE_QNNPACK=0 USE_XNNPACK=0 USE_FLASH_ATTENTION=0 USE_MEM_EFF_ATTENTION=0 uv pip install --no-build-isolation -v -e .