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 2021/11/15 08:28:28 UTC
[incubator-datalab] 01/01: [DATALAB-2594]: changed notebook_python_venv_version for azure deeplearning
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2594
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 4b5df88102a35d433376973a382f00dfd8f732e6
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Nov 15 10:28:08 2021 +0200
[DATALAB-2594]: changed notebook_python_venv_version for azure deeplearning
---
.../src/deeplearning/scripts/configure_deep_learning_node.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py b/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
index 056b1f0..98848f8 100644
--- a/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
+++ b/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
@@ -63,9 +63,10 @@ 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']
-#python_venv_version = os.environ['notebook_python_venv_version']
-python_venv_version = os.environ['notebook_python_venv_version'] if os.environ['application'] != 'deeplearning' else '3.7.12'
-python_venv_path='/opt/python/python'+python_venv_version+'/'
+if os.environ['conf_cloud_provider'] == 'azure':
+ os.environ['notebook_python_venv_version'] = '3.7.12'
+python_venv_version = os.environ['notebook_python_venv_version']
+python_venv_path = '/opt/python/python{}/'.format(python_venv_version)
if args.region == 'cn-north-1':
spark_link = "http://mirrors.hust.edu.cn/apache/spark/spark-" + spark_version + "/spark-" + spark_version + \
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org