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
This commit is contained in:
Deadcode committed 2026-10-18 11:38:37 +02:00
1 parent 91127395ee
commit 7a7707a955
179 files changed
+37542 -1892

No files matched your search

+27 -3
View File
@@ -315,10 +315,11 @@ extern "C" int r4d_shape_cast(const RadParam* p, int n_p, int operand,
const int64_t M = pi(p, n_p, "M");
const int64_t n = pi(p, n_p, "n");
/* Two rows serve the op, bf16 -> bf16 (a strided row copy) and bf16 -> f32, and the shims
* refuse any other pair, so another pair is declined here. */
/* Three rows serve the op, bf16 -> bf16 (a strided row copy), bf16 -> f32 and bf16 -> f16,
* and the shims refuse any other pair, so another pair is declined here. */
const uint32_t f = dt_par(p, n_p, "from"), t = dt_par(p, n_p, "to");
if (f != (uint32_t)RAD_BF16 || (t != (uint32_t)RAD_BF16 && t != (uint32_t)RAD_F32))
if (f != (uint32_t)RAD_BF16 ||
(t != (uint32_t)RAD_BF16 && t != (uint32_t)RAD_F32 && t != (uint32_t)RAD_F16))
return RAD_E_UNSUPPORTED;
const RadOpdDesc l[] = { opd(f, M, n), opd(t, M, n) };
R4D_PICK(l);
@@ -1061,6 +1062,29 @@ extern "C" int r4d_shape_gemm_nt_q(const RadParam* p, int n_p, int operand,
R4D_PICK(l);
}
/* gemm_nt_q_bias at fp8a8: gemm_nt_q's fp8 operands, a bf16 bias per output column, then y. The
* libref description matches it (ref_gemm_nt_q_bias_shape). */
extern "C" int r4d_shape_gemm_nt_q_bias(const RadParam* p, int n_p, int operand,
RadOpdDesc* out) {
const int64_t M = pi(p, n_p, "M");
const int64_t N = pi(p, n_p, "N");
const int64_t K = pi(p, n_p, "K");
const int64_t g = pi(p, n_p, "group", R4D_FP8_BLOCK);
const char* q = r4d_pgets(p, n_p, "dtype");
if (!q || std::strcmp(q, "fp8a8") || g != R4D_FP8_BLOCK || K <= 0 || N <= 0)
return RAD_E_UNSUPPORTED;
const int64_t kb = (K + g - 1) / g, nb = (N + g - 1) / g;
const RadOpdDesc l[] = {
opd((uint32_t)RAD_F8E4M3, M, K),
opd((uint32_t)RAD_F32, M, kb),
opd((uint32_t)RAD_F8E4M3, N, K),
opd((uint32_t)RAD_BF16, nb, kb),
opd((uint32_t)RAD_BF16, N),
opd((uint32_t)RAD_BF16, M, N),
};
R4D_PICK(l);
}
/* The same GEMM with the SwiGLU and the quantiser in its epilogue. `N` is the weight's rows, gate
* then up, so the quantiser's outputs are N/2 wide (hence a schema of its own). */
extern "C" int r4d_shape_gemm_nt_q_gated(const RadParam* p, int n_p, int operand,