Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfsunx/OVSD21
OpenVINO based Stable Diffusion 2.1 on Intel ARC platform
https://github.com/jfsunx/OVSD21
Last synced: about 19 hours ago
JSON representation
OpenVINO based Stable Diffusion 2.1 on Intel ARC platform
- Host: GitHub
- URL: https://github.com/jfsunx/OVSD21
- Owner: jfsunx
- License: apache-2.0
- Created: 2023-06-19T07:01:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-19T07:12:43.000Z (over 1 year ago)
- Last Synced: 2024-08-01T21:45:58.192Z (3 months ago)
- Language: Jupyter Notebook
- Size: 3.12 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-openvino - Stable Diffusion 2.1 on Intel ARC - A simple and easy-to-use demo to run Stable Diffusion 2.1 for Intel ARC graphics card based on OpenVINO. (Table of content / Generative AI)
README
# OpenVINO based Stable Diffusion 2.1 on Intel ARC platform
A simple and easy-to-use demo to run Stable Diffusion 2.1 for Intel ARC graphics card based on OpenVINO.
This project is adapted from
## This project includes the following content
1. Converting the Stable Diffusion 2.1 model to the OpenVINO model
2. Running Stable Diffusion 2.1 on Intel ARC graphics card based on OpenVINO## How to use
### 1. Clone the project
```CMD
git clone https://github.com/jfsunx/OVSD21 # clone
cd OVSD21
pip install -r requirements.txt # install
```### 2. Converting the Stable Diffusion 2.1 model to the OpenVINO model
- Open ```get_model_sd21.ipynb```, Follow the tutorial to run all codes.
- After running, the ```sd2.1``` folder will be generated in the root directory, which contains the OpenVINO model (required) and the onnx model (not used).### 3. Run it in CMD
```cmd
python run.py
```After loading the model into the GPU, open the browser on ```http//localhost:7860```(URL will be found in CMD)
## Examples
### GUI
![image](./doc/pics/gui.png)
### Speed on Intel ARC A770
![image](./doc/pics/terminal.png)
## Acknowledgements
π Jupyter notebook tutorials for OpenVINOβ’ -
π€ Diffusers -
## License
Apache 2.0