[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.
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.
| ## 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.
Just inquiring: Is > v3.0.0 still valid or should a higher version be recommended?
There was a problem hiding this comment.
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.
|
Superseded by #2932. |
No description provided.