ipex-llm/python/llm/example/CPU/HF-Transformers-AutoModels/Model
Jin Qiao f224e98297
Add GLM-4 CPU example (#11223)
* Add GLM-4 example

* add tiktoken dependency

* fix

* fix
2024-06-12 15:30:51 +08:00
..
aquila
aquila2
baichuan
baichuan2
bluelm
chatglm Miniconda/Anaconda -> Miniforge update in examples (#11194) 2024-06-04 10:14:02 +08:00
chatglm2
chatglm3
codegeex2
codegemma
codellama LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
codeshell
cohere LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
deciLM-7b
deepseek LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
deepseek-moe
distil-whisper
dolly_v1
dolly_v2
falcon
flan-t5
fuyu
gemma LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
glm4 Add GLM-4 CPU example (#11223) 2024-06-12 15:30:51 +08:00
internlm LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
internlm-xcomposer
internlm2
llama2
llama3
minicpm Add CPU and GPU example for MiniCPM (#11202) 2024-06-05 18:09:53 +08:00
mistral
mixtral
moss LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
mpt LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
phi-1_5
phi-2 phi-2 transformers 4.37 (#11161) 2024-06-05 13:36:41 -07:00
phi-3 Add CPU and GPU example for MiniCPM (#11202) 2024-06-05 18:09:53 +08:00
phi-3-vision
phixtral Miniconda/Anaconda -> Miniforge update in examples (#11194) 2024-06-04 10:14:02 +08:00
phoenix LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
qwen
qwen-vl
qwen1.5
qwen2 Update sample output for HF Qwen2 GPU and CPU (#11257) 2024-06-07 11:36:22 +08:00
redpajama
replit Miniconda/Anaconda -> Miniforge update in examples (#11194) 2024-06-04 10:14:02 +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
starcoder
vicuna
whisper
wizardcoder-python
yi Miniconda/Anaconda -> Miniforge update in examples (#11194) 2024-06-04 10:14:02 +08:00
yuan2
ziya
README.md

IPEX-LLM Transformers INT4 Optimization for Large Language Model

You can use IPEX-LLM to run any Huggingface Transformer models with INT4 optimizations on either servers or laptops. 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 (glibc>=2.17), CentOS 7 or later (glibc>=2.17), 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 --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu
source ipex-llm-init