Skip to content

Set up pyproject.toml for uv to work with torch #402

@billbrod

Description

@billbrod

Torch is weird and so uv has a dedicated page for how to set up pyproject.toml for uv to work with it correctly. I think we want this setup, using optional dependencies to allow switching between cpu and cuda (this is useful for development, where we want to easily test both).

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions