Skip to content
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

Add OptimItem in TBE codegen #2518

Closed
wants to merge 1 commit into from
Closed

Conversation

sryap
Copy link
Contributor

@sryap sryap commented Apr 19, 2024

Summary:
This diff abstracts the optimization arguments in TBE code generation
scripts by introducing the OptimizerArgsSetItem dataclass. This allows
us to avoid updating function and variable annotations every time we
add or remove arguments from the optimizer args.

Differential Revision: D56192736

Summary:
This diff abstracts the optimization arguments in TBE code generation
scripts by introducing the `OptimizerArgsSetItem` dataclass. This allows
us to avoid updating function and variable annotations every time we
add or remove arguments from the optimizer args.

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

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

Copy link

netlify bot commented Apr 19, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 567609e
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/6622ae93035b420008c0c363
😎 Deploy Preview https://deploy-preview-2518--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sryap added a commit to sryap/FBGEMM that referenced this pull request Apr 19, 2024
Summary:

This diff abstracts the optimization arguments in TBE code generation
scripts by introducing the `OptimizerArgsSetItem` dataclass. This allows
us to avoid updating function and variable annotations every time we
add or remove arguments from the optimizer args.

Reviewed By: spcyppt

Differential Revision: D56192736
sryap added a commit to sryap/FBGEMM that referenced this pull request Apr 19, 2024
Summary:

This diff abstracts the optimization arguments in TBE code generation
scripts by introducing the `OptimizerArgsSetItem` dataclass. This allows
us to avoid updating function and variable annotations every time we
add or remove arguments from the optimizer args.

Reviewed By: spcyppt

Differential Revision: D56192736
sryap added a commit to sryap/FBGEMM that referenced this pull request Apr 19, 2024
Summary:

This diff abstracts the optimization arguments in TBE code generation
scripts by introducing the `OptimizerArgsSetItem` dataclass. This allows
us to avoid updating function and variable annotations every time we
add or remove arguments from the optimizer args.

Reviewed By: spcyppt

Differential Revision: D56192736
sryap added a commit to sryap/FBGEMM that referenced this pull request Apr 19, 2024
Summary:

This diff abstracts the optimization arguments in TBE code generation
scripts by introducing the `OptimizerArgsSetItem` dataclass. This allows
us to avoid updating function and variable annotations every time we
add or remove arguments from the optimizer args.

Reviewed By: spcyppt

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

This pull request has been merged in 9180dd4.

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