You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/02/17 11:57:12 UTC

[incubator-datalab] branch 2.5.1-tcpc-deployment updated: [DATALAB-2708]: changed how tflite-runtime is installed

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

lfrolov pushed a commit to branch 2.5.1-tcpc-deployment
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/2.5.1-tcpc-deployment by this push:
     new 0abaf47  [DATALAB-2708]: changed how tflite-runtime is installed
0abaf47 is described below

commit 0abaf47d5c8b8643d649b010eb8ec523fd80e5dd
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Feb 17 13:56:11 2022 +0200

    [DATALAB-2708]: changed how tflite-runtime is installed
---
 .../src/tensor/scripts/configure_tensor_node.py                        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py b/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py
index 973ff59..1f78787 100644
--- a/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py
+++ b/infrastructure-provisioning/src/tensor/scripts/configure_tensor_node.py
@@ -69,7 +69,7 @@ cuda_version = os.environ['notebook_cuda_version']
 cuda_file_name = os.environ['notebook_cuda_file_name']
 cudnn_version = os.environ['notebook_cudnn_version']
 cudnn_file_name = os.environ['notebook_cudnn_file_name']
-venv_libs = 'numpy scipy matplotlib pandas scikit-learn opencv-python tensorflow==2.5.0 tflite==2.5.0'
+venv_libs = 'numpy scipy matplotlib pandas scikit-learn opencv-python tensorflow==2.5.0'
 
 ##############
 # Run script #
@@ -150,6 +150,7 @@ if __name__ == "__main__":
 
     print("Install python venv required libs")
     ensure_venv_libs(args.os_user, venv_libs)
+    ensure_venv_libs(args.os_user, '--extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime==2.5.0')
 
     #POST INSTALLATION PROCESS
     print("Updating pyOpenSSL library")

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org