Skip to content

Studio tests: skip the packing-pool veto test without unsloth_zoo - #18317

Closed
shimmyshimmer wants to merge 3 commits into
mainfrom
fix-packing-veto-test-skip
Closed

shimmyshimmer wants to merge 3 commits into
mainfrom
fix-packing-veto-test-skip

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

test_the_batched_packing_pool_asks_the_same_veto (added in #17701) calls multi_lora_trainer._pack_num_proc, which imports core.training.trainer and therefore needs unsloth_zoo. The Python 3.13 backend shard has no unsloth_zoo, so the test errors there with ImportError: Unsloth: Please install unsloth_zoo via pip install unsloth_zoo then retry!, turning the a-f shard red for every Studio PR built on current main.

This skips the test when core.training.trainer cannot be imported, the same way other trainer-dependent tests in this directory guard on their imports. Where unsloth_zoo is installed the test runs unchanged.

Verification, venv with torch and the Studio requirements but no unsloth_zoo:

main this branch
test_the_batched_packing_pool_asks_the_same_veto failed (ImportError) skipped, reason names unsloth_zoo

Seen first on the staging run for #18142.

@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T13:32:05.485836Z ee4607f Manual request
ℹ️ 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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 2bb91c121b

ℹ️ 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".

@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: ee4607f306

ℹ️ 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".

danielhanchen added a commit to 0xalkinun/unsloth that referenced this pull request Nov 18, 2026
…h_zoo (main regression blocking this PR's CI)
@shimmyshimmer

Copy link
Copy Markdown
Member Author

Superseded by #18338, which landed a skip helper for these tests on main.

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