ipex-llm/python/llm/example/GPU/PyTorch-Models
Yuwen Hu 8c36b5bdde
Add qwen2 example (#11252)
* Add GPU example for Qwen2

* Update comments in README

* Update README for Qwen2 GPU example

* Add CPU example for Qwen2

Sample Output under README pending

* Update generate.py and README for CPU Qwen2

* Update GPU example for Qwen2

* Small update

* Small fix

* Add Qwen2 table

* Update README for Qwen2 CPU and GPU

Update sample output under README

---------

Co-authored-by: Zijie Li <michael20001122@gmail.com>
2024-06-07 10:29:33 +08:00
..
Model Add qwen2 example (#11252) 2024-06-07 10:29:33 +08:00
More-Data-Types Upgrade to python 3.11 (#10711) 2024-04-09 17:41:17 +08:00
Save-Load Upgrade to python 3.11 (#10711) 2024-04-09 17:41:17 +08:00
README.md Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00

Running PyTorch model using IPEX-LLM on Intel GPU

This folder contains examples of running any PyTorch model on IPEX-LLM (with "one-line code change"):

  • Model: examples of running PyTorch models (e.g., Openai Whisper, 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