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/02 20:07:50 UTC
[incubator-dlab] branch DLAB-1810 updated (7dc705a -> 4c1ee4f)
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a change to branch DLAB-1810
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.
from 7dc705a [DLAB-1810]: added cntk version for py2
new 802675a [DLAB-1810]: changed cntk-gpu link
new 4c1ee4f [DLAB-1810]: added some luarocks dependencies
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/deeplearning/scripts/configure_deep_learning_node.py | 3 +++
.../src/general/lib/os/debian/notebook_lib.py | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org
[incubator-dlab] 02/02: [DLAB-1810]: added some luarocks
dependencies
Posted by lf...@apache.org.
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 4c1ee4f77a42beb606a6d29182e0c01f1d9e54ea
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Jun 2 23:07:21 2020 +0300
[DLAB-1810]: added some luarocks dependencies
---
.../src/deeplearning/scripts/configure_deep_learning_node.py | 3 +++
infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 4 ++--
2 files changed, 5 insertions(+), 2 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 2c1f450..b64dc6d 100644
--- a/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
+++ b/infrastructure-provisioning/src/deeplearning/scripts/configure_deep_learning_node.py
@@ -84,6 +84,9 @@ def install_itorch(os_user):
if not exists('/home/{}/.ensure_dir/itorch_ensured'.format(os_user)):
run('git clone https://github.com/facebook/iTorch.git')
with cd('/home/{}/iTorch/'.format(os_user)):
+ run('luarocks install luacrypto')
+ run('luarocks install uuid')
+ run('luarocks install lzmq')
run('luarocks make')
sudo('cp -rf /home/{0}/.ipython/kernels/itorch/ /home/{0}/.local/share/jupyter/kernels/'.format(os_user))
sudo('chown -R {0}:{0} /home/{0}/.local/share/jupyter/'.format(os_user))
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 3ee8110..1b42737 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -238,10 +238,10 @@ def ensure_python2_libraries(os_user):
if not exists('/home/' + os_user + '/.ensure_dir/python2_libraries_ensured'):
try:
try:
- manage_pkg('-y install', 'remote', 'libssl-dev python-virtualenv')
+ manage_pkg('-y install', 'remote', 'libssl1.0-dev python-virtualenv')
except:
sudo('pip2 install virtualenv --no-cache-dir')
- manage_pkg('-y install', 'remote', 'libssl-dev')
+ manage_pkg('-y install', 'remote', 'libssl1.0-dev')
try:
sudo('pip2 install tornado=={0} ipython ipykernel=={1} --no-cache-dir' \
.format(os.environ['notebook_tornado_version'], os.environ['notebook_ipykernel_version']))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org
[incubator-dlab] 01/02: [DLAB-1810]: changed cntk-gpu link
Posted by lf...@apache.org.
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 802675a231ea3655decfe0e4588375b7a463932f
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Jun 2 15:24:50 2020 +0300
[DLAB-1810]: changed cntk-gpu link
---
infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 ad6aa5a..3ee8110 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -469,7 +469,7 @@ 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-win_amd64.whl --no-cache-dir'.format(cntk_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('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