You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-interactive-jobs.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,21 +82,26 @@ By specifying interactive applications at job creation, you can connect directly
82
82
services={
83
83
"My_jupyterlab": JobService(
84
84
job_service_type="jupyter_lab",
85
-
nodes="all"
85
+
nodes="all"# For distributed jobs, use the `nodes` property to pick which node you want to enable interactive services on. If `nodes` are not selected, by default, interactive applications are only enabled on the head node. Values are "all", or compute node index (for ex. "0", "1" etc.)
86
86
),
87
87
"My_vscode": JobService(
88
88
job_service_type="vs_code",
89
89
nodes="all"
90
90
),
91
91
"My_tensorboard": JobService(
92
-
job_service_type="tensor_board"
93
-
logs="logs/tblogs"# relative path of Tensorboard logs (same as in your training script),
94
-
nodes="all"
92
+
job_service_type="tensor_board",
93
+
nodes="all",
94
+
properties={
95
+
"logDir": "output/tblogs"# relative path of Tensorboard logs (same as in your training script)
96
+
}
95
97
),
96
98
"My_ssh": JobService(
97
99
job_service_type="ssh",
98
100
sshPublicKeys="<add-public-key>",
99
101
nodes="all"
102
+
properties={
103
+
"sshPublicKeys":"<add-public-key>"
104
+
}
100
105
),
101
106
}
102
107
)
@@ -133,11 +138,11 @@ By specifying interactive applications at job creation, you can connect directly
133
138
services:
134
139
my_vs_code:
135
140
job_service_type: vs_code
136
-
nodes: all
141
+
nodes: all# For distributed jobs, use the `nodes` property to pick which node you want to enable interactive services on. If `nodes` are not selected, by default, interactive applications are only enabled on the head node. Values are "all", or compute node index (for ex. "0", "1" etc.)
137
142
my_tensor_board:
138
143
job_service_type: tensor_board
139
144
properties:
140
-
logDir: "logs/tblogs"# relative path of Tensorboard logs (same as in your training script)
145
+
logDir: "output/tblogs"# relative path of Tensorboard logs (same as in your training script)
0 commit comments