Add hunyuan-dense so Hy-MT2 GGUFs can run - #201
Open
sdcb wants to merge 1 commit into
Open
Conversation
The architecture was unregistered, so official Q4 files failed at load. Land the text graph (NeoX RoPE then QK-norm) and the Hy-MT2 chat template. First cut is single-device; no TP or fused whole-model path yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hunyuan-dense(Hy-MT2 / Hunyuan dense text) through the architecture + chat-protocol seams. Official Q4 GGUFs previously failed at load withUnsupported architecture.tencent/Hy-MT2-1.8Bchat_template.jinja(BOS +add_generation_prompt), not llama.cpp's Hunyuan-4B-Instruct hardcoded template, which dropped BOS and produced off-task replies.SingleDevice: no TP, no fused whole-model graph, no continuous batch. CPU ggml is slower than llama.cpp on this path; correctness was checked onHy-MT2-1.8B-Q4_K_M(Hello→你好; official translation prompt produces Chinese).Test plan
HunyuanDenseChatTemplateTests(BOS, system, multi-turn, no-tools protocol)TensorParallelSupportGateTests/SkillCapabilityConsistencyTestsstill pass with the new registration--backend cpu/ggml_cpuload + translate onHy-MT2-1.8B-Q4_K_M.ggufggml_cuda/cuda) — not exercised on the authoring machine