ipex-llm/python/llm/example/GPU
dingbaorong 1e6f0c6f1a Add llamaindex gpu example (#10314)
* add llamaindex example

* fix core dump

* refine readme

* add trouble shooting

* refine readme

---------

Co-authored-by: Ariadne <wyn2000330@126.com>
2024-03-05 13:36:00 +08:00
..
Applications Update AutoGen README (#10255) 2024-02-28 11:34:45 +08:00
Deepspeed-AutoTP LLM: add avg token latency information and benchmark guide of autotp (#9940) 2024-01-19 15:09:57 +08:00
HF-Transformers-AutoModels Update FAQ document. (#10300) 2024-03-04 08:35:11 +08:00
LangChain/transformer_int4_gpu add langchain gpu example (#10277) 2024-03-05 13:33:57 +08:00
LlamaIndex Add llamaindex gpu example (#10314) 2024-03-05 13:36:00 +08:00
LLM-Finetuning LLM: add qlora finetuning example using trl.SFTTrainer (#10183) 2024-02-21 16:40:04 +08:00
ModelScope-Models LLM: add Modelscope model example (#10126) 2024-02-08 11:18:07 +08:00
PyTorch-Models Revert "Add rwkv example (#9432)" (#10264) 2024-02-28 11:48:31 +08:00
Speculative-Decoding LLM: Support gpt-j in speculative decoding (#10067) 2024-02-02 14:54:55 +08:00
vLLM-Serving Add vLLM bf16 support (#10278) 2024-02-29 16:33:42 +08:00
README.md add langchain gpu example (#10277) 2024-03-05 13:33:57 +08:00

BigDL-LLM Examples on Intel GPU

This folder contains examples of running BigDL-LLM on Intel GPU:

  • Applications: running LLM applications (such as autogen) on BigDL-LLM
  • HF-Transformers-AutoModels: running any Hugging Face Transformers model on BigDL-LLM (using the standard AutoModel APIs)
  • LLM-Finetuning: running finetuning (such as LoRA, QLoRA, QA-LoRA, etc) using BigDL-LLM on Intel GPUs
  • vLLM-Serving: running vLLM serving framework on intel GPUs (with BigDL-LLM low-bit optimized models)
  • Deepspeed-AutoTP: running distributed inference using DeepSpeed AutoTP (with BigDL-LLM low-bit optimized models) on Intel GPUs
  • LangChain: running LangChain applications on BigDL-LLM
  • PyTorch-Models: running any PyTorch model on BigDL-LLM (with "one-line code change")
  • Speculative-Decoding: running any Hugging Face Transformers model with self-speculative decoding on Intel GPUs
  • ModelScope-Models: running ModelScope model with BigDL-LLM on Intel GPUs

System Support

1. Linux:

Hardware:

  • Intel Arc™ A-Series Graphics
  • Intel Data Center GPU Flex Series
  • Intel Data Center GPU Max Series

Operating System:

  • Ubuntu 20.04 or later (Ubuntu 22.04 is preferred)

2. Windows

Hardware:

  • Intel iGPU and dGPU

Operating System:

  • Windows 10/11, with or without WSL

Requirements

To apply Intel GPU acceleration, therere several steps for tools installation and environment preparation. See the GPU installation guide for mode details.