ipex-llm/python/llm/example/CPU/PyTorch-Models
Yining Wang a6a8afc47e Add qwen vl CPU example (#9221)
* eee

* add examples on CPU and GPU

* fix

* fix

* optimize model examples

* add Qwen-VL-Chat CPU example

* Add Qwen-VL CPU example

* fix optimize problem

* fix error

* Have updated, benchmark fix removed from this PR

* add generate API example

* Change formats in qwen-vl example

* Add CPU transformer int4 example for qwen-vl

* fix repo-id problem and add Readme

* change picture url

* Remove unnecessary file

---------

Co-authored-by: Yuwen Hu <yuwen.hu@intel.com>
2023-10-25 13:22:12 +08:00
..
Model Add qwen vl CPU example (#9221) 2023-10-25 13:22:12 +08:00
More-Data-Types LLM: add CPU More-Data-Types and Save-Load examples (#9179) 2023-10-17 14:38:52 +08:00
Save-Load LLM: add CPU More-Data-Types and Save-Load examples (#9179) 2023-10-17 14:38:52 +08:00
README.md LLM: update example layout (#9046) 2023-10-09 15:36:39 +08:00

Running PyTorch model using BigDL-LLM on Intel CPU

This folder contains examples of running any PyTorch model on BigDL-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