Skip to content

Commit

Permalink
Update AWQ and GPTQ GPU example (#12300)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzivan authored Oct 31, 2024
1 parent 0763268 commit 6f22133
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,10 @@ conda create -n llm python=3.11
conda activate llm
# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
pip install transformers==4.35.0
pip install autoawq==0.1.8 --no-deps
pip install accelerate==0.25.0
pip install einops
```
**Note: For Mixtral model, please use transformers 4.36.0:**
```bash
pip install transformers==4.36.0
```

### 2. Configures OneAPI environment variables

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ conda create -n llm python=3.11
conda activate llm
# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
pip install transformers==4.37.0
pip install auto_gptq==0.7.1
pip install optimum==1.14.0
```
Expand Down

0 comments on commit 6f22133

Please sign in to comment.