You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by mh...@apache.org on 2021/11/30 10:48:47 UTC

[incubator-datalab] 01/01: DLAB-2620

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

mhladun pushed a commit to branch DATALAB-2620
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit eb48c5501572c954a761d66d0365ac187ae18184
Author: Marian_Hladun <ma...@gmail.com>
AuthorDate: Tue Nov 30 12:48:33 2021 +0200

    DLAB-2620
---
 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 3f6ad1e..75011c7 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -532,7 +532,7 @@ def install_caffe2(os_user, caffe2_version, cmake_version):
             'pip3 install flask graphviz hypothesis jupyter matplotlib=={} pydot python-nvd3 pyyaml requests scikit-image '
             'scipy tornado --no-cache-dir'.format(os.environ['notebook_matplotlib_version']))
         if os.environ['application'] == 'deeplearning':
-            datalab.fab.conn.sudo('apt install -y cmake')
+            manage_pkg('-y install', 'remote', 'cmake')
             datalab.fab.conn.sudo('pip3 install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
         else:
             # datalab.fab.conn.sudo('mkdir /opt/cuda-{}'.format(os.environ['notebook_cuda_version']))

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