Wygenerowana karta tytułowa z napisem „Tencent Hy4 Flash on a Laptop” i podtytułem „Na czym faktycznie działa build GGUF” oraz trzy kafle statystyk: 50 tok/s na M5 Max z 128 GB, 126-157 GiB na dysku i llama.cpp PR #32517 wciąż otwarty. Stopka brzmi: „Wagi GGUF opublikowano 25 listopada 2026. Prędkości według producenta.”
Engineering & Research

Tencent Hy4 Flash na laptopie: na czym tak naprawdę działa wersja GGUF

Autor

jinhao.song

Data publikacji

Najnowsze modele · 20Zobacz wszystkie modele →
Powrót do wszystkich wpisów

Fifty tokens a second on a 128 GB Mac is the headline number for laptops in T​encent's 25 November 2026 announcement, when it published AngelSlim GGUF builds of Tencent Hy4 Flash and posted laptop and desktop throughput figures for them. It is a real measurement, and it is also the best case on a machine whose memory is smaller than the file it is streaming. The detail that matters before you download as much as 157 GiB of weights is less flattering: the llama.cpp support these numbers depend on has not been merged.

That is not a reason to skip the release. It is the reason to read it properly. T​encent published the quantised files and a table of figures that mixes an engine which already runs the model with one whose support is still a pull request. The runtimes are community work in both cases. Knowing which is which is the difference between an afternoon of setup and a week of building the wrong branch.

What T​encent published, and where

The artefacts landed in a separate repository from the main model — AngelSlim/Hy4-flash-GGUF on Hugging Face — rather than as files inside the t​encent/Hy4-flash repo. AngelSlim is T​encent's own compression toolkit, and the model card had already pointed at it for end-to-end testing when the BF16 weights went up on 17 November. What is new today is the spread of quantisation levels and the device numbers attached to them.

• Q4_K_M — 156.79 GiB, uniwersalna czterobitowa kompilacja, z której korzysta większość wyników dla Maca.

• Q3_K — 144.70 GiB, kompilacja przetestowana na M5 Max z 128 GB.

• IQ2-AH — 125,73 GiB, około 69% mniejszy niż oryginał; kompilacja użyta na M4 Pro z 64 GB.

• SPARK-4Bit i SPARK-4Bit-Fast — 151,3 i 148,6 GiB, dwa czterobitowe warianty zoptymalizowane pod układ zunifikowanej pamięci DGX Spark.

For scale, the BF16 release is about 410.27 GiB of tensor data across three repositories. The smallest build here is roughly 30% of that. The licence has not changed: these are derivative weights of a model under the T​encent Hy License 1.0, so the same section 10.2 conditions that apply to the parent apply here. Running one on your own laptop is the case that licence explicitly permits; serving it to strangers at scale is the case that needs a separate agreement.

Screenshot of the AngelSlim/Hy4-flash-GGUF repository page on Hugging Face in English, headed 'Five GGUF builds of Hy4-flash', with a table listing Q4_K_M at 156.79 GiB, SPARK-4Bit at 151.3 GiB, SPARK-4Bit-Fast at 148.6 GiB and Q3_K at 144.70 GiB with their bits-per-weight values, and a sidebar showing an 0.8B parameter model size, the hy_v4_next_dfly architecture and 58 quantizations in the model tree.

Dwa silniki, o jeden upstream PR za mało

The announcement names two runtimes, and they are not peers. llama.cpp is the upstream project almost every local-inference stack is built on. Strata is a separate engine with its own Hy4 Flash implementation, developed outside T​encent and hosted at Niko1221/Strata; the thread points readers at a hy4-flash-hpc branch of it for machines with more headroom. Neither is a stock install.

Obsługa llama.cpp znajduje się w pull requeście #32517 „Model: add hy_v4_flash support”, który wprowadza nowy hy-v4-flash.cpp, skrypt konwersji i mmproj dla wieży wizyjnej. Na dzień 25 listopada ten pull request jest otwarty, a nie scalony. Jego własny automatyczny przegląd wskazuje dwa blokery: zmianę RoPE, która zepsułaby istniejące pliki GGUF hy_v4, oraz przekazywanie pozycji multimodalnych, które pominięto, zamiast je zaimplementować. W praktyce oznacza to, że trzeba zbudować gałąź współtwórcy albo zastosować zestaw poprawek, zanim będzie można odtworzyć którykolwiek z opublikowanych wyników.

