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?
setup.pydefines a pretty heavy list of dependencies, that are automatically installed during apip install: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?