-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RAY AIR][DOC][TorchTrainer] Rewrote the TorchTrainer code snippet as…
… a working example (#30492) Signed-off-by: Jules Damji jules@anyscale.com - Rewrote the code snippet as it was not working - Removed python-code block directives; instead use testcode and testoutput. This will test code if it runs in the CI - Ignore the output since we get loads of output from the three workers - Assert that the loss converges with the training data within specified epochs - Tested code end-to-end
- Loading branch information
Showing
1 changed file
with
72 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters