The OpenVINO™ GenAI repository consists of the GenAI library and additional GenAI samples.
OpenVINO™ GenAI is a flavor of OpenVINO, aiming to simplify running inference of generative AI models. It hides the complexity of the generation process and minimizes the amount of code required.
For installation and usage instructions, refer to the GenAI Library README.
The OpenVINO™ GenAI repository contains pipelines that implement image and text generation tasks. The implementation uses OpenVINO capabilities to optimize the pipelines. Each sample covers a family of models and suggests certain modifications to adapt the code to specific needs. It includes the following pipelines:
- Benchmarking script for large language models
- Text generation samples that support most popular models like LLaMA 2:
- Stable Diffuison (with LoRA) C++ image generation pipeline
- Latent Consistency Model (with LoRA) C++ image generation pipeline
Requirements may vary for different samples. See respective readme files for more details, and make sure to install the OpenVINO version listed there. Refer to documentation to see how to install OpenVINO.
The supported devices are CPU and GPU including Intel discrete GPU.
See also: https://docs.openvino.ai/2023.3/gen_ai_guide.html.
The OpenVINO™ GenAI repository is licensed under Apache License Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.