Skip to content

Conversation

jart
Copy link
Contributor

@jart jart commented Aug 5, 2024

It's helpful to use expm1f(x), because expf(x)-1 will result in overflow for 25% of single-precision floating point numbers.

It's helpful to use expm1f(x), because expf(x)-1 will result in overflow
for 25% of single-precision floating point numbers.
@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Aug 5, 2024
@ggerganov ggerganov merged commit b9dfc25 into ggml-org:master Aug 5, 2024
@mofosyne mofosyne added Review Complexity : High Generally require indepth knowledge of LLMs or GPUs Review Complexity : Medium Generally require more time to grok but manageable by beginner to medium expertise level merge ready indicates that this may be ready to merge soon and is just holding out in case of objections and removed Review Complexity : High Generally require indepth knowledge of LLMs or GPUs labels Aug 5, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Aug 7, 2024
It's helpful to use expm1f(x), because expf(x)-1 will result in overflow
for 25% of single-precision floating point numbers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning merge ready indicates that this may be ready to merge soon and is just holding out in case of objections Review Complexity : Medium Generally require more time to grok but manageable by beginner to medium expertise level
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants