You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/07/12 21:48:09 UTC

[tvm] 24/47: fixup! Split TFLite runtime deps away from python

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit e655deab116f98e11b6db4f164ed56999c5d5bd3
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Wed Jun 8 20:53:50 2022 -0700

    fixup! Split TFLite runtime deps away from python
---
 docker/install/ubuntu_install_tflite_runtime.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker/install/ubuntu_install_tflite_runtime.sh b/docker/install/ubuntu_install_tflite_runtime.sh
index a7a61497df..cc5ce65f60 100755
--- a/docker/install/ubuntu_install_tflite_runtime.sh
+++ b/docker/install/ubuntu_install_tflite_runtime.sh
@@ -19,10 +19,11 @@
 set -e
 set -u
 set -o pipefail
+set -x
 
 # The tflite version should have matched versions to the tensorflow
 # version installed from pip in ubuntu_install_tensorflow.sh
-TENSORFLOW_VERSION=$(python3 -c "import tensorflow; print(tensorflow.__version__)" 2> /dev/null)
+TENSORFLOW_VERSION=$("${TVM_VENV}/bin/python3" -c "import tensorflow; print(tensorflow.__version__)" 2> /dev/null)
 
 # Download, build and install flatbuffers
 git clone --branch=v1.12.0 --depth=1 --recursive https://github.com/google/flatbuffers.git