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

[incubator-datalab] branch 2.5.1-tensor-jupyterlab updated: Updated venv pip packages

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

mhladun pushed a commit to branch 2.5.1-tensor-jupyterlab
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/2.5.1-tensor-jupyterlab by this push:
     new b3c4a96  Updated venv pip packages
b3c4a96 is described below

commit b3c4a96ca149dfb5371970bd5a0f2d86c18f6f18
Author: Marian_Hladun <ma...@epam.com>
AuthorDate: Thu Feb 17 15:27:52 2022 +0200

    Updated venv pip packages
---
 .../src/tensor-jupyterlab/scripts/configure_tensor-jupyterlab_node.py  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/tensor-jupyterlab/scripts/configure_tensor-jupyterlab_node.py b/infrastructure-provisioning/src/tensor-jupyterlab/scripts/configure_tensor-jupyterlab_node.py
index 6d970a7..4aa7d71 100644
--- a/infrastructure-provisioning/src/tensor-jupyterlab/scripts/configure_tensor-jupyterlab_node.py
+++ b/infrastructure-provisioning/src/tensor-jupyterlab/scripts/configure_tensor-jupyterlab_node.py
@@ -71,7 +71,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 jupyterlab==3.2.9 tensorflow==2.5.0 tflite==2.4.0 tflite-runtime=2.5.0' # python3-opencv
+venv_libs = 'numpy scipy matplotlib pandas scikit-learn opencv-python jupyterlab==3.2.9 tensorflow==2.5.0' # tflite==2.4.0 python3-opencv
 jupyterlab_pip = 'jupyterlab'
 
 ##############
@@ -153,6 +153,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')
 
     print("Configure jupyterlab with tensorflow,tflite")
     configure_jupyterlab(args.os_user, jupyterlab_conf_file, templates_dir, jupyterlab_version, args.exploratory_name)

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