@@ -5,7 +5,7 @@ Intel® Extension for PyTorch\*
5
5
6
6
</div >
7
7
8
- ** CPU** [ 💻main branch] ( https://github.com/intel/intel-extension-for-pytorch/tree/main )   ;  ;  ; |  ;  ;  ; [ 🌱Quick Start] ( https://intel.github.io/intel-extension-for-pytorch/cpu/latest/tutorials/getting_started.html )   ;  ;  ; |  ;  ;  ; [ 📖Documentations] ( https://intel.github.io/intel-extension-for-pytorch/cpu/latest/ )   ;  ;  ; |  ;  ;  ; [ 🏃Installation] ( https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=cpu&version=v2.5 .0%2Bcpu )   ;  ;  ; |  ;  ;  ; [ 💻LLM Example] ( https://github.com/intel/intel-extension-for-pytorch/tree/main/examples/cpu/llm ) <br >
8
+ ** CPU** [ 💻main branch] ( https://github.com/intel/intel-extension-for-pytorch/tree/main )   ;  ;  ; |  ;  ;  ; [ 🌱Quick Start] ( https://intel.github.io/intel-extension-for-pytorch/cpu/latest/tutorials/getting_started.html )   ;  ;  ; |  ;  ;  ; [ 📖Documentations] ( https://intel.github.io/intel-extension-for-pytorch/cpu/latest/ )   ;  ;  ; |  ;  ;  ; [ 🏃Installation] ( https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=cpu&version=v2.6 .0%2Bcpu )   ;  ;  ; |  ;  ;  ; [ 💻LLM Example] ( https://github.com/intel/intel-extension-for-pytorch/tree/main/examples/cpu/llm ) <br >
9
9
** GPU** [ 💻main branch] ( https://github.com/intel/intel-extension-for-pytorch/tree/xpu-main )   ;  ;  ; |  ;  ;  ; [ 🌱Quick Start] ( https://intel.github.io/intel-extension-for-pytorch/xpu/latest/tutorials/getting_started.html )   ;  ;  ; |  ;  ;  ; [ 📖Documentations] ( https://intel.github.io/intel-extension-for-pytorch/xpu/latest/ )   ;  ;  ; |  ;  ;  ; [ 🏃Installation] ( https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu )   ;  ;  ; |  ;  ;  ; [ 💻LLM Example] ( https://github.com/intel/intel-extension-for-pytorch/tree/xpu-main/examples/gpu/llm ) <br >
10
10
11
11
Intel® Extension for PyTorch\* extends PyTorch\* with up-to-date features optimizations for an extra performance boost on Intel hardware. Optimizations take advantage of Intel® Advanced Vector Extensions 512 (Intel® AVX-512) Vector Neural Network Instructions (VNNI) and Intel® Advanced Matrix Extensions (Intel® AMX) on Intel CPUs as well as Intel X<sup >e</sup > Matrix Extensions (XMX) AI engines on Intel discrete GPUs. Moreover, Intel® Extension for PyTorch* provides easy GPU acceleration for Intel discrete GPUs through the PyTorch* xpu device.
@@ -18,46 +18,49 @@ In the current technological landscape, Generative AI (GenAI) workloads and mode
18
18
19
19
| MODEL FAMILY | MODEL NAME (Huggingface hub) | FP32 | BF16 | Static quantization INT8 | Weight only quantization INT8 | Weight only quantization INT4 |
20
20
| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
21
- | LLAMA| meta-llama/Llama-2-7b-hf | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
22
- | LLAMA| meta-llama/Llama-2-13b-hf | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
23
- | LLAMA| meta-llama/Llama-2-70b-hf | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
24
- | LLAMA| meta-llama/Meta-Llama-3-8B | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
25
- | LLAMA| meta-llama/Meta-Llama-3-70B | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
26
- | LLAMA| meta-llama/Meta-Llama-3.1-8B-Instruct | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
27
- | LLAMA| meta-llama/Llama-3.2-3B-Instruct | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
28
- | LLAMA| meta-llama/Llama-3.2-11B-Vision-Instruct | 🟩 | 🟩 | | 🟩 | |
29
- | GPT-J| EleutherAI/gpt-j-6b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
30
- | GPT-NEOX| EleutherAI/gpt-neox-20b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
31
- | DOLLY| databricks/dolly-v2-12b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
32
- | FALCON| tiiuae/falcon-7b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
33
- | FALCON| tiiuae/falcon-11b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
34
- | FALCON| tiiuae/falcon-40b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
35
- | OPT| facebook/opt-30b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
36
- | OPT| facebook/opt-1.3b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
37
- | Bloom| bigscience/bloom-1b7 | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
38
- | CodeGen| Salesforce/codegen-2B-multi | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
39
- | Baichuan| baichuan-inc/Baichuan2-7B-Chat | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
40
- | Baichuan| baichuan-inc/Baichuan2-13B-Chat | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
41
- | Baichuan| baichuan-inc/Baichuan-13B-Chat | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
42
- | ChatGLM| THUDM/chatglm3-6b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
43
- | ChatGLM| THUDM/chatglm2-6b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
44
- | GPTBigCode| bigcode/starcoder | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
45
- | T5| google/flan-t5-xl | 🟩 | 🟩 | 🟩 | 🟩 | |
46
- | MPT| mosaicml/mpt-7b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
47
- | Mistral| mistralai/Mistral-7B-v0.1 | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
48
- | Mixtral| mistralai/Mixtral-8x7B-v0.1 | 🟩 | 🟩 | | 🟩 | 🟩 |
49
- | Stablelm| stabilityai/stablelm-2-1_6b | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
50
- | Qwen| Qwen/Qwen-7B-Chat | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
51
- | Qwen| Qwen/Qwen2-7B | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
52
- | LLaVA| liuhaotian/llava-v1.5-7b | 🟩 | 🟩 | | 🟩 | 🟩 |
53
- | GIT| microsoft/git-base | 🟩 | 🟩 | | 🟩 | |
54
- | Yuan| IEITYuan/Yuan2-102B-hf | 🟩 | 🟩 | | 🟩 | |
55
- | Phi| microsoft/phi-2 | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
56
- | Phi| microsoft/Phi-3-mini-4k-instruct | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
57
- | Phi| microsoft/Phi-3-mini-128k-instruct | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
58
- | Phi| microsoft/Phi-3-medium-4k-instruct | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
59
- | Phi| microsoft/Phi-3-medium-128k-instruct | 🟩 | 🟩 | 🟩 | 🟩 | 🟩 |
60
- | Whisper| openai/whisper-large-v2 | 🟩 | 🟩 | 🟩 | 🟩 | |
21
+ | LLAMA| meta-llama/Llama-2-7b-hf | ✅ | ✅ | ✅ | ✅ | ✅ |
22
+ | LLAMA| meta-llama/Llama-2-13b-hf | ✅ | ✅ | ✅ | ✅ | ✅ |
23
+ | LLAMA| meta-llama/Llama-2-70b-hf | ✅ | ✅ | ✅ | ✅ | ✅ |
24
+ | LLAMA| meta-llama/Meta-Llama-3-8B | ✅ | ✅ | ✅ | ✅ | ✅ |
25
+ | LLAMA| meta-llama/Meta-Llama-3-70B | ✅ | ✅ | ✅ | ✅ | ✅ |
26
+ | LLAMA| meta-llama/Meta-Llama-3.1-8B-Instruct | ✅ | ✅ | ✅ | ✅ | ✅ |
27
+ | LLAMA| meta-llama/Llama-3.2-3B-Instruct | ✅ | ✅ | ✅ | ✅ | ✅ |
28
+ | LLAMA| meta-llama/Llama-3.2-11B-Vision-Instruct | ✅ | ✅ | | ✅ | ✅ |
29
+ | GPT-J| EleutherAI/gpt-j-6b | ✅ | ✅ | ✅ | ✅ | ✅ |
30
+ | GPT-NEOX| EleutherAI/gpt-neox-20b | ✅ | ✅ | ✅ | ✅ | ✅ |
31
+ | DOLLY| databricks/dolly-v2-12b | ✅ | ✅ | ✅ | ✅ | ✅ |
32
+ | FALCON| tiiuae/falcon-7b | ✅ | ✅ | ✅ | ✅ | ✅ |
33
+ | FALCON| tiiuae/falcon-11b | ✅ | ✅ | ✅ | ✅ | ✅ |
34
+ | FALCON| tiiuae/falcon-40b | ✅ | ✅ | ✅ | ✅ | ✅ |
35
+ | OPT| facebook/opt-30b | ✅ | ✅ | ✅ | ✅ | ✅ |
36
+ | OPT| facebook/opt-1.3b | ✅ | ✅ | ✅ | ✅ | ✅ |
37
+ | Bloom| bigscience/bloom-1b7 | ✅ | ✅ | ✅ | ✅ | ✅ |
38
+ | CodeGen| Salesforce/codegen-2B-multi | ✅ | ✅ | ✅ | ✅ | ✅ |
39
+ | Baichuan| baichuan-inc/Baichuan2-7B-Chat | ✅ | ✅ | ✅ | ✅ | ✅ |
40
+ | Baichuan| baichuan-inc/Baichuan2-13B-Chat | ✅ | ✅ | ✅ | ✅ | ✅ |
41
+ | Baichuan| baichuan-inc/Baichuan-13B-Chat | ✅ | ✅ | ✅ | ✅ | ✅ |
42
+ | ChatGLM| THUDM/chatglm3-6b | ✅ | ✅ | ✅ | ✅ | ✅ |
43
+ | ChatGLM| THUDM/chatglm2-6b | ✅ | ✅ | ✅ | ✅ | ✅ |
44
+ | GPTBigCode| bigcode/starcoder | ✅ | ✅ | ✅ | ✅ | ✅ |
45
+ | T5| google/flan-t5-xl | ✅ | ✅ | ✅ | ✅ | ✅ |
46
+ | MPT| mosaicml/mpt-7b | ✅ | ✅ | ✅ | ✅ | ✅ |
47
+ | Mistral| mistralai/Mistral-7B-v0.1 | ✅ | ✅ | ✅ | ✅ | ✅ |
48
+ | Mixtral| mistralai/Mixtral-8x7B-v0.1 | ✅ | ✅ | | ✅ | ✅ |
49
+ | Stablelm| stabilityai/stablelm-2-1_6b | ✅ | ✅ | ✅ | ✅ | ✅ |
50
+ | Qwen| Qwen/Qwen-7B-Chat | ✅ | ✅ | ✅ | ✅ | ✅ |
51
+ | Qwen| Qwen/Qwen2-7B | ✅ | ✅ | ✅ | ✅ | ✅ |
52
+ | LLaVA| liuhaotian/llava-v1.5-7b | ✅ | ✅ | | ✅ | ✅ |
53
+ | GIT| microsoft/git-base | ✅ | ✅ | | ✅ | ✅ |
54
+ | Yuan| IEITYuan/Yuan2-102B-hf | ✅ | ✅ | | ✅ | |
55
+ | Phi| microsoft/phi-2 | ✅ | ✅ | ✅ | ✅ | ✅ |
56
+ | Phi| microsoft/Phi-3-mini-4k-instruct | ✅ | ✅ | ✅ | ✅ | ✅ |
57
+ | Phi| microsoft/Phi-3-mini-128k-instruct | ✅ | ✅ | ✅ | ✅ | ✅ |
58
+ | Phi| microsoft/Phi-3-medium-4k-instruct | ✅ | ✅ | ✅ | ✅ | ✅ |
59
+ | Phi| microsoft/Phi-3-medium-128k-instruct | ✅ | ✅ | ✅ | ✅ | ✅ |
60
+ | Whisper| openai/whisper-large-v2 | ✅ | ✅ | ✅ | ✅ | ✅ |
61
+ | Maira| microsoft/maira-2 | ✅ | ✅ | | ✅ | ✅ |
62
+ | Jamba| ai21labs/Jamba-v0.1 | ✅ | ✅ | | ✅ | ✅ |
63
+ | DeepSeek| deepseek-ai/DeepSeek-V2.5-1210 | ✅ | ✅ | | ✅ | ✅ |
61
64
62
65
* Note* : The above verified models (including other models in the same model family, like "codellama/CodeLlama-7b-hf" from LLAMA family) are well supported with all optimizations like indirect access KV cache, fused ROPE, and customized linear kernels.
63
66
We are working in progress to better support the models in the tables with various data types. In addition, more models will be optimized in the future.
@@ -80,4 +83,3 @@ See Intel's [Security Center](https://www.intel.com/content/www/us/en/security-c
80
83
for information on how to report a potential security issue or vulnerability.
81
84
82
85
See also: [ Security Policy] ( SECURITY.md )
83
-
0 commit comments