Skip to content

hy4: add model support and native verification - #451

Open
maplepaladin73 wants to merge 7 commits into
Atlas-Inf:mainfrom
maplepaladin73:devin/1796341000-hy4-support
Open

maplepaladin73 wants to merge 7 commits into
Atlas-Inf:mainfrom
maplepaladin73:devin/1796341000-hy4-support

Conversation

@maplepaladin73

Copy link
Copy Markdown
Contributor

Summary

Add HY4 model support upstream while preserving existing model-family support: HY4 kernels/model layers/configuration, checkpoint loading with deferred Engram rows, native tokenizer and tool-call parsing, serving validation, and native prompt-lookup verification scheduling.

Closes #

Test plan

  • cargo fmt --all -- --check
  • ATLAS_SKIP_BUILD=1 CUDARC_CUDA_VERSION=13000 cargo clippy --workspace --tests
  • bash scripts/check-license-headers.sh
  • Tested against a real model / hardware if the change affects runtime behaviour
  • Added or updated tests where applicable

Notes for reviewers

The port is additive: existing DeepSeek, Inkling, Ling, Qwen, and other upstream targets/files are intentionally preserved. HY4 native prompt lookup uses eager verification rather than the graphed K2/K3/K4 paths. DFly validation is limited to the supported HY4 TP2/world-size-2 configuration and requires hardware validation before merge.

CLA

maplepaladin73 and others added 7 commits December 3, 2026 22:57
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant