# Issues with diffusers and deepspeed's init\_inference() in latest version

**URL:** <https://discuss.huggingface.co/t/issues-with-diffusers-and-deepspeeds-init-inference-in-latest-version/64532>\
**Category:** 🧨 Diffusers\
**Created:** [December 4, 2023, 2:30pm UTC](https://discuss.huggingface.co/t/issues-with-diffusers-and-deepspeeds-init-inference-in-latest-version/64532 "2023-12-04T14:30:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dyedd](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/dyedd/32/21822_2.png) [@dyedd](https://discuss.huggingface.co/u/dyedd)\
**Post date:** [December 4, 2023, 2:30pm UTC](https://discuss.huggingface.co/t/issues-with-diffusers-and-deepspeeds-init-inference-in-latest-version/64532/1 "2023-12-04T14:30:40Z")

</div>

I need everyone’s help, I had started an issue but so far I haven’t found out how to make the fix:

> <https://github.com/microsoft/DeepSpeed/issues/4742>
>
> \*\*Describe the bug\*\*
> Code source: https://github.com/microsoft/DeepSpeedExample…s/blob/master/inference/huggingface/stable-diffusion/test-stable-diffusion.py
> 
> \*\*To Reproduce\*\*
> I've tried both the latest version, and the requirements.txt version as supplied with the code. Running it through a single gpu this is no problem, however when running it with multiple gpus, it reports an error.
> 
> \*\*Expected behavior\*\*
> Supports multi-gpu
> 
> 
> \*\*Screenshots\*\*
> 
> !\[20231127084144\](https://github.com/microsoft/DeepSpeed/assets/38277217/256375c6-834a-4c65-865f-d44a36496817)