To jest schemat, którego należy się spodziewać po tak nowym modelu, a nie skandal. Wsparcie od dnia zero zwykle oznacza obraz dostawcy albo fork plus otwarty pull request, a scalenie następuje tygodnie później, gdy zostaną rozstrzygnięte kwestie zgodności. Praktyczna konsekwencja dla czytelnika jest węższa: pliki GGUF są oficjalne, środowisko uruchomieniowe, które czyni je szybkimi, nie jest jeszcze oficjalne, a cokolwiek zbudujesz dziś, będzie wymagało przebudowy, gdy pojawi się #32517.

Strata to inna sprawa. Istnieje po to, by uruchamiać duże modele Mixture-of-Experts na maszynach, które nie mogą ich pomieścić, wykorzystując buforowanie ekspertów i odciążanie do warstwy SSD. Raport użytkownika na forum DGX Spark opisuje jedną z jej ścieżek odciążania jako ograniczoną do jednego żądania w toku, bez pamięci podręcznej prefiksów i z limitem kontekstu 256K — w porządku na laptopa, dyskwalifikujące dla współdzielonego punktu końcowego. Obecna linia wydań to v0.2.20 z strata-hy4 0.1.66.

Liczby, urządzenie po urządzeniu

T​encent's X thread leads with four figures: up to 39 tokens per second on a DGX Spark, 50 on a 128 GB M5 Max through llama.cpp, 58 on a 24 GB RTX 4090D, and 18 on a 64 GB M4 Pro through Strata. The GGUF card publishes full curves rather than peaks, and the curves are where the caveats live.

• M5 Max, 128 GB, Q3_K, llama.cpp — 50,34 tok/s dekodowania przy kontekście 4K, 49,47 przy 16K, 47,37 przy 32K; prefill 743,2 przy 4K. Do 70 tok/s przy generowaniu kodu.

• M5 Max, 128 GB, Q4_K_M, llama.cpp — 48,13 tok/s przy 4K, spadając do 44,15 przy 32K; prefill 629,8 przy 4K.

• DGX Spark, 128 GB, SPARK-4Bit-Fast, llama.cpp — 31,95 tok/s przy 4K, 33,14 przy 16K, 33,39 przy 32K; prefill 799 przy 4K i do 40 tok/s podczas pracy z kodem.

• DGX Spark, SPARK-4Bit — 25,80 tok/s przy 4K, wzrastające do 30,30 przy 32K.

• RTX 4090D, 24 GB, Strata — wartość 58 tok/s podana w wątku; własna tabela Strata dla tej karty osiąga maksymalnie 47,6 tok/s w przypadku kodu z dekodowaniem spekulatywnym przy 16 GiB VRAM.

• Mac mini M4 Pro, 64 GB, IQ2, Strata — 17,3 tok/s dekodowania przy kontekście 8K, prefill 125–127 tok/s.

Two of those bullets need translating. The Spark's "up to 39" is a peak across workloads, while the card's sustained figure at 32K is 33.4 — both are T​encent's, measured under different conditions, and the gap is the usual difference between a headline and a curve. And the M5 Max numbers are produced from a 144.70 GiB file on a machine with 128 GB of unified memory. The weights are memory-mapped from SSD rather than resident, so the first token pays for page faults even though the steady-state decode looks healthy. If you were hoping a 128 GB laptop holds this model, it does not; it streams it.

A generated scoreboard titled 'Hy4 Flash local decode speed' listing six rows: M5 Max 128 GB Q3_K at 50.3 tok/s, M5 Max 128 GB Q4_K_M at 48.1 tok/s, DGX Spark 4-Bit-Fast at 33.4 tok/s, RTX 4090D 24 GB with Strata at 47.6 tok/s on code, M4 Pro 64 GB with Strata at 17.3 tok/s, and the smallest build on disk at 125.7 GiB. The footer reads 'Decode speeds vendor-reported; 32K context except M4 Pro at 8K.'

Ile kosztuje kwantyzacja

T​encent reports the quantised builds within 0.4 points of the original across PPTGenBench, DeepSWE v1.1, APEX-agents v1.1 and AutomationBench. SPARK-4Bit scores 54.1 on PPTGenBench against 54.2 for the reference build, a 0.1-point drop. Those are the vendor's own evaluations, run by the team that also tuned the quantiser, and nobody outside T​encent has reproduced them yet — so treat 0.4 points as an upper bound on quality loss rather than a measured constant.

