You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feature: integrate OpenVINO AI plugins
* ci: update workflows for 2.99-openvino track
* readme: remove TODOs and improve setup instructions
* fix: remove arch hard-coding
* feature: switch to personal-files interface as a less intrusive location for models
* fix: add plug-declaration to unblock build
* fix: use fixed source for command-chain scripts
* readme: remove section for manually connecting plugs
* fix: minor plug-in and extension errors from logs
* fix: avoid lua goat extension crash loop
* chore: bump versions of command-chain scripts for openvino ai plugins support
* chore: update 2.99 paths and commands to 3.0
* readme: update instructions for preview branch
* chore: bump ai plugins command-chain version for 3.0 support
* chore: revert CI to preview branches
* fix: pull new command-chain scripts for arm64 issues
* chore: make openvino command-chain scripts no-ops for arm64
* chore: bump openvino command chain versions for better hardware detection
* readme: clarify details about hardware requirements for AI plugins
---------
Co-authored-by: Jon Seager <[email protected]>
Co-authored-by: Jon Seager <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+49
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,55 @@ Now that your git metadata has been updated you are ready to create a bugfix bra
78
78
6. Someone from the team will review the open pull request and either merge it or start a discussion with you with additional changes or clarification needed.
79
79
7. Once the pull request has been merged into the stable branch, a GitHub action will rebuild the snap using your changes and publish it to the [Snap Store](https://snapcraft.io/gimp) into the `candidate` channel. After sufficient testing of the snap from the candidate channel, one of the maintainers or administrators will promote the snap to the stable branch in the Snap Store.
80
80
81
+
## OpenVINO™ AI Plugins
82
+
83
+
> [!IMPORTANT]
84
+
> These plugins are only supported on Intel hardware. The stable diffusion plugin requires an Intel GPU (integrated or discrete) and/or Intel NPU. The super resolution and semantic segmentation plugins will run on an Intel CPU, GPU, or NPU.
85
+
86
+
This snap contains support for AI plugins using Intel's OpenVINO AI inference library. In order to use these plugins, please follow these steps:
87
+
88
+
89
+
1. **Install the plugins and their dependencies**:
90
+
91
+
```shell
92
+
sudo snap install intel-npu-driver --beta # for NPU support
93
+
sudo snap install openvino-toolkit-2404 --beta
94
+
sudo snap install openvino-ai-plugins-gimp --beta
95
+
```
96
+
97
+
2. **(Optional) Enable Intel NPU and GPU acceleration**:
98
+
99
+
If you are running on a machine (e.g. a laptop or desktop containing an Intel Core Ultra processor) equipped with an Intel neural processing unit (NPU) or graphics processing unit (GPU), ensure you have permissions to use these devices by adding yourself to the `render` Unix group:
100
+
101
+
```shell
102
+
sudo usermod -a -G render $USER
103
+
```
104
+
105
+
You need to log out and log back for this change to take effect.
106
+
107
+
Next, ensure that the devices have read and write permissions set on the group level:
Models for the super resolution and semantic segmentation plugins are relatively small and therefore built into the snap, while the stable diffusion models are each on the order of GBs and therefore downloaded to a user's home directory at `~/.local/share/openvino-ai-plugins-gimp` via one of two methods: a `model-setup` command-line tool or from within the GIMP application. To run the interactive command-line tool:
119
+
120
+
```shell
121
+
openvino-ai-plugins-gimp.model-setup
122
+
```
123
+
124
+
Alternatively, users may download models from within GIMP by clicking "Model" in the top-left of the stable diffusion dialog window (Layer -> OpenVINO-AI-Plugins -> Stable Diffusion).
125
+
126
+
4. **Run `gimp` like normal**:
127
+
128
+
Instructions for using the OpenVINO AI plugins within GIMP can be found in the [upstream GitHub repo](https://github.com/intel/openvino-ai-plugins-gimp).
0 commit comments