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.

About Cpu cores

Monis_Ahmed
Beginner
796 Views
Sir can I enable all 16 cores of my i5 12600k cpu for better performance of stable diffusion bcoz it default set on 1 core.
0 Kudos
2 Replies
Wan_Intel
Moderator
776 Views

Hi Monis_Ahmed,

Thanks for reaching out to us.

Yes, you can enable all CPU cores by Multi-Threading Optimization. You can use the following properties to limit available CPU resources for model inference.


  • ov::inference_num_threads
  • ov::hint::scheduling_core_type
  • ov::hint::enable_hyper_threading 


For more information, please refer to:

https://docs.openvino.ai/2023.2/openvino_docs_OV_UG_supported_plugins_CPU.html#multi-threading-optimization


Hope it helps.



Regards,

Wan


0 Kudos
Wan_Intel
Moderator
688 Views

Hi Monis_Ahmed,

Thanks for your question.

 

If you need any additional information from Intel, please submit a new question as this thread will no longer be monitored.

 

 

Regards,

Wan


0 Kudos
Reply