Skip to content

Commit af6cfa8

Browse files
author
Roja Reddy Sareddy
committed
Update training cli example notebook
1 parent ecaf9c3 commit af6cfa8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

examples/training/CLI/training-e2e-cli.ipynb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,33 @@
1616
"- hyperpod-pytorchjob-config-schemas"
1717
]
1818
},
19+
{
20+
"metadata": {},
21+
"cell_type": "code",
22+
"outputs": [],
23+
"execution_count": null,
24+
"source": "!hyp list-cluster --output table",
25+
"id": "9df747dbfa211453"
26+
},
27+
{
28+
"metadata": {},
29+
"cell_type": "code",
30+
"outputs": [],
31+
"execution_count": null,
32+
"source": "!hyp set-cluster-context --cluster-name <cluster-name>",
33+
"id": "8db986d2b42a9e88"
34+
},
35+
{
36+
"metadata": {},
37+
"cell_type": "code",
38+
"outputs": [],
39+
"execution_count": null,
40+
"source": [
41+
"#verify the cluster context\n",
42+
"!hyp get-cluster-context "
43+
],
44+
"id": "ba996d7dc8e128d5"
45+
},
1946
{
2047
"metadata": {
2148
"jupyter": {

0 commit comments

Comments
 (0)