nemo_automodel.components.models.hy_mt2.layers
nemo_automodel.components.models.hy_mt2.layers
Module Contents
Classes
API
Bases: Module
Hy-MT2-30B-A3B attention: GQA, per-head Q/K RMSNorm, and RoPE.
Differences vs. the existing Hy3-preview HYV3Attention:
qk_normis gated byconfig.qk_norm(defaults to True). For Hy-MT2-30B-A3B this is always True; the flag is here so the same module can also be reused for non-qk-norm variants without code edits.- Dimensions follow Hy-MT2-30B-A3B: 32 Q heads / 4 KV heads, head_dim=128, hidden_size=2048.
head_dim
k_norm
k_proj
num_heads
num_kv_heads
o_proj
q_norm
q_proj
qk_norm_enabled
v_proj