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

Feature Request: offer a xplique-cpu similar to tensorflow-cpu #169

Open
schmatzler-jona opened this issue Jan 9, 2025 · 2 comments
Open

Comments

@schmatzler-jona
Copy link

  • Situation: One of the dependencies of xplique is tensorflow which offers a cpu-only package with a smaller footprint: tensorflow-cpu.
    The problem is that when using both tensorflow-cpu and xplique, tensorflow is still pulled which results in a very big env which is not needed.

  • Idea: Push a second version of xplique called xplique-cpu that would have tensorflow-cpu as dependency instead of tensorflow. This would enable us to use tensorflow-cpu and xplique with a smaller disk footprint.

@schmatzler-jona
Copy link
Author

I drafted a PR to suggest a possible way of doing it: #170.

@Agustin-Picard
Copy link
Member

Hi @schmatzler-jona,

When installing xplique, you can always do so using the --no-deps flag, which installs only the package (no dependencies are installed alongside). If you create your env, you install tensorflow-cpu and then run a pip install xplique --no-deps, you should have a working version of xplique that uses tensorflow-cpu instead of the regular version.

Should you still encounter an issue, don't hesitate to contact us.

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