-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Replace reference to python 3.8 with python 3.10 #22692
Merged
Merged
Conversation
This file contains 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
Thanks for taking care of it. |
…eps.sh to remove python3.13
jchen351
commented
Nov 1, 2024
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps.sh
Outdated
Show resolved
Hide resolved
Comment on lines
347
to
362
# def test_mul_precision(self): | ||
# graph_input = onnx.helper.make_tensor_value_info("input", TensorProto.FLOAT, [1024]) | ||
# graph_output = onnx.helper.make_tensor_value_info("output", TensorProto.FLOAT, None) | ||
# | ||
# # initializers | ||
# value = numpy.array([0.5], dtype=numpy.float32) | ||
# constant = numpy_helper.from_array(value, name="constant") | ||
# | ||
# nodes = [ | ||
# # Get the shape of the input tensor: `input_tensor_shape = [1024]`. | ||
# onnx.helper.make_node("Shape", ["input"], ["input_shape"]), | ||
# # mul(1024, 0.5) => 512 | ||
# onnx.helper.make_node("Mul", ["input_shape", "constant"], ["output_shape"]), | ||
# # Resize input | ||
# onnx.helper.make_node( | ||
# "Resize", inputs=["input", "", "", "output_shape"], outputs=["output"], mode="nearest" |
Check notice
Code scanning / CodeQL
Commented-out code Note test
This comment appears to contain commented-out code.
Comment on lines
372
to
387
# def test_div_precision(self): | ||
# graph_input = onnx.helper.make_tensor_value_info("input", TensorProto.FLOAT, [768]) | ||
# graph_output = onnx.helper.make_tensor_value_info("output", TensorProto.FLOAT, None) | ||
# | ||
# # initializers | ||
# value = numpy.array([1.5], dtype=numpy.float32) | ||
# constant = numpy_helper.from_array(value, name="constant") | ||
# | ||
# nodes = [ | ||
# # Get the shape of the input tensor: `input_tensor_shape = [768]`. | ||
# onnx.helper.make_node("Shape", ["input"], ["input_shape"]), | ||
# # div(768, 1.5) => 512 | ||
# onnx.helper.make_node("Div", ["input_shape", "constant"], ["output_shape"]), | ||
# # Resize input | ||
# onnx.helper.make_node( | ||
# "Resize", inputs=["input", "", "", "output_shape"], outputs=["output"], mode="nearest" |
Check notice
Code scanning / CodeQL
Commented-out code Note test
This comment appears to contain commented-out code.
snnn
reviewed
Nov 5, 2024
onnxruntime/test/python/onnxruntime_test_python_symbolic_shape_infer.py
Outdated
Show resolved
Hide resolved
snnn
reviewed
Nov 5, 2024
tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml
Outdated
Show resolved
Hide resolved
# Conflicts: # onnxruntime/test/python/onnxruntime_test_python_symbolic_shape_infer.py
snnn
reviewed
Nov 6, 2024
tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml
Outdated
Show resolved
Hide resolved
snnn
approved these changes
Nov 8, 2024
ishwar-raut1
pushed a commit
to ishwar-raut1/onnxruntime
that referenced
this pull request
Nov 19, 2024
### Description This PR will set default python to 3.10 except tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml. This is needed because we are no longer using python 3.8 This PR excludes changes for Big Models CI, because it will require additional changes. Which will be track in USER STORY 52729 ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
guschmue
pushed a commit
that referenced
this pull request
Dec 2, 2024
### Description This PR will set default python to 3.10 except tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml. This is needed because we are no longer using python 3.8 This PR excludes changes for Big Models CI, because it will require additional changes. Which will be track in USER STORY 52729 ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
ankitm3k
pushed a commit
to intel/onnxruntime
that referenced
this pull request
Dec 11, 2024
### Description This PR will set default python to 3.10 except tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml. This is needed because we are no longer using python 3.8 This PR excludes changes for Big Models CI, because it will require additional changes. Which will be track in USER STORY 52729 ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
ankitm3k
pushed a commit
to intel/onnxruntime
that referenced
this pull request
Dec 11, 2024
### Description This PR will set default python to 3.10 except tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml. This is needed because we are no longer using python 3.8 This PR excludes changes for Big Models CI, because it will require additional changes. Which will be track in USER STORY 52729 ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
ankitm3k
pushed a commit
to intel/onnxruntime
that referenced
this pull request
Dec 11, 2024
### Description This PR will set default python to 3.10 except tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml. This is needed because we are no longer using python 3.8 This PR excludes changes for Big Models CI, because it will require additional changes. Which will be track in USER STORY 52729 ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR will set default python to 3.10 except tools/ci_build/github/azure-pipelines/bigmodels-ci-pipeline.yml. This is needed because we are no longer using python 3.8
This PR excludes changes for Big Models CI, because it will require additional changes. Which will be track in
USER STORY 52729
Motivation and Context