Skip to content

Conversation

@tianleiwu
Copy link
Contributor

@tianleiwu tianleiwu commented Oct 15, 2025

To fix build pipeline error ModuleNotFoundError: No module named 'onnxscript._framework_apis.torch_2_9' after recent torch 2.9 release.

This locks torch version to 2.8, and also updates onnxscript and onnx-ir to latest versions.

I locked torchvision version since it is usually installed with torch together. If torch and torchvision are not compatible, there might be errors in transformers script.

hariharans29
hariharans29 previously approved these changes Oct 15, 2025
snnn
snnn previously approved these changes Oct 15, 2025
@tianleiwu tianleiwu dismissed stale reviews from snnn and hariharans29 via 9b784d3 October 15, 2025 19:56
@tianleiwu tianleiwu merged commit 036fde0 into main Oct 15, 2025
92 checks passed
@tianleiwu tianleiwu deleted the tlwu/onnxscript_torch_version branch October 15, 2025 21:40
snnn pushed a commit that referenced this pull request Oct 20, 2025
To fix build pipeline error `ModuleNotFoundError: No module named
'onnxscript._framework_apis.torch_2_9'` after recent torch 2.9 release.

This locks torch version to 2.8, and also updates onnxscript and onnx-ir
to latest versions.

I locked torchvision version since it is usually installed with torch
together. If torch and torchvision are not compatible, there might be
errors in transformers script.
apsonawane pushed a commit that referenced this pull request Oct 20, 2025
To fix build pipeline error `ModuleNotFoundError: No module named
'onnxscript._framework_apis.torch_2_9'` after recent torch 2.9 release.

This locks torch version to 2.8, and also updates onnxscript and onnx-ir
to latest versions.

I locked torchvision version since it is usually installed with torch
together. If torch and torchvision are not compatible, there might be
errors in transformers script.
apsonawane added a commit that referenced this pull request Oct 21, 2025
Adds the following commits to the release-1.23.2 branch for ORT 1.23.2:

- [TensorRT] Fix DDS output bug during engine update
  - PR: #26272
  - commit id: 00e85dd
- Fix shape inference failure with in-memory external data
   - PR: #26263
   - commit id: d955476
- [CUDA] replace 90a-virtual by 90-virtual for forward compatible 
  - PR: #26230
  - commit id: b58911f
- [QNN-EP] Fix logic flow bug
  - PR: #26148
  - commit id: b282379
- Internal Dupe of #25255 - [MLAS] Optimize MlasConv using thread
partition opt
  - PR: #26103
  - commit id: 7362518
- Update qMoE spec to support block quantization
  - PR: #25641
  - commit id: 7a8ffa8
- [VitisAI] add new api to VitisAI to save graph as a string
  - PR: #25602
  - commit id: 3361d72
- [[Build] Lock torch, onnxscript and onnx-ir versions to latest]
  - PR: #26315
  - commit id: ea69c4d

---------

Co-authored-by: Hariharan Seshadri <shariharan91@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
Co-authored-by: Yateng Hong <toothache9010@gmail.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
Co-authored-by: Dmitri Smirnov <dmitrism@microsoft.com>
Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
Co-authored-by: quic-calvnguy <quic_calvnguy@quicinc.com>
Co-authored-by: quic_calvnguy <quic_calvnguy@quic_inc.com>
Co-authored-by: yifei410 <31260809+yifei410@users.noreply.github.com>
Co-authored-by: yifei <y.zhou@xilinx.com>
@apsonawane
Copy link
Contributor

Cherry-picked for 1.23.2. Removing the release tag and adding cherry-pick tag

@apsonawane apsonawane added cherry-picked Cherry-picked for a cherrypicks branch and removed release:1.23.2 labels Oct 21, 2025
fs-eire pushed a commit that referenced this pull request Oct 24, 2025
To fix build pipeline error `ModuleNotFoundError: No module named
'onnxscript._framework_apis.torch_2_9'` after recent torch 2.9 release.

This locks torch version to 2.8, and also updates onnxscript and onnx-ir
to latest versions.

I locked torchvision version since it is usually installed with torch
together. If torch and torchvision are not compatible, there might be
errors in transformers script.
naomiOvad pushed a commit to naomiOvad/onnxruntime that referenced this pull request Nov 2, 2025
…oft#26315)

To fix build pipeline error `ModuleNotFoundError: No module named
'onnxscript._framework_apis.torch_2_9'` after recent torch 2.9 release.

This locks torch version to 2.8, and also updates onnxscript and onnx-ir
to latest versions.

I locked torchvision version since it is usually installed with torch
together. If torch and torchvision are not compatible, there might be
errors in transformers script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked Cherry-picked for a cherrypicks branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants