Skip to content

Commit d47c5de

Browse files
committed
train notebook
Signed-off-by: Max Pumperla <[email protected]>
1 parent bd7022e commit d47c5de

File tree

5 files changed

+26
-55
lines changed

5 files changed

+26
-55
lines changed

_toc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ parts:
2424
- file: courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_02.ipynb
2525
- file: courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_03.ipynb
2626
- file: courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_04.ipynb
27-
- file: courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_05.ipynb
2827
- file: courses/00_Developer_Intro_to_Ray/output/02b_Intro_Ray_Train_with_PyTorch_Lightning_01.ipynb
2928
- file: courses/00_Developer_Intro_to_Ray/output/02b_Intro_Ray_Train_with_PyTorch_Lightning_02.ipynb
3029
- file: courses/00_Developer_Intro_to_Ray/output/02b_Intro_Ray_Train_with_PyTorch_Lightning_03.ipynb

courses/00_Developer_Intro_to_Ray/02a_Intro_Ray_Train_with_PyTorch.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@
13321332
"cell_type": "markdown",
13331333
"metadata": {},
13341334
"source": [
1335-
"## 4. Ray Train in Production\n",
1335+
"### 4. Ray Train in Production\n",
13361336
"\n",
13371337
"Here are some use-cases of using Ray Train in production:\n",
13381338
"1. Canva uses Ray Train + Ray Data to cut down Stable Diffusion training costs by 3.7x. Read this [Anyscale blog post here](https://www.anyscale.com/blog/scalable-and-cost-efficient-stable-diffusion-pre-training-with-ray) and the [Canva case study here](https://www.anyscale.com/resources/case-study/how-canva-built-a-modern-ai-platform-using-anyscale)\n",

courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_04.ipynb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,31 @@
767767
"\n",
768768
"</details>"
769769
]
770+
},
771+
{
772+
"cell_type": "markdown",
773+
"metadata": {},
774+
"source": [
775+
"### 4. Ray Train in Production\n",
776+
"\n",
777+
"Here are some use-cases of using Ray Train in production:\n",
778+
"1. Canva uses Ray Train + Ray Data to cut down Stable Diffusion training costs by 3.7x. Read this [Anyscale blog post here](https://www.anyscale.com/blog/scalable-and-cost-efficient-stable-diffusion-pre-training-with-ray) and the [Canva case study here](https://www.anyscale.com/resources/case-study/how-canva-built-a-modern-ai-platform-using-anyscale)\n",
779+
"2. Anyscale uses Ray Train + Deepspeed to finetune language models. Read more [here](https://github.com/ray-project/ray/tree/master/doc/source/templates/04_finetuning_llms_with_deepspeed).\n"
780+
]
781+
},
782+
{
783+
"cell_type": "code",
784+
"execution_count": null,
785+
"metadata": {
786+
"tags": []
787+
},
788+
"outputs": [],
789+
"source": [
790+
"# Run this cell for file cleanup \n",
791+
"!rm -rf {storage_folder}/training/\n",
792+
"!rm -rf {local_path}\n",
793+
"!rm -rf {storage_folder}/data"
794+
]
770795
}
771796
],
772797
"metadata": {

courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_05.ipynb

Lines changed: 0 additions & 52 deletions
This file was deleted.

index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ This collection contains multiple courses on Ray and Anyscale:
2525
- [02a Intro Ray Train with PyTorch 02](courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_02.ipynb)
2626
- [02a Intro Ray Train with PyTorch 03](courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_03.ipynb)
2727
- [02a Intro Ray Train with PyTorch 04](courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_04.ipynb)
28-
- [02a Intro Ray Train with PyTorch 05](courses/00_Developer_Intro_to_Ray/output/02a_Intro_Ray_Train_with_PyTorch_05.ipynb)
2928
- [02b Intro Ray Train with PyTorch Lightning 01](courses/00_Developer_Intro_to_Ray/output/02b_Intro_Ray_Train_with_PyTorch_Lightning_01.ipynb)
3029
- [02b Intro Ray Train with PyTorch Lightning 02](courses/00_Developer_Intro_to_Ray/output/02b_Intro_Ray_Train_with_PyTorch_Lightning_02.ipynb)
3130
- [02b Intro Ray Train with PyTorch Lightning 03](courses/00_Developer_Intro_to_Ray/output/02b_Intro_Ray_Train_with_PyTorch_Lightning_03.ipynb)

0 commit comments

Comments
 (0)