ipex-llm/python/llm/example/CPU/HF-Transformers-AutoModels/Model
2024-09-03 16:50:42 +08:00
..
aquila
aquila2 Miniconda/Anaconda -> Miniforge update in examples (#11194) 2024-06-04 10:14:02 +08:00
baichuan
baichuan2
bluelm
chatglm
chatglm2
chatglm3
codegeex2
codegemma fix gemma for 4.41 (#11531) 2024-07-18 15:02:50 -07:00
codellama
codeshell
cohere
deciLM-7b
deepseek
deepseek-moe
distil-whisper
dolly_v1
dolly_v2
falcon
flan-t5
fuyu
gemma fix gemma for 4.41 (#11531) 2024-07-18 15:02:50 -07:00
glm-4v upgrade glm-4v example transformers version (#11719) 2024-08-06 14:55:09 +08:00
glm4 Upgrade glm-4 example transformers version (#11659) 2024-07-31 10:24:50 +08:00
internlm
internlm-xcomposer
internlm2 fix 1482 (#11661) 2024-07-26 12:39:09 -07:00
llama2
llama3
llama3.1 Add Llama3.1 example (#11689) 2024-07-31 10:53:30 +08:00
minicpm fix minicpm for transformers>=4.39 (#11533) 2024-07-18 15:01:57 -07:00
minicpm-v-2_6 Rename MiniCPM-V-2_6 CPU example (#11998) 2024-09-03 16:50:42 +08:00
mistral
mixtral
moss
mpt
phi-1_5
phi-2
phi-3
phi-3-vision
phixtral
phoenix
qwen Update ipex-llm default transformers version to 4.37.0 (#11859) 2024-08-20 17:37:58 +08:00
qwen-vl Update ipex-llm default transformers version to 4.37.0 (#11859) 2024-08-20 17:37:58 +08:00
qwen1.5
qwen2
redpajama
replit
skywork
solar
stablelm
starcoder
vicuna
whisper
wizardcoder-python
yi
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