Skip to content

PR #13234 staging CI - #224

Closed
Etherll wants to merge 10 commits into
mainfrom
pr-13234-ci
Closed

Etherll wants to merge 10 commits into
mainfrom
pr-13234-ci

Conversation

@Etherll

@Etherll Etherll commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Staging-only CI validation for unslothai#13234.

This PR exists only to run fork GitHub Actions checks and should be closed after validation.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T03:11:36.975084Z 727018e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 727018e5ff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

pass
setattr(_sdpa_packed_varlen, _FLAG, True)
# Direct assignment: register() does not update the mapping layers read.
ALL_ATTENTION_FUNCTIONS["sdpa"] = _sdpa_packed_varlen

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Register the wrapper in the class-level attention mapping

For models such as Doge that construct their own AttentionInterface, Transformers resolves sdpa from the class mapping rather than this shared instance. This assignment updates only ALL_ATTENTION_FUNCTIONS; the existing flex patch updates both mappings specifically for that case (unsloth/models/_utils.py:900-909). As a result, packed forwards on those models retain the original dense SDPA function and never use this varlen path. Register the wrapper through type(ALL_ATTENTION_FUNCTIONS).register("sdpa", ...) as well.

Useful? React with 👍 / 👎.

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.

2 participants