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/05/29 12:40:26 UTC

[incubator-dlab] 03/03: [DLAB-1810]: changed torch git repository 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 eb536dd5aa8790919a4d65d320137722c9735711
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri May 29 15:40:06 2020 +0300

    [DLAB-1810]: changed torch git repository link
---
 infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 f00d20f..1cfb4ac 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -496,10 +496,8 @@ def install_mxnet(os_user, mxnet_version):
 
 def install_torch(os_user):
     if not exists('/home/{}/.ensure_dir/torch_ensured'.format(os_user)):
-        run('git clone https://github.com/torch/distro.git ~/torch --recursive')
+        run('git clone https://github.com/nagadomi/distro.git ~/torch --recursive')
         with cd('/home/{}/torch/'.format(os_user)):
-            sudo("sed -i 's|sudo apt-get install -y python-software-properties|"
-                 "# sudo apt-get install -y python-software-properties|' /home/{}/torch/install-deps".format(os_user))
             run('bash install-deps;')
             run('./install.sh -b')
         run('source /home/{}/.bashrc'.format(os_user))


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