Skip to content

Enable associative scan for Zamba - #48417

Closed
Marchematics wants to merge 2 commits into
huggingface:mainfrom
Marchematics:contrib/zamba-associative-scan
Closed

Marchematics wants to merge 2 commits into
huggingface:mainfrom
Marchematics:contrib/zamba-associative-scan

Conversation

@Marchematics

@Marchematics Marchematics commented Aug 30, 2026 •

Copy link
Copy Markdown

CPU CI GPU run-slow

Expose the associative scan option in ZambaConfig and pass it through the Mamba mixer so compiled inference avoids the sequential fallback.

Test: python3 -m py_compile src/transformers/models/zamba/configuration_zamba.py src/transformers/models/zamba/modeling_zamba.py

AI assistance was used.

Copilot AI lite review requested due to automatic review settings August 30, 2026 16:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: zamba

@github-actions

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 33322856012
Result: success | Grafana metrics are not available yet.

@ArthurZucker

Copy link
Copy Markdown
Collaborator

Thanks for the PR! The same change (a use_associative_scan config flag, wired into the Zamba mamba mixer) landed in #48331, so the Zamba part is already on main. The Japanese docs typo fix isn't related to this PR's topic, so feel free to send it separately as part of a broader docs cleanup. Closing this one.

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.

3 participants