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/01/19 09:26:52 UTC
[incubator-datalab] 01/01: [DATALAB-2221]: changed cntk version for
python2 and how cntk is installed
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2221
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 5df85d7782abf1b3c5ba2da004bf4a6d854325f7
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Jan 19 11:26:31 2021 +0200
[DATALAB-2221]: changed cntk version for python2 and how cntk is installed
---
infrastructure-provisioning/src/general/conf/datalab.ini | 2 +-
infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/infrastructure-provisioning/src/general/conf/datalab.ini b/infrastructure-provisioning/src/general/conf/datalab.ini
index e74760c..91249b0 100644
--- a/infrastructure-provisioning/src/general/conf/datalab.ini
+++ b/infrastructure-provisioning/src/general/conf/datalab.ini
@@ -266,7 +266,7 @@ pytorch_branch = release/1.5
cmake_version = 3.15.5
### CNTK library version for DeepLearning notebook for python2
### All releases 2.4+ officially only support Ubuntu 16.04.
-cntk2_version = 2.3.1
+cntk2_version = 2.5
### CNTK library version for DeepLearning notebook for python3
cntk_version = 2.7
### MXNet library version for DeepLearning notebook for python
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 8375cb3..52a4359 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -525,8 +525,8 @@ def install_caffe2(os_user, caffe2_version, cmake_version):
def install_cntk(os_user, cntk2_version, cntk_version):
if not exists('/home/{}/.ensure_dir/cntk_ensured'.format(os_user)):
- sudo('pip2 install https://cntk.ai/PythonWheel/GPU/cntk-{}-cp27-cp27mu-linux_x86_64.whl --no-cache-dir'.format(cntk2_version))
- sudo('pip3 install https://cntk.ai/PythonWheel/GPU/cntk_gpu-{}.post1-cp36-cp36m-manylinux1_x86_64.whl --no-cache-dir'.format(cntk_version))
+ sudo('pip2 install cntk=={} --no-cache-dir'.format(cntk2_version))
+ sudo('pip3 install cntk-gpu=={} --no-cache-dir'.format(cntk_version))
sudo('touch /home/{}/.ensure_dir/cntk_ensured'.format(os_user))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org