ipex-llm/python/llm/example/transformers/transformers_int4
2023-07-19 18:20:16 +08:00
..
baichuan [LLM] Add more transformers int4 examples (Falcon) (#8546) 2023-07-17 17:36:21 +08:00
chatglm Remove unused example for now (#8538) 2023-07-14 17:32:50 +08:00
chatglm2 [LLM] Add more transformers int4 example (chatglm2) (#8539) 2023-07-14 17:58:33 +08:00
dolly_v1 Remove unused example for now (#8538) 2023-07-14 17:32:50 +08:00
dolly_v2 [LLM] Add more transformers int4 example (Dolly v2) (#8571) 2023-07-19 18:20:16 +08:00
falcon [LLM] Transformers int4 example small typo fixes (#8550) 2023-07-17 18:15:32 +08:00
internlm [LLM] Add more transformers int4 example (InternLM) (#8557) 2023-07-19 15:15:38 +08:00
moss Remove unused example for now (#8538) 2023-07-14 17:32:50 +08:00
mpt [LLM] Transformers int4 example small typo fixes (#8550) 2023-07-17 18:15:32 +08:00
phoenix [LLM] Add more transformers int4 example (phoenix) (#8520) 2023-07-14 17:58:04 +08:00
redpajama [LLM] Add more transformers int4 example (RedPajama) (#8523) 2023-07-14 17:30:28 +08:00
starcoder [LLM] Add more transformers int4 example (starcoder) (#8540) 2023-07-17 14:41:19 +08:00
vicuna [LLM] Add more transformers int4 example (vicuna) (#8544) 2023-07-17 16:59:55 +08:00
whisper [LLM] whisper model transformer int4 verification and example (#8511) 2023-07-19 08:33:20 +08:00
README.md [LLM] Add more transformers int4 example (Dolly v2) (#8571) 2023-07-19 18:20:16 +08:00

BigDL-LLM Transformers INT4 Optimization for Large Language Model

You can use BigDL-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 BigDL-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.

Verified models

Model Example
LLaMA link
MPT link
Falcon link
ChatGLM link
ChatGLM2 link
MOSS link
Baichuan link
Dolly-v1 link
Dolly-v2 link
RedPajama link
Phoenix link
StarCoder link
InternLM link

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

For OS, BigDL-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 BigDL-Nano:

pip install bigdl-nano
source bigdl-nano-init