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

Make TensorFlow and PyTorch optional requirements #29

Open
devdrian opened this issue Dec 19, 2022 · 1 comment
Open

Make TensorFlow and PyTorch optional requirements #29

devdrian opened this issue Dec 19, 2022 · 1 comment

Comments

@devdrian
Copy link

Both, PyTorch and TensorFlow, are large packages and not required for all parts of UQ360. Even more so, if someone just intends to use the metrics provided by UQ360, the requirements could introduce some conflicts, e.g., if the user requires TensorFlow>=2.6.

Could we make both requirements optional, e.g., via extras_require{} in the setup.py? The downside would be, as far as I see it, that the default installation pip install uq360 would only install the minimal version and the full version would only be available via, e.g., pip install uq360[full].

In case you'd find this feature useful, I'd be happy to create a merge request!

@pronics2004
Copy link
Member

Hi @devdrian This will be quite useful. You are welcome to create a merge request!

Please refer to CONTRIBUTING.md as you create the PR.

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