mit-han-lab / TinyChatEngine

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

Compilation error in Gelu #108

Open renepeinl opened 5 months ago

renepeinl commented 5 months 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