ipex-llm/python/llm/example/CPU
2024-05-29 13:15:27 -07:00
..
Applications LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
Deepspeed-AutoTP LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
HF-Transformers-AutoModels LLM: Add codegeex2 example (#11143) 2024-05-29 10:00:26 +08:00
LangChain Further Modify CPU example (#11081) 2024-05-21 13:55:47 +08:00
LlamaIndex Llamaindex: add tokenizer_id and support chat (#10590) 2024-04-07 13:51:34 +08:00
ModelScope-Models LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
Native-Models LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
PyTorch-Models LLM: Add codegeex2 example (#11143) 2024-05-29 10:00:26 +08:00
QLoRA-FineTuning Further Modify CPU example (#11081) 2024-05-21 13:55:47 +08:00
Speculative-Decoding Reconstruct Speculative Decoding example directory (#11136) 2024-05-29 13:15:27 -07:00
vLLM-Serving LLM: Add CPU vLLM entrypoint (#11083) 2024-05-24 09:16:59 +08:00
README.md Further Modify CPU example (#11081) 2024-05-21 13:55:47 +08:00

IPEX-LLM Examples on Intel CPU

This folder contains examples of running IPEX-LLM on Intel CPU:

  • HF-Transformers-AutoModels: running any Hugging Face Transformers model on IPEX-LLM (using the standard AutoModel APIs)
  • QLoRA-FineTuning: running QLoRA finetuning using IPEX-LLM on intel CPUs
  • vLLM-Serving: running vLLM serving framework on intel CPUs (with IPEX-LLM low-bit optimized models)
  • Deepspeed-AutoTP: running distributed inference using DeepSpeed AutoTP (with IPEX-LLM low-bit optimized models)
  • LangChain: running LangChain applications on IPEX-LLM
  • Applications: running LLM applications (such as agent, streaming-llm) on BigDl-LLM
  • PyTorch-Models: running any PyTorch model on IPEX-LLM (with "one-line code change")
  • Native-Models: converting & running LLM in llama/chatglm/bloom/gptneox/starcoder model family using native (cpp) implementation
  • Speculative-Decoding: running any Hugging Face Transformers model with self-speculative decoding on Intel CPUs
  • ModelScope-Models: running ModelScope model with IPEX-LLM on Intel CPUs

System Support

Hardware:

  • Intel® Core™ processors
  • Intel® Xeon® processors

Operating System:

  • Ubuntu 20.04 or later (glibc>=2.17)
  • CentOS 7 or later (glibc>=2.17)
  • Windows 10/11, with or without WSL

Best Known Configuration on Linux

For better performance, it is recommended to set environment variables on Linux with the help of IPEX-LLM:

pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu
source ipex-llm-init