ComfyUI
ComfyUI copied to clipboard
ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub'
Total VRAM 6144 MB, total RAM 32509 MB
Traceback (most recent call last):
File "F:\ai\ComfyUI-master\comfy\model_management.py", line 218, in
ERROR: LOW VRAM MODE NEEDS accelerate.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1660 SUPER : cudaMallocAsync
VAE dtype: torch.float32
Traceback (most recent call last):
File "F:\ai\ComfyUI-master\main.py", line 72, in
Have you resolve your issue? @Ryan-shadow
the same problem @comfyanonymous
the same problem
the same problem
Based on the symptoms, it appears that the package dependency is tangled. Also, judging from the error message, it seems to be using the system Python. It is recommended to use the portable version or a venv instead.
I got the same issue trying to run inside conda
Same issue here, running inside conda python 3.10 Anyone?
You can see: https://github.com/huggingface/transformers/issues/15062#issuecomment-1821349949
conda install chardet
I had the same problem and tried conda install chardet
which didn't work. I solved problem using pip install transformers -U
still has problem:
ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub'
I have tried:
conda install chardet
and pip install transformers -U
still has problem:
ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub'
I have tried:conda install chardet
andpip install transformers -U
Tried this but still same error ? what is the issue ? anyone ?
try update requests,it works for me:
pip install --upgrade requests
try update requests,it works for me:
pip install --upgrade requests
Ty, worked for me
pip install --upgrade requests
did not works for me...
I also uninstalled and reinstalled transformers
module.
still got ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub' (unknown location)
pip install --upgrade requests did not works for me... I also uninstalled and reinstalled transformers module. still got ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub'
it doesn't work for me , is there any other solutions for this ?
pip install --upgrade transformers==4.39.2
worked for me.
Environment with Python 3.12.2, just try to downgrade your version of the Transformers package.
pip3 install chardet, It works for me.
I fixed using: conda install chardet
I've tried following
conda install chardet
pip install -U transformers requests
still have the issue
pip install --upgrade huggingface-hub==0.22.2
worked for me.
I fixed using: 我修复了使用: conda install chardet
it works for me! i use conda!
conda install chardet
should solve the problem.
Here is how I solved the error:
conda install chardet
pip install transformers -U
I encountered two subsequent dependency issues, which are solved by:
pip install datasets==2.16.1
pip install pyarrow==12.0.1
I had the same problem but was able to fix it using: conda install chardet
I had the same problem but was able to fix it using:
conda install chardet
i dont use conda. So i just try pip3 install chardet
and it works.
conda install chardet
also works for me.
Environment:
python 3.10.14
transformers 4.41.2
conda install chardet
works for me.
Environment:
python 3.10.14
transformers 4.41.2
conda install chardet
didn't work for me.
try update requests,it works for me:
pip install --upgrade requests
works for me