Tencent lays out two ways to run quantized Hy4 flash locally, through llama.cpp and StrataTencent, 양자화한 Hy4 flash를 로컬에서 돌리는 두 길 안내 — llama.cpp와 Strata
Tencent says Hy4 flash, quantized by AngelSlim, can be run locally through llama.cpp and Strata. The speeds it gives include up to 50 TPS on a 128GB Mac M5 Max and up to 58 TPS on a 24GB 4090D, and a Hugging Face model card lists five GGUF builds. Support for both routes is in pull requests that have not been merged.Tencent가 AngelSlim으로 양자화한 Hy4 flash를 llama.cpp와 Strata로 로컬에서 돌리는 길을 안내했습니다. Tencent가 밝힌 속도는 128GB Mac M5 Max 최대 50 TPS, 24GB 4090D 최대 58 TPS 등이고, GGUF 빌드 다섯은 Hugging Face 모델 카드에 있습니다. 두 길의 지원은 모두 아직 병합되지 않은 풀 리퀘스트에 있습니다.
- Source published원문 게시일
- Checked확인일
Tencent said on its Tencent Hy account on X on November 25 that Hy4 flash, quantized by AngelSlim, can now be run locally, through llama.cpp and Strata. The speeds it gives are up to 39 TPS on Spark and 50 TPS on a 128GB Mac M5 Max with llama.cpp, and up to 58 TPS on a 24GB 4090D and 18 TPS on a 64GB Mac M4 Pro with Strata. For more powerful devices it points to Strata’s hy4-flash-hpc branch.Tencent는 AngelSlim으로 양자화한 Hy4 flash를 로컬에서 돌릴 수 있다고 11월 25일 X 계정 Tencent Hy에서 알렸습니다. 길은 llama.cpp와 Strata 둘입니다. Tencent가 밝힌 속도는 llama.cpp에서 Spark 최대 39 TPS와 128GB Mac M5 Max 최대 50 TPS, Strata에서 24GB 4090D 최대 58 TPS와 64GB Mac M4 Pro 최대 18 TPS입니다. 더 강한 기기에는 Strata의 hy4-flash-hpc 브랜치를 안내했습니다.
The Hugging Face model card lists five GGUF builds. Q4_K_M (156.79 GiB), standard 4-bit, is the one it says to use unless memory is constrained, while SPARK-4Bit (151.3 GiB), in NVIDIA’s 4-bit floating-point format, and the 2.7 GiB smaller SPARK-4Bit-Fast (148.6 GiB) are described as suited for Spark devices. Q3_K (144.70 GiB) drops part of the routed-expert gate and up projections to Q3_K, and the smallest, IQ2-AH (125.73 GiB), runs gate and up at IQ2_XXS while most non-expert weights stay in BF16.Hugging Face 모델 카드에는 GGUF 빌드 다섯이 있습니다. 표준 4비트인 Q4_K_M(156.79 GiB)은 메모리가 빠듯하지 않을 때 쓰라고 적혀 있고, NVIDIA 4비트 부동소수점 형식의 SPARK-4Bit(151.3 GiB)와 그보다 2.7 GiB 작은 SPARK-4Bit-Fast(148.6 GiB)는 Spark 기기에 맞는 빌드입니다. Q3_K(144.70 GiB)는 전문가의 gate와 up 일부를 Q3_K로 낮춘 혼합판이고, 가장 작은 IQ2-AH(125.73 GiB)는 gate와 up을 IQ2_XXS로 두고 전문가 밖 가중치는 대부분 BF16으로 남깁니다.
Support in llama.cpp is in pull request 32517, and the model card gives the steps to check out and build that branch. It covers terminal chat with llama-cli, an OpenAI-compatible server with llama-server and image input with the mmproj file. In the card’s table for a 128GB Mac M5 Max, decode speed at 4K, 16K and 32K is 48.13, 45.18 and 44.15 tok/s for Q4_K_M and 50.34, 49.47 and 47.37 tok/s for Q3_K.llama.cpp 쪽 지원은 풀 리퀘스트 32517에 있고, 모델 카드는 그 브랜치를 받아 빌드하는 순서를 적었습니다. llama-cli로 터미널에서 대화하고 llama-server로 OpenAI 호환 서버를 열며, mmproj 파일을 함께 주면 이미지도 입력합니다. 카드의 128GB Mac M5 Max 표에서 4K, 16K, 32K의 디코드 속도는 Q4_K_M이 48.13, 45.18, 44.15 tok/s, Q3_K가 50.34, 49.47, 47.37 tok/s입니다.
On the Strata side, pull request 7120 lets strata launch recognize a Hy4 flash GGUF checkpoint and select the backend for the hardware. On NVIDIA GPUs the CUDA backend can keep part of the expert weights in system RAM and use built-in MTP or an external DFly drafter for speculative decoding. On Apple Silicon the Metal backend can stream experts from SSD when the model exceeds the available unified memory.Strata 쪽은 풀 리퀘스트 7120으로, strata launch가 Hy4 flash GGUF를 알아보고 하드웨어에 맞는 백엔드를 고르게 합니다. NVIDIA GPU의 CUDA 백엔드는 전문가 가중치 일부를 시스템 RAM에 두고 내장 MTP나 외부 DFly 초안 모델로 추측 디코딩을 합니다. Apple Silicon의 Metal 백엔드는 모델이 쓸 수 있는 통합 메모리를 넘으면 전문가를 SSD에서 흘려 읽습니다.
The README in Tencent’s repository calls Hy4 flash’s drafter DFly2. Each draft layer shares the KV cache of its corresponding sparse attention layer in the target model, along with the indexer’s selection of up to 2,048 positions. Each draft token attends to at most about 2K keys regardless of context length, and no separate KV cache is kept for the drafter. In the Strata CUDA guide’s test with a 16 GiB VRAM budget, turning on a DFly Q8_0 drafter raised decode speed from 36.8 to 38.7 tok/s for prose and from 37.5 to 47.6 tok/s for code, with each workload measured once.Tencent 저장소의 README는 Hy4 flash의 초안 모델을 DFly2라고 소개합니다. 초안의 각 층이 대상 모델에서 짝이 되는 희소 어텐션 층의 KV 캐시와, 인덱서가 고른 최대 2,048개 위치를 함께 씁니다. 문맥이 길어져도 초안 토큰 하나가 보는 키는 최대 2K 안팎이고 초안 모델의 KV 캐시를 따로 두지 않습니다. Strata CUDA 안내의 16 GiB VRAM 시험에서 DFly Q8_0 초안을 켠 디코드 속도는 산문이 36.8에서 38.7 tok/s로, 코드가 37.5에서 47.6 tok/s로 올랐으며, 작업마다 한 번씩 잰 값입니다.

