Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The onnx-cpu extra is installing fastai2 #43

Open
polyrand opened this issue Feb 22, 2021 · 1 comment
Open

The onnx-cpu extra is installing fastai2 #43

polyrand opened this issue Feb 22, 2021 · 1 comment

Comments

@polyrand
Copy link
Contributor

polyrand commented Feb 22, 2021

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 *
@muellerzr
Copy link
Owner

@polyrand try installing via:

pip install fastinference[onnxcpu]

Instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants