Archived
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:
1 parent
685ec5bd85
commit
4246a1dd04
124 files changed
+14326
-387
No files matched your search
@@ -352,6 +352,32 @@ typedef struct RadGenBatch {
|
||||
const int32_t* mode_ccu;
|
||||
const int64_t* n_mode_h;
|
||||
const float* mode_rope_f;
|
||||
|
||||
/* ---- appended in ABI 25 (Anima, SDXL) */
|
||||
/* COND, for a generator that reads its prompt through a second tokenizer
|
||||
* (RadGeneratorDecl::aux_tokens): the user's prompt as that tokenizer encodes it, `n_aux` ids
|
||||
* on the device, and `aux_cu` {0, n_aux} on the device. 0 and null otherwise. */
|
||||
int64_t n_aux;
|
||||
const int32_t* aux_ids;
|
||||
const int32_t* aux_cu;
|
||||
/* ---- a discrete-time denoiser (RadGeneratorDecl::train_steps), DENOISE, one value per
|
||||
* entry: the schedule's sigma before `sigma` (0 on an image's first step), `sigma` on the
|
||||
* model's trained clock (the nearest of its timesteps, as ComfyUI conditions it), the
|
||||
* request's sampler (RAD_GEN_SAMPLER_*) and the image's step, from 0. */
|
||||
const float* sigma_prev;
|
||||
const float* timestep;
|
||||
const int32_t* sampler;
|
||||
const int32_t* step;
|
||||
/* DENOISE: [n_seq, 2] each entry's image height and width in pixels, f32 (a model
|
||||
* conditioned on its size); `entry_h` [n_seq, 4] the same entries on the host: the
|
||||
* conditioning's rows (JOINT_STEP), the height and width in pixels, and the branch (0 the
|
||||
* prompt, 1 the negative prompt), for a plugin whose ops take an image's geometry from their
|
||||
* operands and so issue each entry on its own. */
|
||||
const float* size_px;
|
||||
const int32_t* entry_h;
|
||||
/* COND: the pass's token ids on the host ([n_tok]), for a plugin whose issue depends on
|
||||
* where a window's end-of-text marker sits. */
|
||||
const int32_t* tokens_h;
|
||||
} RadGenBatch;
|
||||
|
||||
/* An entry's flags on a DENOISE pass. */
|
||||
|
||||
Reference in new issue
Block a user