Skip to content

Added Optimizer configuration that supports optimizer type, learning rate, momentum, and weight decay configurations. #3094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SSYernar
Copy link
Contributor

Summary: This commit introduces enhancements to the optimizer configuration in TorchRec. It now supports specifying the optimizer type, learning rate, momentum, and weight decay. These changes provide more flexibility and control over the training process, allowing users to fine-tune their models with different optimization strategies and hyperparameters.

Differential Revision: D76559261

SSYernar added 2 commits June 12, 2025 17:25
Summary: Updated the `ParameterConstraints` in the TorchRec benchmarking script to include pooling factors, number of poolings, and batch sizes. This enhancement allows for more detailed configuration of embedding tables, improving the flexibility and precision of sharding strategies in distributed training scenarios.

Differential Revision: D76440004
…ctionSparseNN models.

Summary: Refactored the training benchmarking by moving generative helper functinos into separate util file and added a model configuration that supports SparseNN, TowerSparseNN, TowerCollectionSparseNN models. Future commits will add support for DeepFM and DLRM models.

Differential Revision: D76539867
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 13, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76559261

…rate, momentum, and weight decay configurations. (pytorch#3094)

Summary:
Pull Request resolved: pytorch#3094

This commit introduces enhancements to the optimizer configuration in TorchRec. It now supports specifying the optimizer type, learning rate, momentum, and weight decay. These changes provide more flexibility and control over the training process, allowing users to fine-tune their models with different optimization strategies and hyperparameters.

Differential Revision: D76559261
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76559261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants