Skip to content

Commit 3f835fb

Browse files
Derive pytorch back from cuda data science notebook (#112)
1 parent 6332c3b commit 3f835fb

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

Makefile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ jupyter-minimal-ubi8-python-3.8: base-ubi8-python-3.8
5757
jupyter-datascience-ubi8-python-3.8: jupyter-minimal-ubi8-python-3.8
5858
$(call image,$@,jupyter/datascience/ubi8-python-3.8,$<)
5959

60-
# Build and push jupyter-pytorch-ubi8-python-3.8 image to the registry
61-
.PHONY: jupyter-pytorch-ubi8-python-3.8
62-
jupyter-pytorch-ubi8-python-3.8: jupyter-datascience-ubi8-python-3.8
63-
$(call image,$@,jupyter/pytorch/ubi8-python-3.8,$<)
64-
6560
# Build and push cuda-ubi8-python-3.8 image to the registry
6661
.PHONY: cuda-ubi8-python-3.8
6762
cuda-ubi8-python-3.8: base-ubi8-python-3.8
@@ -83,6 +78,11 @@ cuda-jupyter-datascience-ubi8-python-3.8: cuda-jupyter-minimal-ubi8-python-3.8
8378
cuda-jupyter-tensorflow-ubi8-python-3.8: cuda-jupyter-datascience-ubi8-python-3.8
8479
$(call image,$@,jupyter/tensorflow/ubi8-python-3.8,$<)
8580

81+
# Build and push jupyter-pytorch-ubi8-python-3.8 image to the registry
82+
.PHONY: jupyter-pytorch-ubi8-python-3.8
83+
jupyter-pytorch-ubi8-python-3.8: cuda-jupyter-datascience-ubi9-python-3.9
84+
$(call image,$@,jupyter/pytorch/ubi8-python-3.8,$<)
85+
8686
# Build and push runtime-datascience-ubi8-python-3.8 image to the registry
8787
.PHONY: runtime-datascience-ubi8-python-3.8
8888
runtime-datascience-ubi8-python-3.8: base-ubi8-python-3.8
@@ -115,11 +115,6 @@ jupyter-minimal-ubi9-python-3.9: base-ubi9-python-3.9
115115
jupyter-datascience-ubi9-python-3.9: jupyter-minimal-ubi9-python-3.9
116116
$(call image,$@,jupyter/datascience/ubi9-python-3.9,$<)
117117

118-
# Build and push jupyter-pytorch-ubi9-python-3.9 image to the registry
119-
.PHONY: jupyter-pytorch-ubi9-python-3.9
120-
jupyter-pytorch-ubi9-python-3.9: jupyter-datascience-ubi9-python-3.9
121-
$(call image,$@,jupyter/pytorch/ubi9-python-3.9,$<)
122-
123118
# Build and push cuda-ubi9-python-3.9 image to the registry
124119
.PHONY: cuda-ubi9-python-3.9
125120
cuda-ubi9-python-3.9: base-ubi9-python-3.9
@@ -140,6 +135,11 @@ cuda-jupyter-datascience-ubi9-python-3.9: cuda-jupyter-minimal-ubi9-python-3.9
140135
cuda-jupyter-tensorflow-ubi9-python-3.9: cuda-jupyter-datascience-ubi9-python-3.9
141136
$(call image,$@,jupyter/tensorflow/ubi9-python-3.9,$<)
142137

138+
# Build and push jupyter-pytorch-ubi9-python-3.9 image to the registry
139+
.PHONY: jupyter-pytorch-ubi9-python-3.9
140+
jupyter-pytorch-ubi9-python-3.9: cuda-jupyter-datascience-ubi9-python-3.9
141+
$(call image,$@,jupyter/pytorch/ubi9-python-3.9,$<)
142+
143143
# Build and push jupyter-trustyai-ubi9-python-3.9 image to the registry
144144
.PHONY: jupyter-trustyai-ubi9-python-3.9
145145
jupyter-trustyai-ubi9-python-3.9: jupyter-datascience-ubi9-python-3.9
@@ -390,3 +390,4 @@ refresh-pipfilelock-files:
390390
cd runtimes/tensorflow/ubi8-python-3.8 && pipenv lock
391391
cd runtimes/tensorflow/ubi9-python-3.9 && pipenv lock
392392
cd base/c9s-python-3.9 && pipenv lock
393+

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ graph TB
1616
base-ubi8-python-3.8("Notebooks Base<br/>(base-ubi8-python-3.8)");
1717
jupyter-minimal-ubi8-python-3.8("Minimal Notebook<br/>(jupyter-minimal-ubi8-python-3.8)");
1818
jupyter-datascience-ubi8-python-3.8("Data Science Notebook<br/>(jupyter-datascience-ubi8-python-3.8)");
19-
jupyter-pytorch-ubi8-python-3.8("PyTorch Notebook<br/>(jupyter-pytorch-ubi8-python-3.8)");
2019
2120
%% Edges
2221
ubi8-python-3.8 --> base-ubi8-python-3.8;
@@ -30,12 +29,14 @@ graph TB
3029
cuda-ubi8-python-3.8("CUDA Notebooks Base<br/>(cuda-ubi8-python-3.8)");
3130
cuda-jupyter-minimal-ubi8-python-3.8("CUDA Minimal Notebook<br/>(cuda-jupyter-minimal-ubi8-python-3.8)");
3231
cuda-jupyter-datascience-ubi8-python-3.8("CUDA Data Science Notebook<br/>(cuda-jupyter-datascience-ubi8-python-3.8)");
32+
cuda-jupyter-pytorch-ubi8-python-3.8("PyTorch Notebook<br/>(cuda-jupyter-pytorch-ubi8-python-3.8)");
3333
cuda-jupyter-tensorflow-ubi8-python-3.8("CUDA TensorFlow Notebook<br/>(cuda-jupyter-tensorflow-ubi8-python-3.8)");
3434
3535
%% Edges
3636
base-ubi8-python-3.8 --> cuda-ubi8-python-3.8;
3737
cuda-ubi8-python-3.8 --> cuda-jupyter-minimal-ubi8-python-3.8;
3838
cuda-jupyter-minimal-ubi8-python-3.8 --> cuda-jupyter-datascience-ubi8-python-3.8;
39+
cuda-jupyter-datascience-ubi8-python-3.8 --> cuda-jupyter-pytorch-ubi8-python-3.8;
3940
cuda-jupyter-datascience-ubi8-python-3.8 --> cuda-jupyter-tensorflow-ubi8-python-3.8;
4041
end
4142
@@ -62,14 +63,12 @@ graph TB
6263
base-ubi9-python-3.9("Notebooks Base<br/>(base-ubi9-python-3.9)");
6364
jupyter-minimal-ubi9-python-3.9("Minimal Notebook<br/>(jupyter-minimal-ubi9-python-3.9)");
6465
jupyter-datascience-ubi9-python-3.9("Data Science Notebook<br/>(jupyter-datascience-ubi9-python-3.9)");
65-
jupyter-pytorch-ubi9-python-3.9("PyTorch Notebook<br/>(jupyter-pytorch-ubi9-python-3.9)");
6666
jupyter-trustyai-ubi9-python-3.9("TrustyAI Notebook<br/>(jupyter-trustyai-ubi9-python-3.9)");
6767
6868
%% Edges
6969
ubi9-python-3.9 --> base-ubi9-python-3.9;
7070
base-ubi9-python-3.9 --> jupyter-minimal-ubi9-python-3.9;
7171
jupyter-minimal-ubi9-python-3.9 --> jupyter-datascience-ubi9-python-3.9;
72-
jupyter-datascience-ubi9-python-3.9 --> jupyter-pytorch-ubi9-python-3.9;
7372
jupyter-datascience-ubi9-python-3.9 --> jupyter-trustyai-ubi9-python-3.9;
7473
end
7574
@@ -78,12 +77,14 @@ graph TB
7877
cuda-ubi9-python-3.9("CUDA Notebooks Base<br/>(cuda-ubi9-python-3.9)");
7978
cuda-jupyter-minimal-ubi9-python-3.9("CUDA Minimal Notebook<br/>(cuda-jupyter-minimal-ubi9-python-3.9)");
8079
cuda-jupyter-datascience-ubi9-python-3.9("CUDA Data Science Notebook<br/>(cuda-jupyter-datascience-ubi9-python-3.9)");
80+
cuda-jupyter-pytorch-ubi9-python-3.9("CUDA PyTorch Notebook<br/>(cuda-jupyter-pytorch-ubi9-python-3.9)");
8181
cuda-jupyter-tensorflow-ubi9-python-3.9("CUDA TensorFlow Notebook<br/>(cuda-jupyter-tensorflow-ubi9-python-3.9)");
8282
8383
%% Edges
8484
base-ubi9-python-3.9 --> cuda-ubi9-python-3.9;
8585
cuda-ubi9-python-3.9 --> cuda-jupyter-minimal-ubi9-python-3.9;
8686
cuda-jupyter-minimal-ubi9-python-3.9 --> cuda-jupyter-datascience-ubi9-python-3.9;
87+
cuda-jupyter-datascience-ubi9-python-3.9 --> cuda-jupyter-pytorch-ubi9-python-3.9;
8788
cuda-jupyter-datascience-ubi9-python-3.9 --> cuda-jupyter-tensorflow-ubi9-python-3.9;
8889
end
8990

0 commit comments

Comments
 (0)