ipex-llm/python/llm/example/transformers/transformers_int4/GPU
Ruonan Wang 0186f3ab2f llm: update all ARC int4 examples (#8809)
* update GPU examples

* update other examples

* fix

* update based on comment
2023-08-25 15:26:10 +08:00
..
baichuan llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
chatglm2 llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
falcon llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
internlm llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
llama2 llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
mpt llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
qwen llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
voiceassistant Fix voice assistant example input error on Linux (#8799) 2023-08-25 10:47:27 +08:00
whisper llm: update all ARC int4 examples (#8809) 2023-08-25 15:26:10 +08:00
README.md LLM: add chatglm2 example for Arc (#8741) 2023-08-14 10:43:08 +08:00

BigDL-LLM Transformers INT4 Optimization for Large Language Model on Intel® Arc™ A-Series Graphics

You can use BigDL-LLM to run almost every Huggingface Transformer models with INT4 optimizations on your laptops with Intel® Arc™ A-Series Graphics. 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.

To apply Intel® Arc™ A-Series Graphics acceleration, therere several steps for tools installation and environment preparation.

Step 1, only Linux system is supported now, Ubuntu 22.04 is prefered.

Step 2, please refer to our drive installation for general purpose GPU capabilities.

Step 3, you also need to download and install Intel® oneAPI Base Toolkit. OneMKL and DPC++ compiler are needed, others are optional.

Best Known Configuration on Linux

For better performance, it is recommended to set environment variables on Linux:

export USE_XETLA=OFF
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1