-
Notifications
You must be signed in to change notification settings - Fork 3.5k
support python 3.9 #4944
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
Merged
support python 3.9 #4944
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
bbb4b41
support python 3.9
Borda 76e0e60
update CI
Borda a1f1676
onnxruntime
Borda 647bfdb
.
Borda ab09e0e
.
Borda 584614d
onnxruntime
Borda ff010d7
t 55
Borda 2596198
t 75
Borda 572f6aa
add script
Borda 3b0b161
use
Borda 3294506
onnx
Borda a4a8b2f
onnx
Borda c1df012
onnx
Borda cd1bd24
whl
Borda 0cc4edd
np
Borda 352aaa8
find
Borda 5cf81e0
21
Borda b6193b6
Apply suggestions from code review
Borda 8d470c6
Apply suggestions from code review
Borda 41c00dd
onnx
Borda bd7eb04
CI
Borda c13681a
req
Borda bcc0b5d
~ dockers
Borda 2b94910
min
Borda 86e85ad
.
Borda 7f9452c
drop horovod
Borda 3a6c339
drop horovod
Borda 22c472b
drop horovod
Borda 67d5cfa
fix
Borda 9b9468d
fix
Borda 30614d9
.
Borda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
File renamed without changes.
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/usr/bin/env bash | ||
|
||
ROOT=$PWD | ||
|
||
# python -m pip install protobuf | ||
# git clone --recursive https://github.com/onnx/onnx.git | ||
# cd onnx | ||
# python setup.py bdist_wheel | ||
# pip install --upgrade dist/*.whl | ||
# cd $ROOT | ||
# rm -rf onnx | ||
|
||
|
||
# https://github.com/microsoft/onnxruntime/blob/master/BUILD.md | ||
git clone --recursive https://github.com/Microsoft/onnxruntime | ||
cd onnxruntime | ||
export ONNX_ML=1 | ||
pip install setuptools wheel numpy | ||
|
||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then | ||
./build.sh --config RelWithDebInfo --build_shared_lib --build_wheel --parallel | ||
elif [[ "$OSTYPE" == "darwin"* ]]; then | ||
# Mac OSX | ||
./build.sh --config RelWithDebInfo --build_shared_lib --build_wheel --parallel --use_xcode | ||
elif [[ "$OSTYPE" == "cygwin" ]]; then | ||
# POSIX compatibility layer and Linux environment emulation for Windows | ||
./build.sh --config RelWithDebInfo --build_shared_lib --build_wheel --parallel | ||
elif [[ "$OSTYPE" == "msys" ]]; then | ||
# Lightweight shell and GNU utilities compiled for Windows (part of MinGW) | ||
.\build.bat --config RelWithDebInfo --build_shared_lib --build_wheel --parallel | ||
elif [[ "$OSTYPE" == "win32" ]]; then | ||
.\build.bat --config RelWithDebInfo --build_shared_lib --build_wheel --parallel | ||
else | ||
echo $OSTYPE # Unknown. | ||
fi | ||
|
||
find . -name "*.whl" | ||
pip install --upgrade $(find . -name "*.whl") | ||
|
||
cd $ROOT | ||
rm -rf onnxruntime |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.