Skip to content

Reduce list of dependencies #28

Description

@aknoerig

setup.py defines a pretty heavy list of dependencies, that are automatically installed during a pip install:

 'optimum-quanto'
, 'torch'
, 'torchvision'
, 'torchaudio'
, 'sentencepiece'
, 'accelerate'
, 'peft'
, 'transformers'
, 'diffusers'
, 'lark'
, 'protobuf'
, 'ipykernel'
, 'ipywidgets'
, 'safetensors'

It seems like many of these only are required by the samples, not by the library itself, and are causing unnecessary dependency issues upon installation in more complex environments.

Would you accept a PR that reduces the list to the minimum, and moving all others to requirements.txt?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions