intel-analytics / ipex-llm

Accelerate local LLM inference and finetuning (LLaMA, Mistral, ChatGLM, Qwen, Mixtral, Gemma, Phi, MiniCPM, Qwen-VL, MiniCPM-V, etc.) on Intel XPU (e.g., local PC with iGPU and NPU, discrete GPU such as Arc, Flex and Max); seamlessly integrate with llama.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, vLLM, GraphRAG, DeepSpeed, Axolotl, etc
Apache License 2.0
6.75k stars 1.27k forks source link

Initial NPU C++ Example #12417

Closed rnwang04 closed 5 days ago

rnwang04 commented 5 days ago

Description

1. Why the change?

https://github.com/analytics-zoo/nano/issues/1716 First version example of our current C++ NPU solution.

2. User API changes

See example README.md .

3. Summary of the change

4. How to test?