transformers shouldn't be a required dependency. It was accidentally added as such.
No way to install pinecone-text with its [dense] extra dependency
Solution
Made transformers optional, only installed with a new anyscale extra
Added a new torch extra (torch is the heaviest installation, so it made more sense as the extra's name than transformers or sentence-transformers, which might be ambiguous)
Type of Change
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Might be slightly breaking for users who currently use the Anyscale Tokenizer, and would need to re-install with the extra.
Problem
transformers
shouldn't be a required dependency. It was accidentally added as such.pinecone-text
with its[dense]
extra dependencySolution
transformers
optional, only installed with a newanyscale
extratorch
extra (torch is the heaviest installation, so it made more sense as the extra's name thantransformers
orsentence-transformers
, which might be ambiguous)Type of Change
Might be slightly breaking for users who currently use the Anyscale Tokenizer, and would need to re-install with the extra.
Test Plan
No affect on current tests