huggingface / peft

🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.
https://huggingface.co/docs/peft
Apache License 2.0
16.57k stars 1.64k forks source link

CI Update AutoAWQ version to fix CI #2222

Closed BenjaminBossan closed 1 week ago

BenjaminBossan commented 1 week ago

Currently, the CI fails because awq tries to import a non-existing function from transformers (presumably it was there at one point but no longer is):

from transformers.modeling_utils import shard_checkpoint

E ImportError: cannot import name 'shard_checkpoint' from 'transformers.modeling_utils' (/opt/conda/envs/peft/lib/python3.11/site-packages/transformers/modeling_utils.py)

This has been fixed in awq v0.2.7. Therefore, this newer version is now used in CI.

HuggingFaceDocBuilderDev commented 1 week ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

BenjaminBossan commented 1 week ago

Oh, I merged before noticing you requested a review from Lysandre. Not sure if that's necessary for such a small change.

LysandreJik commented 1 week ago

no problem for me!