Closed vineetparikh closed 2 years ago
Tbh I cannot really help you easily here. This version is quite old.
Did you try pulling the rust sources and running tests directly on them cd tokenizers/tokenizers && make test
?
Then move on the python bindings bindings/python
.
That should help figure out who's the culprit. Also what's your platform ?
^ ah it looks like i could've just used the prebuilt py3.8 wheel instead of trying to get this to work with py3.10: doing that ended up working. thanks for the help!
Glad you figured it out. And thanks for sharing your solution, I'm sure it'll help readers ! :d
I'm trying to reproduce VideoCLIP locally, and this package relies on transformers=3.4 (it can't use newer versions due to API-incompatible changes), which itself relies on tokenizers 0.9.2. I can't install tokenizers 0.9.2 via pip due to a set of compilation issues with the provided crate for Rust ndarray which all have the form
when I run
pip install transformers==3.4
orpip install tokenizers==0.9.2
.It seems as if the rust crate might be incorrect? When I pull ndarray from source and build tag 0.15.6, it seems to build successfully locally. I'm using rustc 1.46, but later versions (including the default stable and nightly) seem to have the same problem. What would you recommend I try to do next?