Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[CI] Limit Torch to older than 2.8 #2591

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
YifanShenSZ merged 1 commit into apple:main from YifanShenSZ:pin-torch-27
Sep 5, 2025
Merged

Conversation

@YifanShenSZ
Copy link
Collaborator

@YifanShenSZ YifanShenSZ commented Sep 5, 2025
edited
Loading

Torch has released 2.8, but we support up to 2.7.1 for now. Before we upgrade coremltools to be compatible with torch 2.8, let us limit torch < 2.8 in CI for now

CI ✅ https://gitlab.com/coremltools1/coremltools/-/commit/463b494215a5f6f9ef73e913e8d60a25fe8c472d/pipelines

@junpeiz junpeiz self-requested a review September 5, 2025 20:00
@YifanShenSZ YifanShenSZ merged commit 2256748 into apple:main Sep 5, 2025
noobsiecoder pushed a commit to noobsiecoder/coremltools that referenced this pull request Sep 10, 2025
Co-authored-by: yifan_shen3 <yifan_shen3@apple.com>
junpeiz pushed a commit that referenced this pull request Sep 11, 2025
* Fix Issue #2583: Dynamic padding in torch.nn.functional.pad
Modified _array_construct to handle dynamic padding values: Creates proper Var objects using mb.concat instead of Python lists + Fixes AttributeError when converting models with x.size(-1) padding
* limit torch to older than 2.8 for now (#2591)
Co-authored-by: yifan_shen3 <yifan_shen3@apple.com>
* Add RMSNorm operator support for PyTorch to CoreML conversion (#2585) (#2592)
* Add RMSNorm operator support for PyTorch to CoreML conversion (#2585)
* formatted code
* handles FP16 overflow for RMSNorm operation
* handle dynamic padding w/o breaking legacy code
---------
Co-authored-by: Yifan Shen <yifanshensz@jhu.edu>
Co-authored-by: yifan_shen3 <yifan_shen3@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@junpeiz junpeiz junpeiz approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /