radiance 1.10.0

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.
This commit is contained in:
Deadcode committed 2026-10-20 21:05:16 +02:00
1 parent 685ec5bd85
commit 4246a1dd04
124 files changed
+14326 -387

No files matched your search

+28 -3
View File
@@ -1,4 +1,4 @@
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 24 and
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 25 and
* RAD_FORMAT_VER 2, as { type, field, offset, size } rows ("" is the struct itself). A snapshot
* of the headers on x86-64 Linux, which abi_layout_test.cpp holds the layout to; regenerate it
* from the test's printout only together with a version bump. */
@@ -315,7 +315,7 @@
{ "RadFuseStep", "n_p", 584, 4 },
{ "RadFuseStep", "from", 588, 32 },
{ "RadFuseStep", "n_from", 620, 4 },
{ "RadGenBatch", "", 0, 320 },
{ "RadGenBatch", "", 0, 400 },
{ "RadGenBatch", "rows", 0, 8 },
{ "RadGenBatch", "src", 8, 8 },
{ "RadGenBatch", "rope", 16, 8 },
@@ -359,7 +359,17 @@
{ "RadGenBatch", "mode_ccu", 296, 8 },
{ "RadGenBatch", "n_mode_h", 304, 8 },
{ "RadGenBatch", "mode_rope_f", 312, 8 },
{ "RadGeneratorDecl", "", 0, 296 },
{ "RadGenBatch", "n_aux", 320, 8 },
{ "RadGenBatch", "aux_ids", 328, 8 },
{ "RadGenBatch", "aux_cu", 336, 8 },
{ "RadGenBatch", "sigma_prev", 344, 8 },
{ "RadGenBatch", "timestep", 352, 8 },
{ "RadGenBatch", "sampler", 360, 8 },
{ "RadGenBatch", "step", 368, 8 },
{ "RadGenBatch", "size_px", 376, 8 },
{ "RadGenBatch", "entry_h", 384, 8 },
{ "RadGenBatch", "tokens_h", 392, 8 },
{ "RadGeneratorDecl", "", 0, 376 },
{ "RadGeneratorDecl", "name", 0, 8 },
{ "RadGeneratorDecl", "layout", 8, 4 },
{ "RadGeneratorDecl", "tmpl_text", 16, 8 },
@@ -400,6 +410,21 @@
{ "RadGeneratorDecl", "cfg_original", 276, 4 },
{ "RadGeneratorDecl", "default_negative", 280, 8 },
{ "RadGeneratorDecl", "ref_shrink_only", 288, 4 },
{ "RadGeneratorDecl", "aux_max_tokens", 296, 8 },
{ "RadGeneratorDecl", "sigma_grid", 304, 4 },
{ "RadGeneratorDecl", "min_tokens", 308, 4 },
{ "RadGeneratorDecl", "aux_tokens", 312, 4 },
{ "RadGeneratorDecl", "beta_start", 320, 8 },
{ "RadGeneratorDecl", "beta_end", 328, 8 },
{ "RadGeneratorDecl", "train_steps", 336, 4 },
{ "RadGeneratorDecl", "beta_schedule", 340, 4 },
{ "RadGeneratorDecl", "zero_snr", 344, 4 },
{ "RadGeneratorDecl", "samplers", 348, 4 },
{ "RadGeneratorDecl", "default_sampler", 352, 4 },
{ "RadGeneratorDecl", "default_scheduler", 356, 4 },
{ "RadGeneratorDecl", "chunk_tokens", 360, 4 },
{ "RadGeneratorDecl", "chunk_bos", 364, 4 },
{ "RadGeneratorDecl", "chunk_eos", 368, 4 },
{ "RadKVGroupBatch", "", 0, 72 },
{ "RadKVGroupBatch", "group", 0, 4 },
{ "RadKVGroupBatch", "slot_mapping", 8, 8 },