Intel Extension for PyTorch LLM
StaleDescription
Accelerate local LLM inference and finetuning on Intel XPU. Supports LLaMA, Mistral, Qwen, DeepSeek and more. Seamlessly integrates with LangChain, LlamaIndex, and other agent frameworks.
Key Features
- Intel open-source LLM acceleration library supporting efficient inference on Intel GPU (Arc/Flex/Max), NPU, and CPU
- Supports 70+ mainstream models including LLaMA, Qwen, DeepSeek, Mistral with low-bit (FP8/FP6/FP4/INT4) quantization
- Seamless integration with llama.cpp, Ollama, vLLM, LangChain, LlamaIndex, and other mainstream frameworks
- FlashMoE technology: run DeepSeek V3/R1 671B models with just 1-2 Intel Arc GPUs
- Provides Ollama and llama.cpp portable zips for zero-installation running on Intel GPUs
- Supports HuggingFace PEFT/TRL finetuning and complete training ecosystem including Axolotl
Use Cases
Categories
Quick Start
1. Install: pip install ipex-llm (one-click install command recommended)
2. Download Ollama or llama.cpp portable zip
3. Set environment variables to activate Intel GPU acceleration
4. Run models with Ollama: ollama run deepseek-r1
5. Or load models using HuggingFace Transformers in Python
6. Refer to docs for LangChain framework integration