7.4 KiB
Setup
Getting from "downloaded the release" to "generated my first image" in three steps. Everything here works on a machine with no Python, no build tools, and no sudo.
Already have the repo checked out? The Development & Contribution page covers installing from source instead.
Requirements
- Linux x86_64
- An AMD GPU with ROCm support. Targets:
- Strix Halo (gfx1151) - the primary, fully optimized target
- gfx1150 / gfx1152 - tested
- RAM: 32 GB minimum for the small models (Anima ~5 GB, Z-Image ~21 GB); 64 GB+ recommended; the 128 GB Strix Halo configuration runs everything.
- Disk: see the download sizes on each model's page - plan for model files plus a few GB of headroom.
You only need one model to get going. Anima (~5.4 GB) is the fastest way to a first image; Krea 2 (~35 GB) is the quality pick.
1. Get TheNoise
Download the portable release asset for your GPU from the
releases page. Each bundle
is a self-contained directory with a standalone CPython, the ROCm build of
PyTorch, all dependencies, TheNoise itself, and a bundled clang. On Linux that
is everything torch.compile needs; Windows has one exception, noted under
Generate your first image.
# single archive
tar -xzf thenoise-<version>-rocm<rocm>-<gfx>-x64.tar.gz
cd thenoise-<version>-rocm<rocm>-<gfx>-x64
# split archive (GitHub's 2 GB asset limit) — concatenate the parts first
cat thenoise-*.part*.tar.gz | tar -xz
No installation step: the extracted directory is TheNoise.
Prefer to let a container manager own the process? The same bundle ships as a ROCm image: Docker / Compose.
On Windows, extract into a short folder such as
%LOCALAPPDATA%\Programs\thenoise. With Windows
long paths disabled (the default), the GPU libraries cannot open their kernel
files from a folder path longer than 87 characters, so the launcher refuses to
start there. CPU-only use works at any depth with THENOISE_ALLOW_DEEP_PATH=1.
2. Download a model
The bundle ships the model download helper (scripts/download.py) with
huggingface_hub included. Run it with the bundled Python:
./bin/python3 scripts/download.py --model anima
All models and options (variants, --int8-convrot, ...):
| Model | Command | Size | Details |
|---|---|---|---|
| Anima | --model anima |
~5.4 GB | model page |
| Krea 2 | --model krea2 |
~35 GB | model page |
| Z-Image / Z-Image-Turbo | --model zimage |
~21 GB | model page |
| Ming-Image 0.1 | --model ming-image |
15–49 GB | model page |
| Flux.2 Klein 4B/9B | --model klein --variant 9b |
12–25 GB | model page |
| Qwen-Image / Edit | --model qwen-image |
~40 GB | model page |
| Qwen-Image 2.1 | --model qwen-image-2.1 |
~32 GB | model page |
| Mage-Flow / Turbo | --model mage-flow |
18–25 GB | model page |
| Flux.3 | not in the script — see below | ~5.8 GB (INT8) | model page |
| MOSS-Image | --model moss-image |
14–19 GB | model page |
| Fibo 2.0 edit-turbo / dev | --model fibo2 --int8-convrot |
14–26 GB | model page |
| H3-Image | --model h3-image --int8-convrot |
49–69 GB | model page |
| Real-ESRGAN x4 (optional, upscaling) | --model esrgan |
~0.7 GB | CLI: upscaling |
| Control-map checkpoints (optional, control-map extraction) | --model controlmap |
99 MB – 425 MB | CLI: control maps |
Flux.3 is the one model the script cannot fetch: the checkpoint sits behind a login on Hugging Face, with no mirror to fall back on. Its model page lists the three files to get by hand and the paths to pass — two of them (the Flux.2 VAE and Qwen3-VL 4B) are the ones Flux.2 Klein and Krea 2 already use.
Canny, line-art and soft-edge maps need no download — they are pure torch. Depth
and pose are the two kinds that pull checkpoints.
Models land in ./models/<model>/ next to the bundle.
3. Generate your first image
./bin/thenoise generate \
--dit ./models/anima/split_files/diffusion_models/anima-turbo-v1.0.safetensors \
--vae ./models/anima/split_files/vae/qwen_image_vae.safetensors \
--text-encoder ./models/anima/split_files/text_encoders/qwen_3_06b_base.safetensors \
--prompt "a fox walking in the snow" \
--out fox.png
The first generation is slow - the DiT is compiled with torch.compile on
load. Expect a minute or two of compilation (and some normal-looking warnings on
the console); every generation after that runs at full speed with the cached
compiled code. No configuration needed.
That's it. fox.png is in your current directory.
On Windows the bundle runs eagerly unless you ask for more. Triton compiles
its first kernel with a C compiler that reads Microsoft C++ and Windows SDK
headers, which a portable bundle cannot carry, so thenoise.bat turns
torch.compile off. If you have the Visual Studio 2022 "Desktop development
with C++" workload installed, ask for the compiled - faster - path explicitly:
set TORCHDYNAMO_DISABLE=0
thenoise.bat generate ...
Serve it instead
To get the web UI (and the HTTP API other software can call) instead of one-shot CLI runs:
./bin/thenoise serve \
--dit ./models/anima/split_files/diffusion_models/anima-turbo-v1.0.safetensors \
--vae ./models/anima/split_files/vae/qwen_image_vae.safetensors \
--text-encoder ./models/anima/split_files/text_encoders/qwen_3_06b_base.safetensors \
--host 127.0.0.1 --port 8000
Then open http://localhost:8000/ - the Generate tab shows the layout for whatever the loaded model makes, image or video, and Edit appears for editing-capable models. Upscale and Control Maps need no diffusion model.
What next
- CLI reference - every
generate/edit/serve/upscaleflag - Docker / Compose - run it as a managed service instead of a shell session
- HTTP API reference - endpoints, request/response formats, curl examples
- Model pages - per-model download options, examples, settings
- Upscaling - latent refine + Real-ESRGAN pixel upscaling, up to 8×
- Development & Contribution - building from source, tests, releases
Troubleshooting
| Symptom | Fix |
|---|---|
torch.compile warnings on first run |
Normal. They only happen while the DiT is being compiled. |
| First generation takes minutes | Normal — see first-run note. Subsequent runs are fast. |
| Windows runs slower than Linux | Expected by default: the bundle runs eagerly. See the Windows note in Generate your first image. |
error while loading shared libraries |
Don't run the system Python against the bundle; always use ./bin/thenoise (or ./bin/python3). |
libatomic.so.1: cannot open shared object file at startup |
Missing libatomic runtime library (seen on Fedora 44): install it with your package manager, e.g. sudo dnf install libatomic. Details in #29. |
| GPU not detected | You're on the wrong bundle for your GPU — check gfx in the asset name against your hardware (gfx1151 for Strix Halo). |