Skip to content

Allow tensorflow-text[cpu] #1393

@t-kalinowski

Description

@t-kalinowski

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:

astral-sh/uv#4422 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions