-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[ONNX] fix the CI job for onnx #22946
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
Conversation
scripts/onnx/test.sh
Outdated
| pip install ninja --user | ||
| # ninja is installed in /var/lib/jenkins/.local/bin | ||
|
|
||
| # JIT C++ extensions require ninja, and put it into PATH. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this line as well?
.jenkins/caffe2/test.sh
Outdated
| ##################### | ||
| if [[ "$BUILD_ENVIRONMENT" == *onnx* ]]; then | ||
| pip install -q --user git+https://github.com/pytorch/vision.git | ||
| pip install --user ninja |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add -q
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@houseroad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@houseroad merged this pull request in b96610b. |
ONNX uses virtualenv, and PyTorch doesn't. So --user flag is causing problems in ONNX ci...
Fixing it by moving it to pytorch only scripts. And will install ninja in onnx ci separately.