Skip to content

Commit

Permalink
Update raytune_pytorch_cnn.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
saitcakmak authored Nov 10, 2023
1 parent 82f6f88 commit c4028ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tutorials/raytune_pytorch_cnn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@
},
"source": [
"## 4. Run optimization\n",
"Execute the Ax optimization and trial evaluation in RayTune using [AxSearch algorithm](https://ray.readthedocs.io/en/latest/tune-searchalg.html#ax-search):"
"Execute the Ax optimization and trial evaluation in RayTune using [AxSearch algorithm](https://ray.readthedocs.io/en/latest/tune-searchalg.html#ax-search):\n"
"We only run 10 trials for demonstration. It is generally recommended to run more trials for best results."
]
},
{
Expand All @@ -211,7 +212,7 @@
"algo = tune.search.ConcurrencyLimiter(algo, max_concurrent=3)\n",
"tune.run(\n",
" train_evaluate,\n",
" num_samples=30,\n",
" num_samples=10,\n",
" search_alg=algo,\n",
" verbose=0, # Set this level to 1 to see status updates and to 2 to also see trial results.\n",
" # To use GPU, specify: resources_per_trial={\"gpu\": 1}.\n",
Expand Down

0 comments on commit c4028ea

Please sign in to comment.