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

Use expm1 for log-normal transforms #2540

Closed
wants to merge 1 commit into from

Conversation

SebastianAment
Copy link
Contributor

Summary: Replacing exp(x) - 1 with the numerically more stable expm1.

Differential Revision: D62789111

Summary: Replacing `exp(x) - 1` with the numerically more stable `expm1`.

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

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

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (e9ce11f) to head (081b979).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2540   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         193      193           
  Lines       17010    17010           
=======================================
  Hits        17007    17007           
  Misses          3        3           

☔ 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 238f05a.

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Sep 17, 2024
Summary: Similar to pytorch#2540, replaces `exp(x) - 1` with the numerically more stable `expm1`.

Differential Revision: D62813775
facebook-github-bot pushed a commit that referenced this pull request Sep 17, 2024
Summary:
Pull Request resolved: #2541

Similar to #2540, replaces `exp(x) - 1` with the numerically more stable `expm1`.

Reviewed By: Balandat

Differential Revision: D62813775

fbshipit-source-id: 3e6b7730e8db0d089c123a3477885593f4c7c2ad
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