|
--- |
|
base_model: stabilityai/sd-turbo |
|
pipeline_tag: text-to-image |
|
tags: |
|
- openvino |
|
- nncf |
|
- 8-bit |
|
inference: false |
|
--- |
|
### Crashed on Colab CPU ### |
|
|
|
This model is a quantized version of [`stabilityai/sd-turbo`](https://huggingface.co/stabilityai/sd-turbo) and is converted to the OpenVINO format. This model was obtained via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space with [optimum-intel](https://github.com/huggingface/optimum-intel). |
|
|
|
First make sure you have `optimum-intel` installed: |
|
|
|
```bash |
|
pip install optimum[openvino] |
|
``` |
|
|
|
To load your model you can do as follows: |
|
|
|
```python |
|
from optimum.intel import OVStableDiffusionPipeline |
|
|
|
model_id = "anokimchen/sd-turbo-openvino-8bit" |
|
model = OVStableDiffusionPipeline.from_pretrained(model_id) |
|
``` |
|
|