Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Error in GenAI StableDiffusion

Sid007
Beginner
331 Views

Hi ,   

I am trying to run SDXL Turbo on a VirtualBox VM running Ubuntu 24.04.2 LTS

Host is a Intel Core i5 machine with 8 GB RAM running Windows 10 

I have installed openvino and optimum-intel using the pip venv method   

pip show openvino ---> 2025.1.0   

pip show openvino-genai --> 2025.1.0.0   

pip show optimum-intel --> 1.22.0   

 

Also downloaded SDXL Turbo and converted it to IR format using optimum-cli   

 

Now , I am trying to run the following code :-   

 

import openvino_genai as og 

from PIL import Image  

pipeline=og.Text2ImagePipeline ("sdxl-vino","CPU") 

 

This is giving me the following error :- 

RuntimeError :- Check ov_tokenizer || ov_detokenizer   

Neither tokenizer nor detokenizer models were provided   

 

Can anyone help or provide a clue as to what is going wrong   

 

 Thanks   

Labels (1)
0 Kudos
2 Replies
Peh_Intel
Moderator
276 Views

Hi Sid007,


I was able to run SDXL Turbo model with OpenVINO GenAI.


I am having the same version of openvino, openvino-genai and optimum-intel as you.


The command used before downloading SDXL Turbo model:

pip install diffusers transformers accelerate --upgrade


The command used to download SDXL Turbo model:

optimum-cli export openvino -m stabilityai/sdxl-turbo sdxl-turbo


Hope this helps.



Regards,

Peh


0 Kudos
Peh_Intel
Moderator
169 Views

Hi Sid007,


This thread will no longer be monitored since we have provided answer. If you need any additional information from Intel, please submit a new question. 



Regards,

Peh


0 Kudos
Reply