Training image and video models on runpod.io with diffusion pipe
2.0K
/workspace is persistent on RunPod. On first start the container moves diffusion-pipe, README.md, and docs/ into /workspace.9000 and TensorBoard starts on port 6006 when CUDA is available.PUBLIC_KEY is set.Ensure that the required environment variables and secrets are correctly set before running the pod. See below for options.
| Model | GPU | Container Disk | Volume Disk |
|---|---|---|---|
| WAN 2.2 | RTX A5000 (24 Gb) | 15 Gb | 80 Gb |
| LTX 2.3 | L40S (48 Gb) | 15 Gb | 100 Gb |
| ZIB | RTX 4090 (24 Gb) | 15 Gb | 40 Gb |
| FLUX-Klein-9B | RTX 4090 (24 Gb) | 15 Gb | 60 Gb |
| Krea-2 | RTX 4090 (24 Gb) | 15 Gb | 60 Gb |
| Component | Version |
|---|---|
| OS | Ubuntu 24.04 x86_64 |
| Python | 3.12.x |
| PyTorch | 2.12.1+cu130 |
| Torchvision | 0.27.1+cu130 |
| Torchaudio | 2.11.0+cu130 |
| CUDA | 13.0 |
| cuDNN | 9 |
| Triton | 3.7.1 |
| CodeServer | latest |
| Package | Version |
|---|---|
| flash_attn | 2.8.4 |
| sageattention | 2.2.0 |
| Architecture | Compute Capability | Native Build Target | Examples |
|---|---|---|---|
| Ampere | 8.6 | sm_86 | RTX A6000, A40 |
| Ada Lovelace | 8.9 | sm_89 | RTX 4090, RTX 6000 Ada, L40S |
| Blackwell | 12.0 | sm_120 | RTX 5090, RTX PRO 6000, PRO 6000 MiG |
| Token | Environment Variable |
|---|---|
| Huggingface | HF_TOKEN |
| Code Server | PASSWORD |
| SSH/SCP | PUBLIC_KEY |
| Type | Model | File or directory inside repo | /workspace/models/<Directory> | Include patterns | Exclude patterns |
|---|---|---|---|---|---|
| Partial | HF_MODEL[1-20] | HF_MODEL_NAME[1-20] | HF_MODEL_LOCAL_DIR[1-20] | ||
| Full | HF_FULL_MODEL[1-20] | HF_FULL_MODEL_LOCAL_DIR[1-20] | HF_FULL_MODEL_INCLUDE[1-20] | HF_FULL_MODEL_EXCLUDE[1-20] |
| Environment Variable | Default | Description |
|---|---|---|
MOVE_STATUS_INTERVAL | 5 | Seconds between /diffusion-pipe to /workspace/diffusion-pipe progress checks. |
MOVE_STALL_TIMEOUT | 300 | Seconds without size changes before the move is treated as stalled. |
| Service | Port |
|---|---|
| Tensorboard | 6006 (HTTP) |
| Code Server | 9000 (HTTP) |
| SSH/SCP | 22 (TCP) |
docker pull ls250824/run-diffusion-pipe:22112026