text
text copied to clipboard
Allow `tensorflow-text[cpu]`
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