Overview of IPEX-LLM CPU Examples
mainThe python/llm/example/CPU directory provides several implementation examples for running LLMs on Intel CPUs:
- HF-Transformers-AutoModels: Running Hugging Face Transformers models using standard AutoModel APIs.
- QLoRA-FineTuning: Performing QLoRA fine-tuning on Intel CPUs.
- vLLM-Serving: Using the vLLM serving framework with IPEX-LLM low-bit optimized models.
- Deepspeed-AutoTP: Distributed inference using DeepSpeed AutoTP with IPEX-LLM low-bit optimized models.
- LangChain: Integrating IPEX-LLM into LangChain applications.
- Applications: Running LLM applications (e.g., agents, streaming-llm) on BigDl-LLM.
- PyTorch-Models: Running any PyTorch model with a minimal code change.
- Native-Models: Converting and running
llama/chatglm/bloom/gptneox/starcodermodel families using native C++ implementations. - Speculative-Decoding: Running Hugging Face Transformers models with self-speculative decoding.
- ModelScope-Models: Running ModelScope models on Intel CPUs.
- StableDiffusion-Models: Running Stable Diffusion models on Intel CPUs.