Archived
LoRA for image and video generators: - civitai and Hugging Face adapter files as published: kohya, ComfyUI and diffusers/PEFT key names; LoRA, LoCon, LoHa, LoKr and full-weight diffs; DoRA, OFT and Tucker are refused by name - stacked per request with a strength each, through the `loras` field or <lora:name:strength> tags in the prompt; --lora-dir serves every file in a directory, GET /v1/loras lists them, and --max-loras / --max-lora-rank size the slots on the card (generators default to rank 64) - Krea 2, Qwen-Image 2.1, FLUX.3 [klein], MiniMax H3, LTX-2.5, Anima and SDXL New models: - Anima (base, aesthetic and turbo): Cosmos-Predict2 DiT with the Qwen3-0.6B text encoder and the Qwen-Image VAE, on one card - Stable Diffusion XL and its single-file finetunes (Illustrious, NoobAI including V-Pred, Pony), read as civitai ships them, with the Euler, Euler a and DPM++ 2M samplers Recipes: - q38-27b-mxfp4-df2: any bf16 Qwen3.8-27B or finetune at MXFP4 with the DFlash2 drafter - Krea 2 finetunes from civitai: scripts/krea2_native.py reads Krea's own key names, and krea-2-fp8-unscaled keeps a plain-fp8 file's codes exactly Changes: --max-num-batched-tokens defaults to 2048 (was 8192). Plugin ABI 25: out-of-tree plugins must be rebuilt.
20 lines
1.2 KiB
YAML
20 lines
1.2 KiB
YAML
# Qwen-Image 2.1 (Qwen/Qwen-Image-2.1) as block fp8: pictures from a prompt and edits of up to ten
|
|
# pictures on OpenAI's /v1/images/generations and /v1/images/edits, 2048x2048 by default. Two
|
|
# cards: the conditioning cache holds all ten reference pictures (one card holds four). 2.1-Turbo
|
|
# is qwen-image-2.1-turbo.yaml; the bf16 container needs both cards. The engine sizes the step,
|
|
# batch and context for an image generator itself (docs/GUIDE.md §5.6). --tp-wire wht6 sends the
|
|
# DiT's all-reduces as 6-bit: about 10% faster per picture at a cost of a few tenths of a dB
|
|
# against diffusers; drop it for the exact wire.
|
|
# LoRA files (Civitai and the like, docs/GUIDE.md §4.9.2): put them under
|
|
# $RADIANCE_MODELS/loras/qwen-image and add `--lora-dir /models/loras/qwen-image` to the command;
|
|
# a request names them in `loras` or as <lora:name:0.8> in its prompt.
|
|
name: radiance-qwen-image
|
|
services:
|
|
radiance:
|
|
extends: { file: common.yaml, service: radiance }
|
|
container_name: radiance-qwen-image
|
|
command: >
|
|
--model /models/qwen-image-2.1-fp8.rad
|
|
--host :: --port ${PORT:-8000} --api-key ${RADIANCE_API_KEY:?set RADIANCE_API_KEY in .env}
|
|
--tp 2 --tp-wire wht6
|