text icon indicating copy to clipboard operation
text copied to clipboard

Allow `tensorflow-text[cpu]`

Open t-kalinowski opened this issue 9 months ago • 0 comments

Currently, pulling in tensorflow-text pulls in a requirement for tensorflow. However, if a project already has tensorflow-cpu declared, then it leads to both tensorflow and tensorflow-cpu being installed in the virtual environment.

It would be ideal if it was possible to install a CPU-only version of tensorflow-text.

This comes up in contexts like:

https://github.com/astral-sh/uv/issues/4422#issuecomment-2766259193

t-kalinowski avatar Mar 31 '25 12:03 t-kalinowski