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


The following commit(s) were added to refs/heads/areusch/freeze-dependencies by 
this push:
     new e179a30aab fixup! Split TFLite runtime deps away from python
e179a30aab is described below

commit e179a30aab037b4065f1b638c0663fddd637c034
Author: Andrew Reusch <areu...@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

Reply via email to