fastinference icon indicating copy to clipboard operation
fastinference copied to clipboard

The onnx-cpu extra is installing fastai2

Open polyrand opened this issue 4 years ago • 1 comments

I haven't been able to see what's going on.

If I install onnxruntime on one side and fastinference on the other, everything works fine*. But if I install fastinference[onnx-cpu] it installs the old fastai2 package, and it breaks.

  • I'm getting errors in the to_onnx patched function, but I'm still looking for what's going on to report better. But when I say "fine" I mean the the SoftDependencies check is not raising an error and I can import both from fastinference.fastinference import * and from fastinference.onnx import *

polyrand avatar Feb 22 '21 21:02 polyrand

@polyrand try installing via:

pip install fastinference[onnxcpu]

Instead.

muellerzr avatar Apr 10 '21 17:04 muellerzr