-
Notifications
You must be signed in to change notification settings - Fork 1
Develop
Important
Windows 10+
Linux
Install libportaudio2, ffmpeg and toga
MacOS 13+ (Ventura-Sequoia)
Install xcode-select (optionally brew) from Terminal app:
xcode-select --install
brew install ffmpeg
Tip
CUDA Toolkit for gguf support
linux [export CMAKE_ARGS="-DGGML_CUDA=on"] -windows [setx CMAKE_ARGS="-DGGML_CUDA=on"] for OUTETTS support
ROCm/HIP SDK Windows for gguf support
ROCm SDK Linux for gguf support
linux [export CMAKE_ARGS="-DGGML_HIPBLAS=on"] -windows [setx CMAKE_ARGS="-DGGML_HIPBLAS=on"] for OUTETTS support
Open Terminal and type:
xcode-select --install
type export CMAKE_ARGS="-DGGML_METAL=on" for OUTETTS support
If you have XCode or are interested in Apple's code editor, you can opt to use that instead. XCode ( via. Developer Site | Via App Store) (40gb)
Our Python tools use uv. Use a terminal to git clone a project:
-
The main Shadowbox repo
git clone https://github.com/darkshapes/sdbx cd sdbxWindows systems only:
uv python install 3.12 uv python pin 3.12then:
uv sync --group dev --extra cudaIf you have a different graphics card (or none), replace
cudawithxpu,mps,rocm, or just usecpu
Once installed, activate the python environment in
-
Linux/Macos:
source .venv/bin/activateWindows Powershell:
Set-ExecutionPolicy Bypass -Scope Process -Force; .venv\Scripts\Activate.ps1
You can also run a single session without installation (from sdbx, Zodiac, or nnll):
-
Run Shadowbox without installing
uvx --from git+https://github.com/darkshapes/sdbx sdbx
These repos may be cloned separately to work on individual components of Shadowbox
git clone https://github.com/darkshapes/nnll cd nnllgit clone https://github.com/darkshapes/zodiac cd zodiacgit clone https://github.com/darkshapes/mir cd mirthen:
uv sync --group dev
We use Bun for TypeScript/React projects.
Clone the repo
git clone https://github.com/darkshapes/singularityThen install and open your dev copy:
cd singularity bun install bun run dev
-
Follow the Python instructions
-
Configure advanced GPU settings (OPTIONAL. Linux, flash-attn, PyTorch compile, etc)
-
git clone https://github.com/darkshapes/sdbx pip install -e "sdbx[dev]" sdbx ```<hr>git clone https://github.com/darkshapes/nnll pip install -e "zodiac[dev]"git clone https://github.com/darkshapes/nnll pip install -e "zodiac[dev]"git clone https://github.com/darkshapes/zodiac.git pip install -e "zodiac[dev]"