-
Notifications
You must be signed in to change notification settings - Fork 607
add export configs #2965
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 export configs #2965
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2965
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit e9abb4d with merge base 62a4dd3 ( BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D55953027 |
76b57d5
to
3fea028
Compare
Summary: Pull Request resolved: pytorch#2965 Differential Revision: D55953027
This pull request was exported from Phabricator. Differential Revision: D55953027 |
Summary: Pull Request resolved: pytorch#2965 Differential Revision: D55953027
3fea028
to
e0267cc
Compare
This pull request was exported from Phabricator. Differential Revision: D55953027 |
assert ( | ||
checkpoint or checkpoint_dir | ||
) and params_path, "Both checkpoint/checkpoint_dir and params can't be empty" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't set both of them right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a note in the help that checkpoint_dir takes precedence. Think we should keep the defaults in argsparse for now.
if args.ffn_dim_multiplier is not None: | ||
hidden_dim = int(args.ffn_dim_multiplier * hidden_dim) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this to ModelArgs.post_init() like what torchAt is doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated!
Summary: Pull Request resolved: pytorch#2965 Differential Revision: D55953027
e0267cc
to
99c897c
Compare
This pull request was exported from Phabricator. Differential Revision: D55953027 |
Summary: Pull Request resolved: pytorch#2965 Differential Revision: D55953027
99c897c
to
bee3525
Compare
This pull request was exported from Phabricator. Differential Revision: D55953027 |
Summary: Pull Request resolved: pytorch#2965 Differential Revision: D55953027
bee3525
to
e9abb4d
Compare
This pull request was exported from Phabricator. Differential Revision: D55953027 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request has been merged in ab323a5. |
Differential Revision: D55953027