The files and the per-device guides are in AngelSlim/Hy4-flash-GGUF on Hugging Face, where the LICENSE file is the Tencent Hy License, Version 1.0. Both shards of a split GGUF are kept in the same directory. For Strata, the pull request branch is checked out and built, the engine is started with a launch script, and the OpenAI-compatible API runs at localhost:8080/v1.파일과 기기별 안내 문서는 Hugging Face의 AngelSlim/Hy4-flash-GGUF에 있고, 함께 든 LICENSE는 Tencent Hy License 1.0입니다. 두 조각으로 나뉜 GGUF는 같은 디렉터리에 둡니다. Strata는 풀 리퀘스트 브랜치를 받아 엔진을 빌드한 뒤 실행 스크립트로 띄우며, OpenAI 호환 API는 localhost:8080/v1에서 열립니다.
Both pull requests were open and not merged when checked on November 25. The Strata CUDA guide recommends a GPU with at least 16 GiB of VRAM, and by default RAM holds a complete copy of the trunk experts, about 83.4 GiB, so it says to allow at least 128 GiB of available host RAM. The llama.cpp guide for Mac puts the weights at about 97.4 GiB and raises the wired memory limit to 112 GiB, and image input is not available with DFly. The card notes that the Strata results use different test conditions from the llama.cpp results.11월 25일 확인했을 때 두 풀 리퀘스트는 모두 열려 있고 병합되지 않았습니다. Strata CUDA 안내는 VRAM 16 GiB 이상인 GPU를 권장하며, 따로 정하지 않으면 RAM에 전문가 전체 사본 약 83.4 GiB를 두므로 쓸 수 있는 RAM을 128 GiB 이상 잡으라고 적었습니다. llama.cpp의 Mac 안내는 가중치를 약 97.4 GiB로 적고 고정 메모리 한도를 112 GiB로 올리게 하며, DFly를 켜면 이미지 입력을 쓸 수 없습니다. 카드는 Strata 결과와 llama.cpp 결과의 시험 조건이 다르다고 밝혔습니다.
Sources & references원문과 참고 자료
- Tencent Hy on XX의 Tencent Hy
- Hy4-flash GGUF model card (Hugging Face)Hy4-flash GGUF 모델 카드(Hugging Face)
- Strata CUDA guide (Hugging Face)Strata CUDA 안내(Hugging Face)
- llama.cpp guide for Apple silicon (Hugging Face)llama.cpp Apple Silicon 안내(Hugging Face)
- Hy4 flash repository (GitHub)Hy4 flash 저장소(GitHub)
- Strata pull request 7120 (GitHub)Strata 풀 리퀘스트 7120(GitHub)
- llama.cpp pull request 32517 (GitHub)llama.cpp 풀 리퀘스트 32517(GitHub)
- Tencent Hy License, Version 1.0Tencent Hy License, Version 1.0
HREN