The more useful observation is structural. Engram, the n-gram embedding tables that account for 63.5B of the model's 220B parameters, is exactly the kind of component that quantises badly: it is a lookup table, and lookup tables lose more from low-bit rounding than dense matrices do. T​encent does not break out Engram precision per file. If you care about long-tail vocabulary and code identifiers — the cases Engram exists to help — compare Q3_K against Q4_K_M on your own inputs before trusting a single average.

Model stojący za GGUF

It is worth restating what is being squeezed onto a laptop, because the architecture is the reason any of this is possible. T​encent Hy4 Flash is a 220B-parameter Mixture-of-Experts model with 12B active per token — 11.3B of text parameters plus 0.43B of vision — spread over 42 layers, one dense and 41 sparse. It reads text and images and writes text, and it accepts a 1,048,576-token context.

The three design choices that make a 220B model laptop-shaped are a hybrid attention layout that interleaves sparse attention with a 512-token sliding window at a 1:3 ratio, a LatentMoE that routes 16 of 512 experts in a lower-dimensional space, and Engram's hashed bigram and trigram tables. T​encent claims the resulting KV cache is one twenty-fourth of Hy3's and one sixth of Hy4's. That claim is vendor-reported and unreproduced, but it is the claim the local builds depend on.

Lokalnie czy hostowane: arytmetyka

The honest comparison is not "local versus cloud" in the abstract; it is what each costs you for the work you actually do. On our catalogue, t​encent/hy4-flash is $0.07 per million input tokens, $0.281 per million output, and $0.003 per million cached input, at list price with no markup on top. A 100,000-token document with a 5,000-token answer costs about 0.84 cents, and our own seven-day telemetry puts the median first token at 3.69 seconds and the 95th percentile at 10 seconds. The same job locally costs an afternoon, 126 to 157 GiB of disk, and — on the hardware in T​encent's own table — somewhere between 17 and 50 tokens per second, which for a 5,000-token answer is between 100 seconds and five minutes.

To nie jest argument przeciwko lokalnemu wnioskowaniu. To argument za tym, by precyzyjnie określić, dlaczego go chcesz: praca offline, dane, które nie mogą opuścić budynku, albo obciążenie, w którym dominuje cena za token. Jeśli powodem jest koszt przy małym wolumenie, hosting wygrywa z dużą przewagą; jeśli powodem jest regulowany zestaw dokumentów, żadna cena hostingu nie może konkurować. Przypadek pośredni — chęć oceny modelu przed związaniem z nim ścieżki produkcyjnej — to miejsce, w którym liczy się posiadanie obu, i to przypadek, do którego stworzono pojedynczy endpoint z automatycznym przełączaniem awaryjnym: wywołuj hostowany model już dziś, zachowaj lokalną wersję dla obciążeń, które jej potrzebują, i przełączaj na poziomie żądania, a nie umowy.

Screenshot of the OrcaRouter Hy4 Flash model page showing the tencent/hy4-flash id, a 16 November 2026 release date, a 1M-token context window, $0.07 input and $0.28 output per million tokens, $0.0030 per million cache reads, and a 3.69-second median time to first token.

Co by to zmieniło

Trzy rzeczy, w kolejności ważności. Scalanie pull requesta w llama.cpp zamieniłoby dzisiejsze instrukcje budowania w jednolinijkową instalację i sprawiłoby, że opublikowane krzywe byłyby odtwarzalne przez każdego. Wsparcie Transformers trafiające do main — karta modelu obecnie wskazuje commit pull requesta #50903 — zrobiłoby to samo dla ścieżki Python. A niezależne laboratorium uruchamiające skwantyzowane buildy powiedziałoby nam, czy twierdzenie o 0,4 punktu przetrwa kontakt z cudzym harnessem.

Until then, the accurate summary is this: T​encent has published real quantised weights and real measurements, on runtimes you have to build yourself, for a model that is genuinely small enough to be interesting on a workstation. The files are the solid part. The installation story is not yet.

Porównane w tym artykule1

Wykryto na podstawie tego artykułu · Benchmarki: Artificial Analysis · aktualizowane codziennie