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: package and publish xplique-cpu in addition to xplique #170

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schmatzler-jona
Copy link

@schmatzler-jona schmatzler-jona commented Jan 9, 2025

This is a WIP to offer an xplique-cpu package in addition to xplique. The only difference between the 2 packages are dependencies (and names): xplique-cpu requires only tensorflow-cpu and is aimed at people wanting a solution that has a smaller disk footprint.

What's been done:

  • Added requirements_cpu.txt and modified setup.cfg so that tests can be run with tensorflow-cpu too.
  • Modified setup.py so that executing setuptools with env var PACKAGE_CPU=1 changes the package name to xplique-cpu and updates the dependencies.
  • Modified GH workflows: not sure this is the correct approach (should -cpu specific tests be executed in the same jobs or not ?).

What's left to do:

  • Update doc.

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.

1 participant