-
Notifications
You must be signed in to change notification settings - Fork 684
Add a convenient constructor #9707
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9707
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b672cf3 with merge base 5531a0e ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D71956172 |
long aggregate_sampling_timer_start_timestamp = 0; | ||
}; | ||
|
||
static constexpr auto kTopp = 0.9f; |
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.
isn't this bc-breaking because this header doesn't include sampler.h?
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.
This constant belong to sampler.h
not stats.h
. Anyone using this constant should already imported sampler.h
so it's not breaking anything. They don't have to include stats.h
right now if they just need to use this constant.
Summary: As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
88efb16
to
d79d00e
Compare
This pull request was exported from Phabricator. Differential Revision: D71956172 |
Summary: Pull Request resolved: #9707 As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
d79d00e
to
7e21fd9
Compare
Summary: As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
7e21fd9
to
d9e3b45
Compare
This pull request was exported from Phabricator. Differential Revision: D71956172 |
Summary: As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
d9e3b45
to
96f12fd
Compare
Summary: As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
96f12fd
to
3183461
Compare
This pull request was exported from Phabricator. Differential Revision: D71956172 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D71956172 |
Summary: Pull Request resolved: #9707 As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
3183461
to
9eb1c16
Compare
Summary: As titled. Use default values for `topp` and `rng`. Reviewed By: iseeyuan Differential Revision: D71956172
9eb1c16
to
b672cf3
Compare
This pull request was exported from Phabricator. Differential Revision: D71956172 |
Differential Revision: D71956172 Pull Request resolved: #9707
Summary: As titled. Use default values for
topp
andrng
.Differential Revision: D71956172