Skip to content

Make torch an optional dependency / extra #5531

Description

@firegate22

Modern packages use optional dependecies / extras for specific functionality. I assume this is very well possible for the sagemaker sdk.

A similar request was posted in discussions: #5441

I couldn't find any actual "issue" and hope this gets more visibility.

The main and most urgent topic is the dependency of pytorch which requires 354/620mb size in a clean venv. I would assume that most use cases don't need pytorch at all.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions