fastT5 icon indicating copy to clipboard operation
fastT5 copied to clipboard

Issue with onnxruntime

Open GenVr opened this issue 2 years ago • 4 comments

Hello, I have a dependency problem between fastt5 and onnxruntime libraries on mac M2 chip. Specifically, the version required by fastt5 is onnxruntime==1.10.0, while, as I have read, onnxruntime>=1.12.0 is needed. Could it be possible to update the onnxruntime library in fastt5? Thanks.

GenVr avatar Mar 01 '23 15:03 GenVr

can you please install the 1.12.0 version of ort after installing fastt5 and try running the code? and see if it works

pip install onnxruntime==1.12.0
pip show onnxruntime

Ki6an avatar Mar 01 '23 18:03 Ki6an

@Ki6an I'm unable to install fastt5 (latest version) for this error: ERROR: No matching distribution found for onnxruntime==1.10.0

I can only install the version 0.0.5 of fastt5.

GenVr avatar Mar 02 '23 10:03 GenVr

Confirmed that it seems to work just fine with onnxruntime>=1.14.0 with latest fastt5 (I installed all reps manually and then installed fastt5 with --no-deps)

RXminuS avatar Apr 19 '23 12:04 RXminuS

Same problem with M1 chip.

PiranavS avatar Jun 01 '23 11:06 PiranavS