You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by ol...@apache.org on 2022/02/28 17:06:11 UTC

[incubator-datalab] branch gcp-jupyter-highgpu-template-1 updated: java file and description

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

olehmykolaishyn pushed a commit to branch gcp-jupyter-highgpu-template-1
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/gcp-jupyter-highgpu-template-1 by this push:
     new 4df7006  java file and description
4df7006 is described below

commit 4df70068e758aa4686c7fb5ba2f359c55d9db19f
Author: oleh_mykolaishyn <ow...@gmail.com>
AuthorDate: Mon Feb 28 19:00:37 2022 +0200

    java file and description
---
 .../src/general/files/gcp/jupyter-gpu_description.json                  | 2 +-
 .../com/epam/datalab/backendapi/service/impl/LibraryServiceImpl.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/files/gcp/jupyter-gpu_description.json b/infrastructure-provisioning/src/general/files/gcp/jupyter-gpu_description.json
index 73c3489..6c8f26d 100644
--- a/infrastructure-provisioning/src/general/files/gcp/jupyter-gpu_description.json
+++ b/infrastructure-provisioning/src/general/files/gcp/jupyter-gpu_description.json
@@ -1,5 +1,5 @@
 {
-  "exploratory_environment_shapes" :a2-highgpu-1g,
+  "exploratory_environment_shapes" :
   {
     "GPU" : [
       {"Size": "S", "Description": "a2-highgpu-1g", "Type": "a2-highgpu-1g","Ram": "85 GB","Cpu": "12"}
diff --git a/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/LibraryServiceImpl.java b/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/LibraryServiceImpl.java
index cfc5e6c..6ba4139 100644
--- a/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/LibraryServiceImpl.java
+++ b/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/LibraryServiceImpl.java
@@ -160,7 +160,7 @@ public class LibraryServiceImpl implements LibraryService {
         final String templateName = userInstanceDTO.getTemplateName();
         List<LibraryGroups> groups = new ArrayList<>(Arrays.asList(GROUP_PIP3, GROUP_OTHERS, GROUP_OS_PKG));
 
-        if (isTemplateGroup(templateName, Stream.of(JUPYTER, ZEPPELIN))) {
+        if (isTemplateGroup(templateName, Stream.of(JUPYTER, ZEPPELIN, JUPYTER_GPU))) {
             groups.addAll(Arrays.asList(GROUP_R_PKG, GROUP_JAVA));
         }
         if (isTemplateGroup(templateName, Stream.of(DEEP_LEARNING, TENSOR, TENSOR_GCP,

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