HUB
Sign inSign up

ls250824/run-diffusion-pipe

By ls250824

•Updated 11 days ago

Training image and video models on runpod.io with diffusion pipe

Image
Machine learning & AI
Developer tools
0

2.0K

ls250824/run-diffusion-pipe repository overview

⁠run-diffusion-pipe

⁠Synopsis

  • Models are automatically downloaded based on the specified paths in the environment configuration.
  • /workspace is persistent on RunPod. On first start the container moves diffusion-pipe, README.md, and docs/ into /workspace.
  • Code Server starts on port 9000 and TensorBoard starts on port 6006 when CUDA is available.
  • Authentication credentials can be set via secrets for:
    • Code server authentication (not possible to switch off)
    • Hugging Face token for model access.
    • SSH/SCP access when PUBLIC_KEY is set.

Ensure that the required environment variables and secrets are correctly set before running the pod. See below for options.

⁠Hardware Requirements

  • Volume: Models + dataset (3000 images/frames) + output (10 epochs)
ModelGPUContainer DiskVolume Disk
WAN 2.2RTX A5000 (24 Gb)15 Gb80 Gb
LTX 2.3L40S (48 Gb)15 Gb100 Gb
ZIBRTX 4090 (24 Gb)15 Gb40 Gb
FLUX-Klein-9BRTX 4090 (24 Gb)15 Gb60 Gb
Krea-2RTX 4090 (24 Gb)15 Gb60 Gb

⁠Image

ComponentVersion
OSUbuntu 24.04 x86_64
Python3.12.x
PyTorch2.12.1+cu130
Torchvision0.27.1+cu130
Torchaudio2.11.0+cu130
CUDA13.0
cuDNN9
Triton3.7.1
CodeServerlatest

⁠Wheels

PackageVersion
flash_attn2.8.4
sageattention2.2.0

⁠Optimised

ArchitectureCompute CapabilityNative Build TargetExamples
Ampere8.6sm_86RTX A6000, A40
Ada Lovelace8.9sm_89RTX 4090, RTX 6000 Ada, L40S
Blackwell12.0sm_120RTX 5090, RTX PRO 6000, PRO 6000 MiG

⁠Environment Variables

⁠Authentication Tokens
TokenEnvironment Variable
HuggingfaceHF_TOKEN
Code ServerPASSWORD
SSH/SCPPUBLIC_KEY

⁠Huggingface model configuration

TypeModelFile or directory inside repo/workspace/models/<Directory>Include patternsExclude patterns
PartialHF_MODEL[1-20]HF_MODEL_NAME[1-20]HF_MODEL_LOCAL_DIR[1-20]
FullHF_FULL_MODEL[1-20]HF_FULL_MODEL_LOCAL_DIR[1-20]HF_FULL_MODEL_INCLUDE[1-20]HF_FULL_MODEL_EXCLUDE[1-20]
⁠Workspace move
Environment VariableDefaultDescription
MOVE_STATUS_INTERVAL5Seconds between /diffusion-pipe to /workspace/diffusion-pipe progress checks.
MOVE_STALL_TIMEOUT300Seconds without size changes before the move is treated as stalled.

⁠Connection options

⁠Services
ServicePort
Tensorboard6006 (HTTP)
Code Server9000 (HTTP)
SSH/SCP22 (TCP)

⁠Websites

⁠Supported models

Tag summary
Recent tags
Content type
Image
Digest
sha256:f7a5e1117…
Size
10.4 GB
Last updated
11 days ago
docker pull ls250824/run-diffusion-pipe:22112026