Skip to content

Commit 5df47a0

Browse files
authored
Add job stream (#3489)
1 parent 0ab9bcb commit 5df47a0

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

sdk/python/foundation-models/system/distillation/conversation/distillation_conversational_task.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,8 @@
528528
"metadata": {},
529529
"outputs": [],
530530
"source": [
531-
"print(created_job.name)"
531+
"print(created_job.name)\n",
532+
"ml_client.jobs.stream(created_job.name)"
532533
]
533534
},
534535
{

sdk/python/foundation-models/system/distillation/math/distillation_math.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,8 @@
535535
"metadata": {},
536536
"outputs": [],
537537
"source": [
538-
"print(created_job.name)"
538+
"print(created_job.name)\n",
539+
"ml_client.jobs.stream(created_job.name)"
539540
]
540541
},
541542
{

sdk/python/foundation-models/system/distillation/nli/distillation_chat_completion.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@
534534
"metadata": {},
535535
"outputs": [],
536536
"source": [
537-
"print(created_job.name)"
537+
"print(created_job.name)\n",
538+
"ml_client.jobs.stream(created_job.name)"
538539
]
539540
},
540541
{

sdk/python/foundation-models/system/distillation/nlu_qa/distillation_nlu_qa_task.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@
539539
"metadata": {},
540540
"outputs": [],
541541
"source": [
542-
"print(created_job.name)"
542+
"print(created_job.name)\n",
543+
"ml_client.jobs.stream(created_job.name)"
543544
]
544545
},
545546
{

sdk/python/foundation-models/system/distillation/nlu_qa/distillation_qa_math.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@
523523
"metadata": {},
524524
"outputs": [],
525525
"source": [
526-
"print(created_job.name)"
526+
"print(created_job.name)\n",
527+
"ml_client.jobs.stream(created_job.name)"
527528
]
528529
},
529530
{

sdk/python/foundation-models/system/distillation/summarization/distillation_summarization.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@
552552
"metadata": {},
553553
"outputs": [],
554554
"source": [
555-
"print(created_job.name)"
555+
"print(created_job.name)\n",
556+
"ml_client.jobs.stream(created_job.name)"
556557
]
557558
},
558559
{

0 commit comments

Comments
 (0)