mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Pin beartype version (#17599)
PyTorch doesn't like the latest beartype: https://github.com/pytorch/pytorch/pull/109510
This commit is contained in:
parent
d350ab31d7
commit
068300d97e
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ export ONNX_ML=1
|
|||
export CMAKE_ARGS="-DONNX_GEN_PB_TYPE_STUBS=OFF -DONNX_WERROR=OFF"
|
||||
|
||||
/opt/python/cp39-cp39/bin/python3.9 -m pip install transformers
|
||||
# beartype is installed here so that onnxscript installation step won't
|
||||
# install a version PyTorch doesn't like. Once beartype fixes this problem.
|
||||
# We can remove this line.
|
||||
/opt/python/cp39-cp39/bin/python3.9 -m pip install beartype==0.15.0
|
||||
|
||||
cd /usr/local/
|
||||
echo "Cloning ONNX Script"
|
||||
|
|
|
|||
Loading…
Reference in a new issue