tt-model push hy4-flash (container)
Browse files14 unmodified lines1516171819202184 unmodified lines10610710810911011147 unmodified lines15916016116216316416515 unmodified lines18118218318418514 unmodified lines# hy4-flash on Tenstorrent p300x2> Derived from [tencent/Hy4-flash](https://huggingface.co/tencent/Hy4-flash) by Tencent. The experts run in bfp4 and the Engram tables in FP8, converted from the official BF16 checkpoint on the first start. See the original model card for training and evaluation details.Hy4-flash, a 220B-parameter mixture-of-experts model with about 11.3B parameters active per token: 42 layers of sparse and sliding-window MLA attention, 512 routed experts (top-16) plus a shared expert, a 63.5B-parameter Engram n-gram memory, a vision encoder and a speculative drafter, served with vLLM. A reasoning model with text, image and video input and tool calling, for up to 8 concurrent users sharing a 202,752-token context pool (one user can use all of it).84 unmodified linesEvals served through the OpenAI endpoint with 8 requests in flight (lm-evaluation-harness; seed 42).SE = sqrt(p(1-p)/n). Tencent publishes no figures for these settings.| profile | sampling | ISL | OSL | concurrency | N | TTFT (s) | prefill tok/s/u | decode tok/s/u | total tok/s | E2EL (s) || --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: || p300x2 | T 0.9 | ~30 | 256 | 1 | 8 | 0.21 | — | 65.9 | — | 4.09 |47 unmodified linesfirst token; a long prompt's TTFT is also longer while other users are decoding.- Rarely, a combination of request shapes the warm-up did not cover makes the server recompile once, pausing allusers for a few seconds.- Outputs differ slightly from the BF16 reference (bfp4 experts, FP8 Engram tables; see the agreement rows).- Weights are pinned to revision b2498eb of tencent/Hy4-flash. Later revisions are not supported.- Runs only on a QB2 (4 Blackhole dies); other boards are not supported.15 unmodified lines| vLLM | [`v0.26.0`](https://github.com/vllm-project/vllm/releases/tag/v0.26.0) || vllm-tt-plugin | a local checkout — commit not published || `code/` digest | `e091ab83a9d9648a` (sha256, first 16 hex digits) || built | 2026-11-24T20:51:56+00:00 by tt-model 0.1.0 |14 unmodified lines1516171819202184 unmodified lines10610710810911011111211311411511611711811912012112212312412512612747 unmodified lines17517617717817918018118215 unmodified lines19819920020120214 unmodified lines# hy4-flash on Tenstorrent p300x2> Derived from [tencent/Hy4-flash](https://huggingface.co/tencent/Hy4-flash) by Tencent, converted from the official BF16 checkpoint on the first start (precisions under Expected performance). See the original model card for training and evaluation details.Hy4-flash, a 220B-parameter mixture-of-experts model with about 11.3B parameters active per token: 42 layers of sparse and sliding-window MLA attention, 512 routed experts (top-16) plus a shared expert, a 63.5B-parameter Engram n-gram memory, a vision encoder and a speculative drafter, served with vLLM. A reasoning model with text, image and video input and tool calling, for up to 8 concurrent users sharing a 202,752-token context pool (one user can use all of it).84 unmodified linesEvals served through the OpenAI endpoint with 8 requests in flight (lm-evaluation-harness; seed 42).SE = sqrt(p(1-p)/n). Tencent publishes no figures for these settings.Precision (the checkpoint is BF16):| weights | precision || --- | --- || routed experts (41 layers x 512, gate/up/down) | bfp4 || attention q_b, output gate and o_proj; dense layer-0 MLP; drafter MLP and attention q_b/gate/o | bfp8 || latent MoE projections, shared expert, other attention projections, indexer, embeddings, lm_head, vision encoder | bf16 || router, expert bias, hyper-connection parameters, indexer pooling, attention sinks, Engram norms | fp32 || KV cache (MLA latent rows, sliding-window rings) | bf16 || Engram tables (63.4B parameters) | FP8 e4m3, one bf16 scale per 96-value row, in host RAM |The Engram tables (65 GB) stay in host RAM. Each step the host hashes the token's 2- and 3-gram windows to tablerows as the reference does, decodes those rows to bf16 and sends them to the device, which runs the Engramprojections. This matches the reference exactly: with `engram_fp8_embedding` on, the reference applies the sameper-row FP8 round trip to every row it reads. Logits are computed in fp32.| profile | sampling | ISL | OSL | concurrency | N | TTFT (s) | prefill tok/s/u | decode tok/s/u | total tok/s | E2EL (s) || --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: || p300x2 | T 0.9 | ~30 | 256 | 1 | 8 | 0.21 | — | 65.9 | — | 4.09 |47 unmodified linesfirst token; a long prompt's TTFT is also longer while other users are decoding.- Rarely, a combination of request shapes the warm-up did not cover makes the server recompile once, pausing allusers for a few seconds.- Outputs differ slightly from the BF16 reference (bfp4 experts, bfp8 attention and dense projections; see theagreement rows). The FP8 Engram tables match the reference exactly.- Weights are pinned to revision b2498eb of tencent/Hy4-flash. Later revisions are not supported.- Runs only on a QB2 (4 Blackhole dies); other boards are not supported.15 unmodified lines| vLLM | [`v0.26.0`](https://github.com/vllm-project/vllm/releases/tag/v0.26.0) || vllm-tt-plugin | a local checkout — commit not published || `code/` digest | `e091ab83a9d9648a` (sha256, first 16 hex digits) || built | 2026-11-24T21:10:29+00:00 by tt-model 0.1.0 |
README.md+20-3