New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade transformers to 4.13.0 #1659
Conversation
Good timing - let's move directly to 4.12: https://github.com/huggingface/transformers/releases/tag/v4.12.0 |
I would not suggest to use ..0 version better to wait for at least 3 patch version. Of the late seeing many bugs in their ..0 version which gets resolved in patch versions. 😅 |
Good point! Luckily there is 4.12.2 already. https://github.com/huggingface/transformers/releases?page=1 Guess why. ;) |
I see your are performing sequential search. How about binary search? :) |
That would assume that whenever the tests fail there is something that needs to be changed in haystack. However, transformers introduces some bugs from time to time on their side, for example in 4.11.0 (as you mentioned). What I found out now is that 4.11.3 let's our tests |
No, I mean to speed up finding a rouge version. |
Proposed changes:
scatter
method in its tapas modeling to break with 1.10 because the method is now calledscatter_
The failing test cases are caused by the changes in the following PR in transformers: huggingface/transformers#13873
There is a fix for this one now here on transformers' master branch but no new release yet: huggingface/transformers@24b30d4
However, another problem remains, which is about the
scatter
method intorch
used by TAPAS.Maybe it can be resolved with:
pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+${CUDA}.html
https://github.com/rusty1s/pytorch_scatter
closes #1658
Status (please check what you already did):