certik / fastGPT

Fast GPT-2 inference written in Fortran
MIT License
184 stars 15 forks source link

Implement faster tanh(x) function #22

Closed certik closed 1 year ago

certik commented 1 year ago

Manually change tanh(x) to fast_tanh(x) to use the faster version.