lmnt-com / haste

Haste: a fast, simple, and open RNN library
Apache License 2.0
325 stars 27 forks source link

haste_tf compilation fails with "‘bfloat16’ in namespace ‘Eigen’ does not name a type" #45

Open alethes opened 2 years ago

alethes commented 2 years ago

First of all, thank you for this wonderful library.

I'm unable to compile haste_tf with Tensorflow 2.7.0 and the most recent haste codebase from the master branch. The root error seems to be: ‘bfloat16’ in namespace ‘Eigen’ does not name a type. Installation with pip looks successful at first glance, but silently fails to build libhaste_tf.so. I've assumed there's something wrong with my setup and tried the Colab linked in the README, but it fails with the same errors. I'd appreciate any assistance.