ipex-llm/python/llm/example/transformers/transformers_int4/GPU
2023-08-15 15:07:04 +08:00
..
baichuan LLM: add baichuan-13B on arc example (#8755) 2023-08-15 15:07:04 +08:00
chatglm2 LLM: add chatglm2 example for Arc (#8741) 2023-08-14 10:43:08 +08:00
internlm LLM: add internlm example on arc (#8722) 2023-08-14 09:39:39 +08:00
llama2 LLM: add internlm example on arc (#8722) 2023-08-14 09:39:39 +08:00
mpt LLM: add mpt example on arc (#8723) 2023-08-14 09:40:01 +08:00
voiceassistant LLM: add internlm example on arc (#8722) 2023-08-14 09:39:39 +08:00
whisper LLM: add whisper example for arc transformer int4 (#8749) 2023-08-14 17:05:48 +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