InstantMesh
InstantMesh copied to clipboard
getting ImportError: cannot import name 'cached_download' from 'huggingface_hub'
getting error
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (C:\ProgramData\miniconda3\envs\instamesh\lib\site-packages\huggingface_hub\__init__.py)
after launching app.py
and this happens:
ImportError: cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub'
and this happens:
ImportError: cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub'
solved by downgrading accelerate:
pip install accelerate==0.31.0