Skip to content

Commit ebe3e9f

Browse files
crypdickRicardo Decalsvekars
authored
Modernize the Ray Tune tutorial (#3694)
This is the first of several PRs against the Pytorch Tutorials. This PR unstales the Ray Tune tutorial: - bumps Ray version from 2.7.2 -> 2.52.1 - update the tutorial with the latest code from the Pytorch CIFAR10 tutorial which it is based off of - update to use the latest Ray Tune APIs - fixed the norm values for CIFAR10 - rewrote most of the prose - added new sections for sampling, observability, conclusion, additional links - updated tags in the doc indices. Will need approval on the new `Ray-Distributed` tag. Opening this as a draft PR so that I can get feedback from the Ray Tune core devs first cc @albanD @jbschlosser @pcmoritz @robertnishihara @matthewdeng @richardliaw --------- Co-authored-by: Ricardo Decal <[email protected]> Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent 00d8b24 commit ebe3e9f

File tree

6 files changed

+405
-299
lines changed

6 files changed

+405
-299
lines changed

.ci/docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bs4
3232
awscliv2==2.1.1
3333
flask
3434
spacy==3.4.1
35-
ray[tune]==2.7.2
35+
ray[tune]==2.52.1
3636
tensorboard
3737
jinja2==3.1.3
3838
pytorch-lightning

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ beginner_source/hymenoptera_data/
2121
intermediate_source/data/
2222
*.zip
2323
MNIST/
24+
data/cifar-10-batches-py/*
25+
*.tar.gz
2426

2527
#builds
2628
_build/
@@ -105,6 +107,7 @@ target/
105107
celerybeat-schedule
106108
# dotenv
107109
.env
110+
.envrc
108111

109112
# virtualenv
110113
venv/
@@ -124,8 +127,10 @@ cleanup.sh
124127
# PyTorch things
125128
*.pt
126129

127-
# VSCode
130+
# IDEs
128131
*.vscode
132+
.cfg/
133+
.cursor
129134

130135
# pyspelling
131136
dictionary.dic

.jenkins/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"duration": 1200
1111
},
1212
"beginner_source/hyperparameter_tuning_tutorial.py": {
13-
"duration": 0
13+
"needs": "linux.g5.4xlarge.nvidia.gpu",
14+
"duration": 1800
1415
},
1516
"advanced_source/dynamic_quantization_tutorial.py": {
1617
"duration": 380

0 commit comments

Comments
 (0)