ipex-llm/python/llm/example/CPU/Speculative-Decoding
Wang, Jian4 9df70d95eb
Refactor bigdl.llm to ipex_llm (#24)
* Rename bigdl/llm to ipex_llm

* rm python/llm/src/bigdl

* from bigdl.llm to from ipex_llm
2024-03-22 15:41:21 +08:00
..
baichuan2 Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
chatglm3 Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
llama2 Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
mistral Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
qwen Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
starcoder Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
vicuna Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
ziya Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
README.md LLama2 CPU example of speculative decoding (#9962) 2024-01-31 09:45:20 +08:00

Self-Speculative Decoding for Large Language Model BF16 Inference using BigDL-LLM on Intel CPUs

You can use BigDL-LLM to run BF16 inference for any Huggingface Transformer model with self-speculative decoding on Intel CPUs. This directory contains example scripts to help you quickly get started to run some popular open-source models using self-speculative decoding. Each model has its own dedicated folder, where you can find detailed instructions on how to install and run it.

Verified Hardware Platforms

  • Intel Xeon SPR server

To run these examples with BigDL-LLM, we have some recommended requirements for your machine, please refer to here for more information. Make sure you have installed bigdl-llm before:

pip install --pre --upgrade bigdl-llm[all]

Moreover, install IPEX 2.1.0, which can be done through pip install intel_extension_for_pytorch==2.1.0.