You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/06/01 07:31:33 UTC

[incubator-dlab] 02/02: [DLAB-1810]: changed cntk version and link

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

lfrolov pushed a commit to branch DLAB-1810
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 9f211798ce2e05f02ca6b60caa311cfadc3f2d2e
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Jun 1 10:31:06 2020 +0300

    [DLAB-1810]: changed cntk version and link
---
 infrastructure-provisioning/src/general/conf/dlab.ini               | 6 ++++--
 .../src/general/lib/os/debian/notebook_lib.py                       | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/general/conf/dlab.ini b/infrastructure-provisioning/src/general/conf/dlab.ini
index 796d943..cfc4741 100644
--- a/infrastructure-provisioning/src/general/conf/dlab.ini
+++ b/infrastructure-provisioning/src/general/conf/dlab.ini
@@ -256,9 +256,11 @@ caffe2_version = 1.5
 pytorch_branch = release/1.5
 ### Cmake version for DeepLearning notebook
 cmake_version = 3.15.5
-### CNTK library version for DeepLearning notebook
+### CNTK library version for DeepLearning notebook for python2
 ### All releases 2.4+ officially only support Ubuntu 16.04.
-cntk_version = 2.7.0
+cntk2_version = 2.3.1
+### CNTK library version for DeepLearning notebook for python3
+cntk_version = 2.7
 ### MXNet library version for DeepLearning notebook
 mxnet_version = 1.3.1
 ### Keras library version for Tensor/DeepLearning notebook
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 7a876c2..2aa7877 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -468,8 +468,8 @@ def install_caffe2(os_user, caffe2_version, cmake_version):
 
 def install_cntk(os_user, 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(cntk_version))
-        sudo('pip3 install https://cntk.ai/PythonWheel/GPU/cntk-{}-cp36-cp36m-linux_x86_64.whl --no-cache-dir'.format(cntk_version))
+        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-win_amd64.whl --no-cache-dir'.format(cntk_version))
         sudo('touch /home/{}/.ensure_dir/cntk_ensured'.format(os_user))
 
 


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