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?
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?