-
Notifications
You must be signed in to change notification settings - Fork 312
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
Refactor computation of optimization trace #2747
Conversation
This pull request was exported from Phabricator. Differential Revision: D62250058 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2747 +/- ##
=======================================
Coverage 95.47% 95.47%
=======================================
Files 489 489
Lines 47876 47913 +37
=======================================
+ Hits 45709 45747 +38
+ Misses 2167 2166 -1 ☔ View full report in Codecov by Sentry. |
This pull request was exported from Phabricator. Differential Revision: D62250058 |
f93cdf2
to
1ca80a2
Compare
Summary: Pull Request resolved: facebook#2747 * Add `BenchmarkProblem.get_oracle_experiment_from_params`, a method to compute an experiment where parameters are evaluated at oracle values. This will be useful once we enable inference regret. * Add a helper `get_oracle_experiment_from_experiment` to replicate the old behavior of `get_oracle_experiment`. * Remove `get_opt_trace` from `BenchmarkProblem` and absorbe that logic int `benchmark_replication`; once we have inference regret enabled, how we compute the trace should depend on the _method_, not the problem. The problem should only be responsible for computing oracle values given a parameterization. * Arc lint Differential Revision: D62250058
This pull request was exported from Phabricator. Differential Revision: D62250058 |
Summary: Pull Request resolved: facebook#2747 * Add `BenchmarkProblem.get_oracle_experiment_from_params`, a method to compute an experiment where parameters are evaluated at oracle values. This will be useful once we enable inference regret. * Add a helper `get_oracle_experiment_from_experiment` to replicate the old behavior of `get_oracle_experiment`. * Remove `get_opt_trace` from `BenchmarkProblem` and absorbe that logic int `benchmark_replication`; once we have inference regret enabled, how we compute the trace should depend on the _method_, not the problem. The problem should only be responsible for computing oracle values given a parameterization. * Arc lint Differential Revision: D62250058
1ca80a2
to
9fe17bd
Compare
This pull request was exported from Phabricator. Differential Revision: D62250058 |
9fe17bd
to
9e32e77
Compare
Summary: Pull Request resolved: facebook#2747 * Add `BenchmarkProblem.get_oracle_experiment_from_params`, a method to compute an experiment where parameters are evaluated at oracle values. This will be useful once we enable inference regret. * Add a helper `get_oracle_experiment_from_experiment` to replicate the old behavior of `get_oracle_experiment`. * Remove `get_opt_trace` from `BenchmarkProblem` and absorbe that logic int `benchmark_replication`; once we have inference regret enabled, how we compute the trace should depend on the _method_, not the problem. The problem should only be responsible for computing oracle values given a parameterization. * Arc lint Differential Revision: D62250058
This pull request was exported from Phabricator. Differential Revision: D62250058 |
9e32e77
to
10b6027
Compare
Summary: Pull Request resolved: facebook#2747 * Add `BenchmarkProblem.get_oracle_experiment_from_params`, a method to compute an experiment where parameters are evaluated at oracle values. This will be useful once we enable inference regret. * Add a helper `get_oracle_experiment_from_experiment` to replicate the old behavior of `get_oracle_experiment`. * Remove `get_opt_trace` from `BenchmarkProblem` and absorbe that logic int `benchmark_replication`; once we have inference regret enabled, how we compute the trace should depend on the _method_, not the problem. The problem should only be responsible for computing oracle values given a parameterization. * Arc lint Reviewed By: Balandat Differential Revision: D62250058
Summary: Pull Request resolved: facebook#2747 * Add `BenchmarkProblem.get_oracle_experiment_from_params`, a method to compute an experiment where parameters are evaluated at oracle values. This will be useful once we enable inference regret. * Add a helper `get_oracle_experiment_from_experiment` to replicate the old behavior of `get_oracle_experiment`. * Remove `get_opt_trace` from `BenchmarkProblem` and absorbe that logic int `benchmark_replication`; once we have inference regret enabled, how we compute the trace should depend on the _method_, not the problem. The problem should only be responsible for computing oracle values given a parameterization. * Arc lint Reviewed By: Balandat Differential Revision: D62250058
This pull request was exported from Phabricator. Differential Revision: D62250058 |
10b6027
to
1974be6
Compare
This pull request has been merged in acc9df2. |
Summary:
BenchmarkProblem.get_oracle_experiment_from_params
, a method to compute an experiment where parameters are evaluated at oracle values. This will be useful once we enable inference regret.get_oracle_experiment_from_experiment
to replicate the old behavior ofget_oracle_experiment
.get_opt_trace
fromBenchmarkProblem
and absorbe that logic intbenchmark_replication
; once we have inference regret enabled, how we compute the trace should depend on the method, not the problem. The problem should only be responsible for computing oracle values given a parameterization.Differential Revision: D62250058