This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/core/lora/declare.h
T
Deadcode 7a7707a955 radiance 1.8.0
- video: MiniMax-H3 and FastVideo's FastH3 8-Step V2, a video with its stereo soundtrack from text
  on OpenAI's /v1/videos, block fp8 on two cards
- music: MiniMax-Music3, songs from lyrics and a description on /v1/audio/speech
- speech: Breeze-TTS-2 on /v1/audio/speech and vLLM-Omni's realtime WebSocket
- runtime LoRA adapters beside the base model, picked per request by `model` (baKon, #105)
- several agent streams keep their cached history: --checkpoint-slots auto, the new default, sizes
  the snapshot store by --max-num-seqs (#108)
- the Swift 1.5 27B W4 releases convert and serve: compressed-tensors AWQ and GPTQ int4, AutoRound,
  ModelOpt NVFP4 (#110)
- the image's host tests pass where perf_event_open is refused, as in BuildKit's sandbox (#106)
- plugin ABI 21: out-of-tree plugins must be rebuilt
2026-10-18 11:38:37 +02:00

29 lines
1016 B
C++

/* lora/declare.h -- the runtime-LoRA half of declare: after the architecture plugin has declared
* its program, build the sites (lora.h), declare the adapter pools and the two ops each targeted
* GEMM is followed by, and record what the issue path needs (Program::lora_sites).
*
* Runs inside rad_tools_declare, after rad_arch_declare and before the sampler, identically on the
* real declare and on every sizing declare, which must produce the same op list (rad_builder.cpp
* checks it op by op). */
#pragma once
#include "lora/config.h"
#include "lora/lora.h"
#include <vector>
namespace rad {
class Builder;
struct LoraDeclare {
const LoraConfig* cfg = nullptr;
lora::TargetSet targets;
/* The real declare's sites, for the adapter loader; null on a sizing declare. */
std::vector<lora::Site>* sites_out = nullptr;
};
/* RAD_OK, or a negative code after RAD_ERR lines naming every refusal. */
int lora_declare(Builder& b, const LoraDeclare& d);
} /* namespace rad */