idiap / fast-transformers

Pytorch library for fast transformer implementations
1.65k stars 179 forks source link

Fix build on Windows #34

Closed bratao closed 4 years ago

bratao commented 4 years ago

With this PR, It is possible to compile this perfect library from Windows. The code is also a MIT from libc++ https://chromium.googlesource.com/android_ndk/+/r13b/sources/cxx-stl/llvm-libc++/include/support/win32/support.h

angeloskath commented 4 years ago

Thanks for this awesome PR!

Due to lack of a Windows machine we can't test it. If you find any other Windows related bugs feel free to make another PR.

Thanks again, Angelos