Fix compatibility with 1.12 (#17925)

* Fix compatibility with 1.12

* Remove pin from examples requirements

* Update torch scatter version

* Fix compatibility with 1.12

* Remove pin from examples requirements

* Update torch scatter version

* fix torch.onnx.symbolic_opset12 import

* Reject bad version

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Sylvain Gugger
2022-08-08 09:53:08 -04:00
committed by GitHub
parent 2fecde742d
commit 70b0d4e193
7 changed files with 19 additions and 14 deletions

View File

@@ -22,5 +22,4 @@ protobuf
torchvision
jiwer
librosa
torch < 1.12
evaluate >= 0.2.0