Skip to content

CI(deps): bump torch (cpu) to 2.10.0#5273

Queued
njzjz wants to merge 2 commits intodeepmodeling:masterfrom
njzjz:torch-2.10.0
Queued

CI(deps): bump torch (cpu) to 2.10.0#5273
njzjz wants to merge 2 commits intodeepmodeling:masterfrom
njzjz:torch-2.10.0

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Feb 27, 2026

Summary by CodeRabbit

  • Chores
    • Pinned the CPU build of PyTorch to version 2.10.0 to match existing GPU pinning; platform-specific (Darwin/Linux) handling remains unchanged, ensuring consistent runtime behavior across supported platforms.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@ustc.edu.cn>
Copilot AI review requested due to automatic review settings February 27, 2026 04:10
@dosubot dosubot bot added the build label Feb 27, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8657dc9 and 9c62a39.

📒 Files selected for processing (1)
  • pyproject.toml
🚧 Files skipped from review as they are similar to previous changes (1)
  • pyproject.toml

📝 Walkthrough

Walkthrough

The PyTorch CPU version constraint in pyproject.toml is changed for non-Darwin/Linux platforms from a range (>=2.8,<2.10) to an exact pin (==2.10.0), aligning CPU pinning with the existing GPU pin version.

Changes

Cohort / File(s) Summary
PyTorch Version Configuration
pyproject.toml
Updated pin_pytorch_cpu for non-Darwin/Linux from >=2.8,<2.10 to ==2.10.0 (CPU pin now exact match with GPU pin).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • caic99
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating PyTorch CPU dependency to version 2.10.0 in the project configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CPU PyTorch dependency pin to target a newer Torch release for non-macOS-x86_64 environments.

Changes:

  • Tightens the pin_pytorch_cpu constraint from a version range to an exact torch==2.10.0 for non-macOS-x86_64 platforms.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.00%. Comparing base (21d2b1a) to head (9c62a39).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5273   +/-   ##
=======================================
  Coverage   82.00%   82.00%           
=======================================
  Files         750      750           
  Lines       75215    75215           
  Branches     3615     3615           
=======================================
  Hits        61680    61680           
  Misses      12372    12372           
  Partials     1163     1163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@njzjz njzjz requested a review from wanghan-iapcm February 27, 2026 17:33
@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants