tests, docs: lfm3 in the family tests, with its golden and declare cases

A tiny LFM3 (conv, full attention, conv, sliding attention; window 8, conv
width 7) joins the engine tests every family runs: the golden against the
reference implementation, chunking and batching, libavx against libref,
decode against prefill, concurrent requests and speculation by prompt lookup.
Its golden is made by mklfm3golden.py from the modelling code LiquidAI ships
with the checkpoint, since transformers has no LFM3 class.

arch_test covers what the plugin declares for each layer kind, what it
refuses, and a step through both attention groups.
This commit is contained in:
DokterSmol authored and StillDeadcode committed 2026-11-17 18:12:32 +01:00
1 parent 6c7bcefefa
commit 6997f8da14
9 files changed
+448 -11

No files matched your search

+1 -1
View File
@@ -366,7 +366,7 @@ endif()
# the host backend; convert_test runs rad-convert on the same checkpoints. Both start the built
# binaries as children, so they depend on them and on every plugin the checkpoints select
# (llama_fp8 for convert_test's --set of an fp8 quantization_config).
set(RAD_E2E_DEPS radiance rad-convert libref libquant nemotron35_embed qwen35_bf16 lfm2_bf16 gemma4 gemma4_bf16
set(RAD_E2E_DEPS radiance rad-convert libref libquant nemotron35_embed qwen35_bf16 lfm2_bf16 lfm3_bf16 gemma4 gemma4_bf16
llama_dense_fp8 llama_fp8 qwenimage21)
if(TARGET libavx)
list(APPEND RAD_E2E_DEPS libavx)