Skip to content

[pull] main from huggingface:main - #10

Merged
pull[bot] merged 3 commits into
ZikrieHR:mainfrom
huggingface:main
Sep 10, 2026
Merged

pull[bot] merged 3 commits into
ZikrieHR:mainfrom
huggingface:main

Conversation

@pull

@pull pull Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Dovis01 and others added 3 commits September 10, 2026 09:59
…48676)

[GLM5 Next] Preserve original text checkpoint names

Register the GLM5 Next conversion mapping for the standalone text model type.
This keeps saved checkpoints compatible with the released tensor layout.
Add regression coverage for mHC, KDA, and routed expert keys.

Signed-off-by: Shijin Zhang <[email protected]>
kernels-community/activation now ships an XPU backend, so map the six layers
it provides to XPU as well. They were previously registered for CUDA only,
which left XPU on the eager fallback.

FastGELU, NewGELU and QuickGELU have no native PyTorch operator and expand
into several element-wise launches in eager mode, so the fused kernel is
several times faster. SiLU, GeLU and GeluTanh are on par with eager and are
mapped for parity with CUDA.

Co-authored-by: regisss <[email protected]>
…shapes (#48578)

* Mirror the registered pytree flatten when building automatic dynamic shapes

`get_auto_dynamic_shapes` treated every object with a `__dict__` as flattening to a
flat list of tensors, which is true only for the `Cache` subclasses the exporter
registers itself. A `ModelOutput` is registered by transformers with the standard
dict-like flatten, so `torch.export` expects one child per field -- and a field
holding a tuple keeps that tuple in the tree spec.

Passing a `ModelOutput` as a generate kwarg therefore failed with `Node arity
mismatch; expected 2, but got 3`. Ask the pytree registry for the flatten instead
of assuming one: caches still yield a flat list, outputs keep their nesting.

Co-Authored-By: Claude Opus 5 <[email protected]>

* skip

---------

Co-authored-by: Claude Opus 5 <[email protected]>
@pull pull Bot locked and limited conversation to collaborators Sep 10, 2026
@pull pull Bot added the ⤵️ pull label Sep 10, 2026
@pull
pull Bot merged commit c583a3a into ZikrieHR:main Sep 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants