ipex-llm/python/llm/example/CPU/HF-Transformers-AutoModels
ZehuaCao 146076bdb5 Support llm-awq backend (#9856)
* Support for LLM-AWQ Backend

* fix

* Update README.md

* Add awqconfig

* modify init

* update

* support llm-awq

* fix style

* fix style

* update

* fix AwqBackendPackingMethod not found error

* fix style

* update README

* fix style

---------

Co-authored-by: Uxito-Ada <414416158@qq.com>
Co-authored-by: Heyang Sun <60865256+Uxito-Ada@users.noreply.github.com>
Co-authored-by: cyita <yitastudy@gmail.com>
2024-01-09 13:07:32 +08:00
..
Advanced-Quantizations Support llm-awq backend (#9856) 2024-01-09 13:07:32 +08:00
Model Add cpu and gpu examples for SOLAR-10.7B (#9821) 2024-01-05 09:50:28 +08:00
More-Data-Types LLM: update example layout (#9046) 2023-10-09 15:36:39 +08:00
Save-Load LLM: update example layout (#9046) 2023-10-09 15:36:39 +08:00
README.md Update readme (#9788) 2023-12-26 19:46:11 +08:00

Running Hugging Face Transformers model using BigDL-LLM on Intel CPU

This folder contains examples of running any Hugging Face Transformers model on BigDL-LLM (using the standard AutoModel APIs):

  • Model: examples of running Hugging Face Transformers models (e.g., LLaMA2, ChatGLM2, Falcon, MPT, Baichuan2, etc.) using INT4 optimizations
  • More-Data-Types: examples of applying other low bit optimizations (NF4/INT5/INT8, etc.)
  • Save-Load: examples of saving and loading low-bit models
  • Advanced-Quantizations: examples of loading GGUF/AWQ/GPTQ models