Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Uninstall binary ONNX as root (#1362)
Browse files Browse the repository at this point in the history
Summary:
Before installing ONNX from source uninstall previous binary installation
Pull Request resolved: #1362

Reviewed By: malfet

Differential Revision: D21548624

Pulled By: cakkaya

fbshipit-source-id: 283454f6517925bf6ef799a7380e561e2b341b3e
  • Loading branch information
malfet authored and facebook-github-bot committed May 13, 2020
1 parent 56d8e4b commit 8d71f18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ _run:
if [ "${CIRCLE_JOB}" == "build_Py3.7" ]; then
sudo pip uninstall -y typing
fi
sudo pip uninstall -y onnx
# Instal onnx pip from source
MAX_JOBS=4 pip install git+https://github.com/onnx/onnx
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fvcore
hypothesis<4.0
joblib
numpy
onnx==1.6.0
onnx>=1.6.0
# pytorch-pretrained-bert requires python-dateutil < 2.8.1
python-dateutil==2.8.0
pandas
Expand Down

0 comments on commit 8d71f18

Please sign in to comment.