Một thẻ tiêu đề được tạo tự động với nội dung 'Tencent Hy4 Flash trên Laptop', phụ đề 'Bản dựng GGUF thực sự chạy trên cấu hình nào' và ba ô số liệu: 50 tok/s trên M5 Max với 128 GB, 126-157 GiB trên đĩa, và PR #32517 của llama.cpp vẫn đang mở. Phần chân trang ghi 'Trọng số GGUF được công bố ngày 25 tháng 11 năm 2026. Tốc độ do nhà cung cấp báo cáo.'
Engineering & Research

Tencent Hy4 Flash trên máy tính xách tay: Bản dựng GGUF thực sự chạy trên cấu hình nào

Tác giả

jinhao.song

Ngày đăng

Mô hình mới nhất · 20Xem tất cả mô hình →
Quay lại tất cả bài viết

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, bản dựng bốn bit đa dụng và là bản mà hầu hết các số liệu trên Mac sử dụng.

• Q3_K — 144.70 GiB, bản build được thử nghiệm trên M5 Max 128 GB.

• IQ2-AH — 125,73 GiB, nhỏ hơn khoảng 69% so với bản gốc và là bản dựng được dùng trên M4 Pro 64 GB.

• SPARK-4Bit và SPARK-4Bit-Fast — 151,3 và 148,6 GiB, hai biến thể bốn-bit được tinh chỉnh cho bố cục bộ nhớ hợp nhất của 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.

Hai engine, thiếu một PR upstream

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.

Hỗ trợ của llama.cpp nằm trong pull request #32517, "Model: thêm hỗ trợ hy_v4_flash", giới thiệu một tệp hy-v4-flash.cpp mới, một script chuyển đổi và một mmproj cho vision tower. Tính đến ngày 25 tháng 11, pull request đó vẫn đang mở, chưa được hợp nhất. Đánh giá tự động của chính PR này đánh dấu hai điểm chặn: một thay đổi RoPE sẽ làm hỏng các GGUF hy_v4 hiện có, và phần kết nối vị trí đa phương thức bị bỏ qua thay vì được triển khai. Trên thực tế, điều đó có nghĩa là phải build nhánh của người đóng góp hoặc áp dụng bộ bản vá trước khi có thể tái tạo bất kỳ số liệu đã công bố nào.

Đây là kiểu mô thức dễ thấy ở một mô hình mới đến vậy, chứ không phải một vụ bê bối. Hỗ trợ ngay từ ngày đầu thường có nghĩa là một image của nhà cung cấp hoặc một bản fork cộng với một pull request đang mở, và việc merge sẽ đến vài tuần sau đó khi các câu hỏi về tương thích được giải quyết. Hệ quả thực tế đối với người đọc thì hẹp hơn: các tệp GGUF là chính thức, runtime giúp chúng chạy nhanh thì chưa chính thức, và bất cứ thứ gì bạn xây dựng hôm nay sẽ cần được xây dựng lại khi #32517 được hợp nhất.

Strata là một sự đánh đổi khác. Nó tồn tại để chạy các mô hình Mixture-of-Experts lớn trên những máy không thể chứa chúng, bằng cách dùng bộ nhớ đệm chuyên gia và offload xuống tầng SSD. Một báo cáo người dùng trên diễn đàn DGX Spark mô tả một trong các đường offload của nó bị giới hạn ở một yêu cầu đang xử lý tại một thời điểm, không có prefix cache và giới hạn ngữ cảnh 256K — ổn cho laptop, nhưng không đủ điều kiện cho một endpoint dùng chung. Dòng phát hành hiện tại là v0.2.20 với strata-hy4 0.1.66.

Các con số, theo từng thiết bị

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 — giải mã 50,34 tok/s ở ngữ cảnh 4K, 49,47 ở 16K, 47,37 ở 32K; prefill 743,2 ở 4K. Lên đến 70 tok/s khi sinh mã.

• M5 Max, 128 GB, Q4_K_M, llama.cpp — 48,13 tok/s ở 4K giảm xuống 44,15 ở 32K; prefill 629,8 ở 4K.

• DGX Spark, 128 GB, SPARK-4Bit-Fast, llama.cpp — 31.95 tok/s ở 4K, 33.14 ở 16K, 33.39 ở 32K; prefill 799 ở 4K, và lên đến 40 tok/s với mã.

• DGX Spark, SPARK-4Bit — 25.80 tok/s ở 4K, tăng lên 30.30 ở 32K.

• RTX 4090D, 24 GB, Strata — con số 58 tok/s của thread; bảng Strata của riêng card đạt tối đa 47,6 tok/s trên code với speculative decoding ở 16 GiB VRAM.

• Mac mini M4 Pro, 64 GB, IQ2, Strata — giải mã 17,3 tok/s ở ngữ cảnh 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.'

Chi phí của việc lượng tử hóa là gì

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.

Mô hình đằng sau 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.

Cục bộ hay trên máy chủ: phép tính

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.

Đó không phải là lập luận chống lại suy luận cục bộ. Đó là lập luận để nói rõ vì sao bạn muốn nó: vận hành ngoại tuyến, dữ liệu không thể rời khỏi tòa nhà, hoặc một khối lượng công việc mà giá trên mỗi token chiếm ưu thế. Nếu lý do là chi phí ở khối lượng thấp, dịch vụ lưu trữ thắng với khoảng cách lớn; nếu lý do là một bộ tài liệu được quản lý theo quy định, không mức giá hosted nào cạnh tranh được. Trường hợp ở giữa — muốn đánh giá mô hình trước khi cam kết đưa nó vào lộ trình sản xuất — là nơi việc có cả hai điều quan trọng, và đó là trường hợp mà một endpoint duy nhất với chuyển đổi dự phòng tự động được xây dựng để xử lý: gọi mô hình hosted ngay hôm nay, giữ bản dựng cục bộ cho những khối lượng công việc cần đến nó, và chuyển đổi theo từng yêu cầu thay vì theo hợp đồng.

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.

Điều gì sẽ thay đổi điều này

Ba việc, theo thứ tự quan trọng. Việc hợp nhất pull request của llama.cpp sẽ biến hướng dẫn build hiện nay thành một lệnh cài đặt một dòng và khiến bất kỳ ai cũng có thể tái tạo các đường cong đã công bố. Việc hỗ trợ Transformers được đưa vào main — model card hiện đang ghim một commit pull request, #50903 — sẽ làm điều tương tự cho đường Python. Và một phòng thí nghiệm độc lập chạy các bản build lượng tử hóa sẽ cho chúng ta biết liệu tuyên bố 0,4 điểm có còn đứng vững khi tiếp xúc với harness của người khác hay không.

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.

So sánh trong bài viết này1

Phát hiện từ bài viết này · Benchmark: Artificial Analysis · cập nhật hằng ngày