lang-sam 0.1.0 depends on transformers<5.0.0 and >=4.27.4
Closed this issue · 1 comments
What transformer version does lang sam work on exactly? It gives me this error:
The user requested transformers
lang-sam 0.1.0 depends on transformers<5.0.0 and >=4.27.4
The conflict is caused by:
The user requested transformers<5.0.0>=4.27.4
lang-sam 0.1.0 depends on transformers<5.0.0 and >=4.27.4
The user requested transformers>=4.27.4<5.0.0
lang-sam 0.1.0 depends on transformers<5.0.0 and >=4.27.4
This one is a little more explanatory, maybe?
The conflict is caused by:
transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
lang-sam 0.1.0 depends on huggingface-hub<0.14.0 and >=0.13.4
gradio 3.35.2 depends on huggingface-hub>=0.14.0
transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
lang-sam 0.1.0 depends on huggingface-hub<0.14.0 and >=0.13.4
gradio 3.35.1 depends on huggingface-hub>=0.14.0
transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
lang-sam 0.1.0 depends on huggingface-hub<0.14.0 and >=0.13.4
gradio 3.35.0 depends on huggingface-hub>=0.14.0
transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
lang-sam 0.1.0 depends on huggingface-hub<0.14.0 and >=0.13.4
gradio 3.34.0 depends on huggingface-hub>=0.14.0
transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
lang-sam 0.1.0 depends on huggingface-hub<0.14.0 and >=0.13.4
gradio 3.33.1 depends on huggingface-hub>=0.14.0
transformers 4.27.4 depends on huggingface-hub<1.0 and >=0.11.0
lang-sam 0.1.0 depends on huggingface-hub<0.14.0 and >=0.13.4
gradio 3.33.0 depends on huggingface-hub>=0.14.0
But I can't get transformers to install for lang sam even when I don't specify a version or use the range it wants for versions.
I was having no issues with transformers==4.26.1
for BLIP and such with ComfyUI and all that uses it, but now stuck trying to add some SAM prompt based masking in.
Right now it uses a non-restrict version that can be found here
lang-segment-anything/pyproject.toml
Line 23 in 32cfe0f
About your issue, guess there is an inconsistency with huggingface-hub and gradio.
Mind changing and testing huggingface-hub>0.14.0 inside pyproject?