optimum icon indicating copy to clipboard operation
optimum copied to clipboard

Update supported torch version for bettertransformer API

Open nick-pape opened this issue 1 year ago • 0 comments

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?

nick-pape avatar Mar 01 '24 20:03 nick-pape