-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[WIP]: Clean auto_gptq and auto_awq #2917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[WIP]: Clean auto_gptq and auto_awq #2917
Conversation
|
Thanks for working on this. LMK when I should take a look. |
|
@BenjaminBossan CI test status. This This PR is ready for prelim reivew. There is not much to it for |
BenjaminBossan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice reduction in complexity, thanks for working on this. Is the transformers PR a prerequisite for this PR to work? Then we should wait for that PR to land first and update the min transformers version here for completeness.
examples/sft/README.md
Outdated
| ## Multi-GPU SFT with LoRA and FSDP for GPTQModel: | ||
| As in [Multi-GPU SFT with LoRA and FSDP](https://github.com/huggingface/peft/blob/main/examples/sft/README.md#multi-gpu-sft-with-lora-and-fsdp), we also support other quantization methods like GPTQModel. You may need to install [GPTQModel](https://github.com/ModelCloud/GPTQModel) > v3.0.0 or from source. Here is the launch command for reference: [run_peft_fsdp_gptq.sh]. For the `--model_name_or_path` argument, it is important to pass a model that is already quantized with GPTQModel, like `"hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4"`. | ||
| ## Multi-GPU SFT with LoRA and FSDP for GPT-QModel: | ||
| As in [Multi-GPU SFT with LoRA and FSDP](https://github.com/huggingface/peft/blob/main/examples/sft/README.md#multi-gpu-sft-with-lora-and-fsdp), we also support other quantization methods like GPT-QModel. You may need to install [GPT-QModel](https://github.com/ModelCloud/GPTQModel) > v3.0.0 or from source. Here is the launch command for reference: [run_peft_fsdp_gptq.sh]. For the `--model_name_or_path` argument, it is important to pass a model that is already quantized with GPT-QModel, like `"hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4"`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just inquiring: Is > v3.0.0 still valid or should a higher version be recommended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just inquiring: Is > v3.0.0 still valid or should a higher version be recommended?
Yes. We we need to bump the min version to v5.4.2 (releasing today). Waiting for the exllama test to flip from FAIL to PASS for the the Transformer PR so I can be sure there are not other changes required for gpt-qmodel so the release/udpate can happen.
No description provided.