From bcf47d354646f67decdc04f7ebb427f8343faabc Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Thu, 14 Mar 2024 17:05:50 -0700 Subject: [PATCH] Update install_deps_lort.sh to fix onnxscript installation (#19922) Install onnxscript correctly with `pip install`. Dev dependencies are not required. ### Motivation and Context Fix build breaks. --- .../github/linux/docker/scripts/manylinux/install_deps_lort.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_lort.sh b/tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_lort.sh index da8a45e00cc90..39c15338aeddb 100755 --- a/tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_lort.sh +++ b/tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_lort.sh @@ -31,8 +31,7 @@ cd /usr/local/ echo "Cloning ONNX Script" git clone --recursive https://github.com/microsoft/onnxscript.git cd onnxscript -/opt/python/cp39-cp39/bin/python3.9 -m pip install -r requirements-dev.txt -/opt/python/cp39-cp39/bin/python3.9 setup.py install +/opt/python/cp39-cp39/bin/python3.9 -m pip install . cd ~ && /opt/python/cp39-cp39/bin/python3.9 -c "import onnxscript; print(f'Installed ONNX Script: {onnxscript.__version__}')" cd /usr/local