duowuyms / NetLLM

MIT License
82 stars 9 forks source link

Issues with requirements #7

Open andreafresa opened 2 months ago

andreafresa commented 2 months ago

Hi, I have been trying to execute your code with the mentioned requirements. However, it seems like it is giving the error ImportError: cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub', which means that there is an old version of huggingface ( you ask to download huggingface-hub>=0.16.4,<0.17.0) not compatible with peft from my understanding. Could you please share the complete list of the requirements in your environments to run the code?

zjj1024 commented 1 month ago

+1