Skip to content

Conversation

@likejazz
Copy link
Contributor

Previously, gradients had to be manually updated step by step. With this change, training can be performed directly using the AdamW optimizer, making the workflow simpler and more flexible.

$ python main.py --accel --epochs 6 --model Transformer --use-optimizer --lr 0.001

@netlify
Copy link

netlify bot commented Aug 19, 2025

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit a29193a
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-examples-preview/deploys/68a3fe2fda006400084bfd5f

@meta-cla meta-cla bot added the cla signed label Aug 19, 2025
@msaroufim msaroufim merged commit 28d16ff into pytorch:main Aug 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants