mit-han-lab / TinyChatEngine

TinyChatEngine: On-Device LLM Inference Library
https://mit-han-lab.github.io/TinyChatEngine/
MIT License
624 stars 58 forks source link

Compilation error in Gelu #108

Open renepeinl opened 3 weeks ago

renepeinl commented 3 weeks ago

I tried to compile TinyChatEngine as described in the readme on github and got a compilation error. The method definition for tanh and a second math function is missing. I could fix the error by including You should probably fix this in your code as well. I tested it on multiple PCs with Ubuntu 24.04 LTS