-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Description Use python3.9.7 in windowsAI packaging pipeline. ### Motivation and Context In WindowsAI packaging pipeline, cdpxwin1809 is deprecated and it will no longer be cached from March 2023. I used the recommended image [onebranch.azurecr.io/windows/ltsc2019/vse2022:latest](https://onebranch.visualstudio.com/OneBranch/_wiki/wikis/OneBranch.wiki/4587/Container-Images?anchor=recommendation-for-windows-container-image-userst) But it always failed to pass arm32 jobs. It's very likely a regression in VS2022. One user reported a similar issue #14190. I've submitted a bug to visual studio. https://developercommunity.visualstudio.com/t/Compilation-Error-with-VS2022-ARM/10285309. For `onebranch.azurecr.io/windows/ltsc2019/vse2019:latest`, there's an exception` Error : init_sys_streams: can't initialize sys standard streams` It could be solved by updating from python3.7 to python3.9 in the pipeline. (https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=279301&view=results) The root cause might be the conflicts between different python version. The inherent python in onebranch image is python 3.9.7. (https://onebranch.visualstudio.com/OneBranch/_wiki/wikis/OneBranch.Code.Wiki/6766/manifest) ### Ref https://onebranch.visualstudio.com/OneBranch/_wiki/wikis/OneBranch.wiki/4587/Container-Images?anchor=windows-build-images ### Description <!-- Describe your changes. --> ### 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. --> Co-authored-by: Yi Zhang <[email protected]>
- Loading branch information
1 parent
8f90066
commit 8a54bee
Showing
3 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="python" version="3.7.9" targetFramework="native" /> | ||
<package id="python" version="3.9.7" targetFramework="native" /> | ||
<package id="Microsoft.AI.DirectML" version="1.10.1" targetFramework="native" /> | ||
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" /> | ||
</packages> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="pythonx86" version="3.7.9" targetFramework="native" /> | ||
<package id="pythonx86" version="3.9.7" targetFramework="native" /> | ||
<package id="Microsoft.AI.DirectML" version="1.10.1" targetFramework="native" /> | ||
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" /> | ||
</packages> |
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