[ONNX] Remove common imports from torchlib (#165156)

The Rank and IsScalar functions are no longer used in the torchlib. Requires onnxscript v0.5.4

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165156
Approved by: https://github.com/Skylion007, https://github.com/cyyever
This commit is contained in:
Justin Chu
2025-10-17 03:25:31 +00:00
committed by PyTorch MergeBot
parent 861cdb887b
commit fcbde24c1c
5 changed files with 1 additions and 66 deletions

View File

@ -20,7 +20,7 @@ pip_install \
pip_install coloredlogs packaging
pip_install onnxruntime==1.23.0
pip_install onnxscript==0.5.3
pip_install onnxscript==0.5.4
# Cache the transformers model to be used later by ONNX tests. We need to run the transformers
# package to download the model. By default, the model is cached at ~/.cache/huggingface/hub/