Skip To Main Content
Support Knowledge Base

Unable to run Stable Diffusion text to image on GPU device with OpenVINO™

Content Type: Error Messages   |   Article ID: 000097815   |   Last Reviewed: 05/27/2025

Description

Ran Stable Diffusion text to image with OpenVINO™ on the GPU device with the image size (1024X576) and received the error message:

RuntimeError: Exception from src\inference\src\core.cpp:116:
[ GENERAL_ERROR ] [CL ext] Can not allocate nullptr for USM type.

Resolution

The error is due to insufficient memory. The bigger the size of the image generated, the higher the memory usage.

Reduce the image size generated to avoid memory usage fully occupied.

Related Products

This article applies to 1 products.