diff --git a/BENCHMARKS.md b/BENCHMARKS.md index d8ac5119..5fa231fb 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -15,7 +15,7 @@ stock DGX OS), with the page that measured it and gives its date, version and me | Nemotron 3.5 Super VL NVFP4 · NVIDIA (120B), with its drafter, vLLM nightly 77154ca6 + b12x 1.5.1 | **69.5 tok/s** rewriting code, one request, reasoning off; 81.7 tok/s in all at 4 streams | [docs/nemotron-super-lane.md](docs/nemotron-super-lane.md) | | Ornith 1.5 122B NVFP4 · Ornith AI, with its MTP head, at a window of a million, vLLM b12x build 8244d1c | **42.4 tok/s** greedy median (`./bench.sh`); 41.2 / 68.1 / 90.0 tok/s in all at 1 / 4 / 8 streams on five real jobs; GSM8K 98.8 % (250), HumanEval 93.90 % (164), 97.6 % and 95.12 % at its native window | [docs/ornith-lane.md](docs/ornith-lane.md) | | Qwen3.8 Flash-Next UD-Q4_K_XL GGUF · Unsloth, n-gram lookup then DFlash2 draft (ggml-org, Q8_0), llama.cpp b12316, two requests at once with 262,144 tokens each, or one request with 1,048,576 (FLASH_UNSLOTH_CONTEXT=1m) | **64.1 tok/s** greedy median (`./bench.sh`, each probe's first run on a freshly started engine, 2026-11-13); **51.8 / 56.9 / 31.5 tok/s** in code / reasoning / prose and **123.7** in a rewrite of code, one request at the model card's sampling (its pinned image, 2026-11-12, each text's first pass, the weights copied into the GPU's memory from a USB SSD), against 53.8 / 58.8 / 31.3 / 52.0 with the DFlash2 draft alone and 27.9 / 27.7 / 27.3 / 27.4 with no draft on b12282's image (the median of three passes); 63.2 tok/s in all at two requests at once, a window each, against 54.2 for one (b12291 built on the box); three codes of three found in 255,529 tokens, and in 985,296 in the 1M mode (YaRN at four times, the KV cache in q8_0); a window shared by several requests stopped llama-server under load in four runs of nine (llama.cpp issue 31656), refused for now; GSM8K 98.4 % (250) and HumanEval 99.4 % (164) at the medium effort, temperature 0, and 20 tool calls right out of 20 (b12291 built on the box, the DFlash2 draft alone), GSM8K 98.8 % through the proxy on the lane as it ships (2026-11-12 and 13), MMLU not measured. in the 1M mode GSM8K 98.0 % (250 questions) and HumanEval 98.2 % (164 problems, pass@1) | [docs/flash-unsloth-lane.md](docs/flash-unsloth-lane.md) | -| LFM3 1.7B NVFP4 · Liquid AI, vLLM nightly 60bd6dd, measured with no memory share set (the lane sets 0.75), the GPU clock capped at 2,000 MHz, 2026-11-16 | **87.7 tok/s** per stream alone, **3,911.8 tok/s** in all at 128 requests (`vllm bench serve`, 1,024 tokens in, 512 out), 131,072 tokens of prompt in 10.24 s to the first token, GSM8K 0.896 (250), 99 to 100 % of an agent's next turn from the prefix cache. At its share of 0.75, the lane as it ships through the proxy (2026-11-19, the GPU clock capped at 2,000 MHz): ready in 133 s, 20 GiB available at its lowest, **90.7 tok/s** alone and **732.2 tok/s** in all at 8 requests (1,024 tokens in, 512 out), 99 to 100 % of an agent's next turn from the prefix cache | [docs/lfm3-lane.md](docs/lfm3-lane.md) | +| LFM3 1.7B NVFP4 · Liquid AI, vLLM nightly 60bd6dd, measured with no memory share set (the lane sets 0.75), the GPU clock capped at 2,000 MHz, 2026-11-16 | **87.7 tok/s** per stream alone, **3,911.8 tok/s** in all at 128 requests (`vllm bench serve`, 1,024 tokens in, 512 out), 131,072 tokens of prompt in 10.24 s to the first token, GSM8K 0.896 (250), 99 to 100 % of an agent's next turn from the prefix cache. At its share of 0.75, the lane as it ships through the proxy (2026-11-19, the GPU clock capped at 2,000 MHz): ready in 133 s, 20 GiB available at its lowest, **90.7 tok/s** alone and **732.2 tok/s** in all at 8 requests (1,024 tokens in, at most 512 out), 99 to 100 % of an agent's next turn from the prefix cache | [docs/lfm3-lane.md](docs/lfm3-lane.md) | | LFM2.5 24B-A2B FP8 · Liquid AI (24B, about 2B active), with its DSpark draft, SGLang 0.5.22, one trial with no parser, the GPU clock capped at 2,000 MHz, 2026-11-14 | GSM8K 0.912 (250), **362 tok/s** in all at the median with 8 requests while GSM8K ran, the draft accepting 5.28 tokens at the median. The lane as it ships, through the proxy (2026-11-19, the GPU clock capped at 2,000 MHz): **102.2 tok/s** alone (first token in 0.17 s), **389.2 tok/s** in all at 8 requests (73.4 per stream, first token in 1.10 s), ready in 292 s with 22 GiB available at its lowest, a tool call right, and 94 % of an agent's next turn from the prefix cache from its second turn | [docs/lfm25-lane.md](docs/lfm25-lane.md) | | Qwen-Image 2.1 · Qwen, SGLang Diffusion 0.5.21 | 1024x1024 at 40 steps in **34.3 s**, **7.5 s** with its Turbo | [docs/image-lane.md](docs/image-lane.md) | | MiniMax-H3 · MiniMax, video with sound, SGLang Diffusion 0.5.21 | 4 s at 480P in **622.8 to 632.5 s** at 50 steps, **126.2 to 127.9 s** with the Turbo adapter | [docs/video-lane.md](docs/video-lane.md) | diff --git a/CHANGELOG.md b/CHANGELOG.md index 670a7930..095f7e43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -94,12 +94,13 @@ ordering on `/v1/messages`, so Claude Code's per-turn reminders would miss the p measurement yet. The checkpoint is under the LFM Open License v1.0, same Threshold of 10 million US dollars of annual revenue. -**The LFM2.5 and LFM3 fetches pin refs/main at the revision they download.** Their engines read a checkpoint offline -by its name, through the cache's `refs/main`, which a download by commit never writes: SGLang's speculative hook -reads the LFM2.5 draft's config by its name, and vLLM reads the LFM3 tokenizer without its revision. So -`vlane_fetch` takes a third argument, `pin` or `fill`, passed to `ckpt-fetch.py` as `--refs-main`, and both lanes' -fetches and the Load of `switch-model.sh` pass `pin`, which points `refs/main` at the revision they download. Found -by the proof campaign: the LFM2.5 lane did not start on a cache downloaded by commit. +**The LFM2.5 and LFM3 fetches pin refs/main at the revision they download.** An engine that reads a checkpoint offline +by its name resolves it through the cache's `refs/main`, which a download by commit never writes, and SGLang's +speculative hook reads the LFM2.5 draft's config by its name. So `vlane_fetch` takes a third argument, `pin` or +`fill`, passed to `ckpt-fetch.py` as `--refs-main`, and both lanes' fetches and the Load of `switch-model.sh` pass +`pin`, which points `refs/main` at the revision they download. Found by the proof campaign: the LFM2.5 lane did not +start on a cache downloaded by commit. No read by name is known of the LFM3 lane (its vLLM reads the tokenizer at the +model's revision): its fetch pins all the same, so that its name and its revision find the same commit. **Proxy v6.59 to v6.61.** v6.59: a text client is told the box is transcribing speech while the transcribe lane serves (`qwen38-transcribe.service`), and the way back, instead of "It is stopped, restarting or still loading @@ -176,24 +177,26 @@ every on-demand lane in `test_cockpit_collectors.py` (each of the registry's lan `test_proxy_lfm25.py` and `test_proxy_lfm3.py`. **A known limit, said as it is: opencode on the LFM2.5 lane.** In the matrix below, one try of five succeeded: the -model reads an invented absolute path (`/home/hasan/hello.txt`) where the other lanes read a relative one, and -opencode refuses a read outside its working directory (`external_directory`). The seven other clients were OK on -the lane, and opencode is OK on every other lane. The lane ships with the limit said in its page -([docs/lfm25-lane.md](docs/lfm25-lane.md)). +model asks to read the test file at an invented absolute path in the home directory, outside opencode's working +directory where the file is, and opencode refuses a read outside its working directory (`external_directory`). The +seven other clients were OK on the lane, and opencode is OK on every other lane. The lane ships with the limit said in +its page ([docs/lfm25-lane.md](docs/lfm25-lane.md)). **Proved on the reference box.** Before the push, the release installed from its branch, in the proof campaign of 2026-11-19 (17:04 to 17:55, the GPU clock capped at 2,000 MHz during the measurements), and the three lanes loaded -from the cockpit as the page does. Transcribe was ready 22 s after the start with 24 GiB available at its lowest, -transcribed the repository's test WAV in 0.9 s and four in parallel in 1.4 s, and the box's key was in none of the -75 lines of its journal. LFM2.5 was ready in 292 s with 22 GiB available at its lowest, served one stream at 102.2 -tokens/s (first token in 0.17 s, 1,024 tokens in, 512 out) and 8 at once 389.2 tokens/s in all (73.4 per stream, -first token in 1.10 s), answered a tool call right, and served an agent's next turn 94 % from the prefix cache from -its second turn (prompts of about 35,000 tokens). Its key was in none of the 206 lines of its journal but the one -`server_args` line SGLang writes at every startup. LFM3 was ready in 133 s with 20 GiB available at its lowest, -served one stream at 90.7 tokens/s (first token in 0.02 s) and 8 at once 732.2 tokens/s in all (101.1 per stream, -first token in 0.04 s), answered a tool call right, and served its next turn 99 % from the prefix cache on the -second turn then 100 %. Its key was in none of the 231 lines of its journal. The matrix then loaded the seven lanes -and ran the eight clients on each text lane: every case OK but LFM2.5 x opencode, the limit above (1 of 5 tries). +from the cockpit as the page does. Ready below is the first answer, read every 10 s: the lane's `/health` for +Transcribe, a reply through the proxy for the two text lanes. Transcribe was ready 22 s after the start with 77 GiB +available at its lowest, transcribed the repository's test WAV in 0.9 s and four in parallel in 1.4 s (every word +right but "DGX", heard as "DJI"), and the box's key was in none of the 75 lines of its journal. LFM2.5 was ready in +292 s with 22 GiB available at its lowest, served one stream at 102.2 tokens/s (first token in 0.17 s, 1,024 tokens +in, 191 out of at most 512) and 8 at once 389.2 tokens/s in all (73.4 per stream, first token in 1.10 s), answered a +tool call right, and served an agent's next turn 94 % from the prefix cache from its second turn (prompts of about +35,000 tokens). Its key was in none of the 206 lines of its journal but the one `server_args` line SGLang writes at +every startup. LFM3 was ready in 133 s with 20 GiB available at its lowest, served one stream at 90.7 tokens/s (first +token in 0.02 s, 188 tokens out) and 8 at once 732.2 tokens/s in all (101.1 per stream, first token in 0.04 s), +answered a tool call right, and served its next turn 99 % from the prefix cache on the second turn then 100 %. Its key +was in none of the 231 lines of its journal. The matrix then loaded the seven lanes, ran the eight clients on each +text lane and made an image on each image lane: every case OK but LFM2.5 x opencode, the limit above (1 of 5 tries). The box was back on its stock lane at the end. ## v1.52.0 (2026-11-19): an update downloads nothing large diff --git a/README.md b/README.md index f245cf95..094e1d5b 100644 --- a/README.md +++ b/README.md @@ -714,7 +714,7 @@ column the lane as it ships, through the proxy: | | LFM3 1.7B NVFP4, 2026-11-16, no memory share set | LFM2.5 24B-A2B FP8 + DSpark, 2026-11-19, the lane as it ships | |---|---|---| -| one request alone | 87.7 tok/s (1,024 tokens in, 512 out) | 102.2 tok/s (1,024 tokens in, 512 out) | +| one request alone | 87.7 tok/s (1,024 tokens in, 512 out) | 102.2 tok/s (1,024 tokens in, 191 out of at most 512) | | many at once, in all | 3,911.8 tok/s at 128 requests | 389.2 tok/s at 8 requests, 73.4 per stream | | GSM8K (250) | 0.896 | 0.912 (the 2026-11-14 trial, no parser) | | a long prompt | 131,072 tokens, 10.2 s to its first token | not measured yet | @@ -724,7 +724,7 @@ column the lane as it ships, through the proxy: The LFM3 lane sets a memory share of 0.75, as vLLM's nightly grows its KV cache into all the memory left (with none set, the box kept 1,087 MiB available at its lowest): measured at that share, the lane as it ships on 2026-11-19, through the proxy, it was ready in 133 s with 20 GiB available at its lowest, one stream at 90.7 tok/s and 8 at once -732.2 tok/s in all (1,024 tokens in, 512 out), and an agent's next turn 99 to 100 % from the prefix cache. +732.2 tok/s in all (1,024 tokens in, at most 512 out), and an agent's next turn 99 to 100 % from the prefix cache. Every number, what is not measured yet and why: **[docs/lfm3-lane.md](docs/lfm3-lane.md)** and **[docs/lfm25-lane.md](docs/lfm25-lane.md)**. diff --git a/docs/lfm25-lane.md b/docs/lfm25-lane.md index cd87836e..240f9bcc 100644 --- a/docs/lfm25-lane.md +++ b/docs/lfm25-lane.md @@ -11,7 +11,7 @@ the pair loaded once in the 27B lane's SGLang image with the command its draft's and the memory share the lane keeps, the GPU clock capped at 2,000 MHz and the chip under 70 °C before each step, the 27B stopped. That trial ran without the tool-call and reasoning parsers the lane passes. The lane's own unit then served in the proof campaign of v1.53.0, on the same box on 2026-11-19: loaded from the cockpit, its flags as they -ship, through the proxy, the GPU clock capped at 2,000 MHz, every other lane stopped. What that campaign measured is +ship, through the proxy, the GPU clock capped at 2,000 MHz, no other text lane running. What that campaign measured is below, and what neither it nor the trial measured is said so where it stands. ## Why SGLang, and the 27B lane's image @@ -67,9 +67,9 @@ The trial of 2026-11-14, under the conditions above: | | the trial, no parser | the lane as it ships, 2026-11-19 | |---|---|---| -| ready, its `/v1/models` answering | 286 s | 292 s | -| KV cache | 1,667,049 tokens (BF16), the window 12.7 times | not measured yet | -| MemAvailable | 28 GiB once ready, 24 GiB at its lowest | 22 GiB at its lowest | +| ready, its `/v1/models` answering | 286 s | 292 s, its first reply through the proxy (read every 10 s) | +| KV cache | 1,667,049 tokens (BF16), the window 12.7 times | 1,662,263 tokens (BF16), the window 12.7 times, in its journal | +| MemAvailable | 28 GiB once ready, 24 GiB at its lowest | 28 GiB once ready, 22 GiB at its lowest during its start | | GSM8K, 250 questions | 0.912 | not measured yet | | a first answer | 17 x 23 = 391, right | not measured yet | @@ -79,9 +79,9 @@ read in the server's log while it ran, 183 readings: 5.28 tokens at the median ( requests, as `run_eval` reads it from each answer). **Speed**: only what the server's log said while GSM8K ran, 8 requests at once: 362 tokens/s in all at the median of -its 183 readings, 443 at the most. The lane as it ships, measured on 2026-11-19 through the proxy (1,024 tokens in, -512 out): one stream alone 102.2 tokens/s (93.7 in all over its 191 tokens, first token in 0.17 s), 8 at once 389.2 -tokens/s in all, 73.4 per stream at the median (48.5 at the least), first token in 1.10 s. Not measured yet: 32 and +its 183 readings, 443 at the most. The lane as it ships, measured on 2026-11-19 through the proxy (1,024 tokens in, at +most 512 out): one stream alone 102.2 tokens/s (93.7 in all over its 191 tokens, first token in 0.17 s), 8 at once 389.2 +tokens/s in all over 1,550 tokens, 73.4 per stream at the median (48.5 at the least), first token in 1.10 s. Not measured yet: 32 and 48 at once, a prompt of 32,768 and one of 120,000 tokens. **The prefix cache under an agent**, measured the same day (`prefix_probe.py`, six turns, prompts of 34,940 to @@ -96,8 +96,9 @@ Through the proxy on `:30001`, with the box's key, as model `lfm2.5-24b-a2b`: - **opencode** gets an `lfm25` provider, text only (the model reads no image), with no variant, as the template reads no level, and 74,000 tokens of context and 32,000 of output at its window of 131,072 ([docs/opencode.md](opencode.md)). Loading the lane makes it opencode's default. Measured on 2026-11-19, a limit this lane ships with: one try of five - succeeded, for the model reads an invented absolute path (`/home/hasan/hello.txt`) where the other lanes read a - relative one, and opencode refuses a read outside its working directory (`external_directory`). + succeeded, for the model asks to read the test file at an invented absolute path in the home directory, outside + opencode's working directory where the file is, and opencode refuses a read outside its working directory + (`external_directory`). - **pi** offers `high` alone and sends no effort field, **omp** gets `high` as its one effort ([docs/pi.md](pi.md)). pi answered OK through the proxy on 2026-11-19. No omp session has run on the lane yet. - **System One** is not served here (proxy v6.60): its template opens a thought at every answer, so the one token diff --git a/docs/lfm3-lane.md b/docs/lfm3-lane.md index e12c4138..b3f6229d 100644 --- a/docs/lfm3-lane.md +++ b/docs/lfm3-lane.md @@ -55,8 +55,8 @@ vllm serve LiquidAI/LFM3-1.7B-NVFP4 --revision --served-model-name window, and the box kept 1,087 MiB available at its lowest during the campaign, close to the edge where a GB10 freezes ([docs/gb10-memory.md](gb10-memory.md)). A share of 0.75 of the 121.63 GiB the engine sees on the reference box is about 91 GiB for the engine, by the arithmetic. Measured at that share on 2026-11-19, the lane as - it ships: the box kept 20 GiB available at its lowest, and the engine was ready in 133 s. The cache's size at that - share is not in the campaign's log. + it ships: the box kept 20 GiB available at its lowest, the engine answered through the proxy 133 s after its start, + and its journal gives the cache 4,567,209 tokens, 17.42 requests at the full window of 262,144 as vLLM counts it. - **Sampling**: the checkpoint's `generation_config.json` asks temperature 0.1, top_k 50 and repetition_penalty 1.1, and vLLM applies it to every request that sets none of its own, as it says at boot. - **Reasoning** is on by default (the template's `enable_thinking`, true unless a request says false). A request @@ -83,8 +83,8 @@ All in the "base" campaign of 2026-11-16, under the conditions above. | | with no memory share | at the lane's share, 0.75, 2026-11-19 | |---|---|---| -| boot, to `/health` | 160 s at its first boot: 127.5 s of engine init (11.1 s of compile), FlashInfer's NVFP4 tuning 29 s of it | 133 s, the lane as it ships | -| KV cache | 5,239,455 tokens, 19.99 requests at the full window as vLLM counts it | not measured yet | +| boot, to `/health` | 160 s at its first boot: 127.5 s of engine init (11.1 s of compile), FlashInfer's NVFP4 tuning 29 s of it | 133 s to its first reply through the proxy (read every 10 s) | +| KV cache | 5,239,455 tokens, 19.99 requests at the full window as vLLM counts it | 4,567,209 tokens, 17.42 requests, in its journal | | MemAvailable, lowest seen | 1,087 MiB | 20 GiB | | GSM8K, 250 questions | 0.896 | not measured yet | diff --git a/docs/models/lfm25.md b/docs/models/lfm25.md index 81497909..a22c75ee 100644 --- a/docs/models/lfm25.md +++ b/docs/models/lfm25.md @@ -22,7 +22,7 @@ One short trial, on 2026-11-14, the GPU clock capped at 2,000 MHz, without the l The lane as it ships, on 2026-11-19, through the proxy, the GPU clock capped at 2,000 MHz: -- **102.2 tok/s** on one stream (1,024 tokens in, 512 out), **389.2 tok/s** in all at 8 requests at once. +- **102.2 tok/s** on one stream (1,024 tokens in, at most 512 out), **389.2 tok/s** in all at 8 requests at once. - Ready in 292 s, 22 GiB of memory left available at its lowest, a tool call right. - An agent's next turn served **94 %** from the prefix cache, from its second turn. diff --git a/docs/models/lfm3.md b/docs/models/lfm3.md index 60914a2d..7239f5b8 100644 --- a/docs/models/lfm3.md +++ b/docs/models/lfm3.md @@ -25,7 +25,7 @@ On 2026-11-16, with no memory share set, the GPU clock capped at 2,000 MHz: The lane serves it with a memory share of 0.75, measured as it ships on 2026-11-19, through the proxy, the GPU clock capped at 2,000 MHz: ready in 133 s, 20 GiB of memory left available at its lowest, **90.7 tok/s** on one -stream and **732.2 tok/s** in all at 8 requests at once (1,024 tokens in, 512 out), an agent's next turn served +stream and **732.2 tok/s** in all at 8 requests at once (1,024 tokens in, at most 512 out), an agent's next turn served **99 to 100 %** from the prefix cache. ## What it is good at diff --git a/install-lfm3.sh b/install-lfm3.sh index f201122d..dd17ac30 100755 --- a/install-lfm3.sh +++ b/install-lfm3.sh @@ -182,8 +182,8 @@ if [ "$MODE" = prepare ]; then fi step "3/5 Checkpoint ($MODEL @ ${MODEL_REV:0:12}, resumable)" -# Pinned as refs/main: the unit runs with HF_HUB_OFFLINE=1 and vLLM can read the tokenizer -# without its revision, by name, through refs/main, which a download by commit never writes. +# Pinned as refs/main, as the LFM2.5 lane's fetches are: the unit runs with HF_HUB_OFFLINE=1, and a read of the repo +# by its name then finds the pinned commit. None is known in this image (vLLM reads the tokenizer at --revision). vlane_fetch "$MODEL" "$MODEL_REV" pin install_service