ImportError: cannot import name 'shard_checkpoint' from 'transformers.modeling_utils
#12
by
rj979797
- opened
ImportError: cannot import name 'shard_checkpoint' from 'transformers.modeling_utils' (/***/qwen2vl/Qwen2.5-VL/venv/lib/python3.11/site-packages/transformers/modeling_utils.py)
solved by
pip install --force-reinstall git+https://github.com/huggingface/transformers.git@9985d06add07a4cc691dc54a7e34f54205c04d40
pip install autoawq
What python version do you have? I haven't been able to resolve this yet.