transformers v5.17.0 — Release 5.17.0
# Release v5.17.0 ## New Model additions ### HYV4 Hy4-Preview is a 780B-parameter mixture-of-experts language model that activates 49B parameters per token. Each MoE layer holds 256 routed experts plus one always-active shared expert and routes every token to 8 of them. The context window is 1M tokens. The architecture combines four features: - **Multi-head Latent Attention (MLA)** compresses keys and values into a low-rank latent () that expands back to one key/value per query head. - **DeepSeek Sparse Attention (DSA)** selects keys per query with a lightweight indexer. Following [IndexShare](https://huggingface.co/papers/2603.12201), only the layers marked in run an indexer; layers reuse the previous full layer's selection. - **Gated MLA with learnable attention sinks**, where each head owns a sink logit that participates in the softmax and contributes no value, as in [GPT-OSS](./gpt_oss). - **Independent Hyper-Connections (iHC)** replace the plain residual path with parallel residual streams that are collapsed before, and…
Covered by 1 source
- GGitHub Releases↗6d ago