Get the latest tech news

New exponent functions that make SiLU and SoftMax 2x faster, at full accuracy


This change upstreams llamafile's vectorized expf() functions. This lets us compute softmax and silu more accurately than the short[65536] lookup table that GGML previously used to make this operat...

Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of accuracy

accuracy

Photo of SoftMax

SoftMax

Photo of SiLU

SiLU

Related news:

News photo

Speed of AI development is outpacing risk assessment | Traditional methods of evaluating accuracy and safety are flawed

News photo

Google DeepMind unveils ‘superhuman’ AI system that excels in fact-checking, saving costs and improving accuracy

News photo

Gong Forecast gets AI upgrade, improving accuracy 20% over CRM revenue forecasting