Skip to content
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

Install ONNX by buildling source code in Windows DML stage #20079

Merged
merged 8 commits into from
Mar 27, 2024

Conversation

mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Mar 26, 2024

Description

In #20073, I use pin onnx version to unblock the whole PR CI.
In fact, we could use the onnx that installed by building source code, that the onnx version is controlled by deps.txt.
For some history reason, DML stage installed onnx from pypi. Now, the onnx can be installed as other stages.

add an option to skip installing onnx in win-ci-prebuild-step

@mszhanyi mszhanyi requested a review from a team as a code owner March 26, 2024 09:56
@mszhanyi mszhanyi changed the title Install ONNX by buildling soruce code in Windows DML stage Install ONNX by buildling source code in Windows DML stage Mar 26, 2024
snnn
snnn previously approved these changes Mar 26, 2024
@snnn snnn dismissed their stale review March 26, 2024 18:07

The "build_x64_asan" job doesn't need to install ONNX python package, since the job does not build and test python.

@mszhanyi mszhanyi force-pushed the zhanyi/installonnx1 branch from 969ef1f to ca14d0c Compare March 27, 2024 01:38
@mszhanyi mszhanyi requested a review from snnn March 27, 2024 03:51
@snnn snnn merged commit ab2eaed into main Mar 27, 2024
93 of 95 checks passed
@snnn snnn deleted the zhanyi/installonnx1 branch March 27, 2024 19:29
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
…#20079)

### Description
In microsoft#20073, I use pin onnx version to unblock the whole PR CI.
In fact, we could use the onnx that installed by building source code,
that the onnx version is controlled by deps.txt.
For some history reason, DML stage installed onnx from pypi. Now, the
onnx can be installed as other stages.

add an option to skip installing onnx in win-ci-prebuild-step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants