Skip to content

Conversation

@ltiao
Copy link
Contributor

@ltiao ltiao commented Sep 9, 2024

Summary:
The input constructor for qMultiFidelityKnowledgeGradient was computing current_value in a manner that was effectively not fidelity-aware (the fidelity dimension was not fixed in the optimization done to obtain current_value), since it was simply re-using functionality from the input constructor for construct_inputs_qKG.

This diff addresses this by making use of target_fidelities as the fixed_features argument to D62380369.

Differential Revision: D62391106

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 9, 2024
@facebook-github-bot
Copy link
Contributor

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

…orch#2519)

Summary:
Pull Request resolved: meta-pytorch#2519

The input constructor for `qMultiFidelityKnowledgeGradient` was computing `current_value` in a manner that was effectively not fidelity-aware (the fidelity dimension was not fixed in the optimization done to obtain `current_value`), since it was simply re-using functionality from the input constructor for `construct_inputs_qKG`.

This diff addresses this by making use of `target_fidelities` as the `fixed_features` argument to `D62380369`.

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

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

@codecov
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (33e11f4) to head (a7dff50).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2519   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         193      193           
  Lines       16942    16944    +2     
=======================================
+ Hits        16940    16942    +2     
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d841f2b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants