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
@@ -141,6 +141,8 @@ public:
|
||||
|
||||
/* ------------------------------------------------------------ vocab and profile */
|
||||
VocabSection vocab() const { return vocab_; }
|
||||
/* The second vocab section, or an empty one (RAD_HDR_AUX_VOCAB_OFF in rad_format.h). */
|
||||
VocabSection aux_vocab() const { return aux_vocab_; }
|
||||
int64_t profile_count() const { return (int64_t)hdr_->prof_count; }
|
||||
const RadFileProfile* profile() const { return prof_; }
|
||||
|
||||
@@ -161,7 +163,7 @@ private:
|
||||
const RadFileProfile* prof_ = nullptr;
|
||||
uint64_t str_bytes_ = 1;
|
||||
|
||||
VocabSection vocab_;
|
||||
VocabSection vocab_, aux_vocab_;
|
||||
std::vector<ExpertGroup> groups_;
|
||||
std::unordered_map<std::string_view, int64_t> by_name_;
|
||||
};
|
||||
@@ -244,6 +246,8 @@ public:
|
||||
/* The serialised vocab section. Its internal offsets must be section-relative (serialise with
|
||||
* section_file_off 0); finish() rebases them, as it does the directory. */
|
||||
int set_vocab_section(const void* blob, int64_t bytes);
|
||||
/* The second vocab section (RAD_HDR_AUX_VOCAB_OFF), serialised the same way. */
|
||||
int set_aux_vocab_section(const void* blob, int64_t bytes);
|
||||
|
||||
void add_profile(int32_t layer, int32_t expert, float share);
|
||||
|
||||
@@ -301,6 +305,8 @@ private:
|
||||
/* The vocab section, assembled in memory and appended verbatim. */
|
||||
std::vector<uint8_t> vocab_blob_;
|
||||
bool have_vocab_ = false;
|
||||
std::vector<uint8_t> aux_vocab_blob_;
|
||||
bool have_aux_vocab_ = false;
|
||||
|
||||
int64_t blob_bytes_ = 0; /* the blob's reserved length */
|
||||
|
||||
|
||||
Reference in new issue
Block a user