ipex-llm/python/llm/example/CPU
ZehuaCao 52a2135d83
Replace ipex with ipex-llm (#10554)
* fix ipex with ipex_llm

* fix ipex with ipex_llm

* update

* update

* update

* update

* update

* update

* update

* update
2024-03-28 13:54:40 +08:00
..
Applications Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00
Deepspeed-AutoTP Replace ipex with ipex-llm (#10554) 2024-03-28 13:54:40 +08:00
HF-Transformers-AutoModels Update pip install to use --extra-index-url for ipex package (#10557) 2024-03-28 09:56:23 +08:00
LangChain Replace ipex with ipex-llm (#10554) 2024-03-28 13:54:40 +08:00
LlamaIndex Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00
ModelScope-Models Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00
Native-Models Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00
PyTorch-Models Replace ipex with ipex-llm (#10554) 2024-03-28 13:54:40 +08:00
QLoRA-FineTuning Replace ipex with ipex-llm (#10554) 2024-03-28 13:54:40 +08:00
Speculative-Decoding Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00
vLLM-Serving Update_document by heyang (#30) 2024-03-25 10:06:02 +08:00
README.md Update_document by heyang (#30) 2024-03-25 10:06:02 +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 ipex-llm
source ipex-llm-init