-
Notifications
You must be signed in to change notification settings - Fork 267
fix CI fallout from MLX subpackage refactor (#634) #646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3fe5aa8
fix CI fallout from MLX subpackage refactor (#634)
danielhanchen 196a78b
tests/conftest: also stub unsloth.device_type on CPU-only runners
danielhanchen 7addc21
tests/conftest: don't stub unsloth.device_type after all
danielhanchen 93e37f9
device_type: mirror UNSLOTH_ALLOW_CPU=1 gate from unsloth #5429
danielhanchen 3f42184
prod: graceful no-op for two transformers 5.x runtime bugs
danielhanchen 18c9f62
tests: version-gate transformers-5.x drift detectors
danielhanchen 11324ad
tests: also gate test_MinistralAttention_forward_signature on 5.x
danielhanchen e74043d
tests: probe Ministral stash + skip relaxed-wrapper case
danielhanchen cb1c6ce
Merge remote-tracking branch 'origin/main' into fix/post-mlx-refactor…
danielhanchen 4eae0a2
tests: gate qwen2_5_vl image-processor drift on 5.x
danielhanchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the latest-HF CI runs on Transformers 5.x where
PreTrainedModel.save_pretrainedhas also droppedstate_dict_split = split_torch_state_dict_into_shards, the new production fallback treats that missing anchor as recoverable, buttest_saving_utils_save_pretrained_state_dict_split_pinned_stringabove this block still calls_driftunconditionally before the 5.x handling added here for the later anchors. That leaves the 5.x job failing withDRIFT DETECTEDdespite the intended fallback; add the same_TX_IS_5Xpositive-assertion/return for thestate_dict_splittest.Useful? React with 👍 / 👎.