ipex-llm/python/llm/example/CPU/PyTorch-Models/Model
Wang, Jian4 8e25de1126
LLM: Add codegeex2 example (#11143)
* add codegeex example

* update

* update cpu

* add GPU

* add gpu

* update readme
2024-05-29 10:00:26 +08:00
..
aquila2 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
bark LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
bert LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
bluelm LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
chatglm LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
chatglm3 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
codegeex2 LLM: Add codegeex2 example (#11143) 2024-05-29 10:00:26 +08:00
codegemma LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
codellama LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
codeshell LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
cohere LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
deciLM-7b LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
deepseek LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
deepseek-moe LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
distil-whisper LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
flan-t5 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
fuyu LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
internlm-xcomposer LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
internlm2 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
llama2 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
llama3 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
llava LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
mamba LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
meta-llama LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
mistral LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
mixtral LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
openai-whisper LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
phi-1_5 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
phi-2 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
phi-3 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
phixtral LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
qwen-vl LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
qwen1.5 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
skywork LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
solar LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
stablelm LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
wizardcoder-python LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
yi LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
yuan2 LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
ziya LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
README.md Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00

IPEX-LLM INT4 Optimization for Large Language Model

You can use optimize_model API to accelerate general PyTorch models on Intel servers and PCs. This directory contains example scripts to help you quickly get started using IPEX-LLM to run some popular open-source models in the community. Each model has its own dedicated folder, where you can find detailed instructions on how to install and run it.

To run the examples, we recommend using Intel® Xeon® processors (server), or >= 12th Gen Intel® Core™ processor (client).

For OS, IPEX-LLM supports Ubuntu 20.04 or later, CentOS 7 or later, and Windows 10/11.

Best Known Configuration on Linux

For better performance, it is recommended to set environment variables on Linux with the help of IPEX-LLM:

pip install ipex-llm
source ipex-llm-init