optimum
optimum copied to clipboard
Update supported torch version for bettertransformer API
What does this PR do?
As far as I can tell, this line of code is always run in BetterTransformer.transform() which effectively limits supported versions to just >=2.0.0. This PR just updates the documentation to match.
Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you make sure to update the documentation with your changes?
- [ ] Did you write any new necessary tests?