Skip to content

Conversation

@moritzwilksch
Copy link
Contributor

closes #222

gpu runtime can now be installed with pip install -e .[gpu]. The cpu install remains pip install -e .

@Ingvarstep
Copy link
Collaborator

@moritzwilksch , great, thanks, can you also update the extended readme?

@moritzwilksch
Copy link
Contributor Author

sure, let me know what you think

@Ingvarstep
Copy link
Collaborator

Everything looks good, thanks!

@Ingvarstep Ingvarstep merged commit bffdb3a into urchade:main Jan 6, 2025
@freinold
Copy link

@Ingvarstep / @urchade could you please release a new version with this change to PyPI?

We are using GLiNER in some CI builds and the unused dependency takes a toll on our build times and container sizes.

@urchade
Copy link
Owner

urchade commented Jan 10, 2025

sure, doing it today @freinold

@urchade
Copy link
Owner

urchade commented Jan 10, 2025

done @freinold

@thewh1teagle
Copy link

Do you know if it will conflict with onnxruntime package? since it looks like it will install both onnxruntime and onnxruntime-gpu. Also, is there a way to detect in the python logic that onnxruntime-gpu installed and those use different logic (and execution providers)
Thanks

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

Successfully merging this pull request may close these issues.

Make onnxruntime-gpu an optional dependency

5 participants