Skip to content

IndexError: index 999 is out of bounds for dimension 0 with size 51 #11474

@xalteropsx

Description

@xalteropsx
File "Z:\software\python11\Lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl.py", line 1230, in __call__
   latents = self.scheduler.step(noise_pred, t, latents, **extra_step_kwargs, return_dict=False)[0]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "Z:\software\python11\Lib\site-packages\diffusers\schedulers\scheduling_dpmsolver_multistep.py", line 972, in step
   model_output = self.convert_model_output(model_output, sample=sample)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "Z:\software\python11\Lib\site-packages\diffusers\schedulers\scheduling_dpmsolver_multistep.py", line 561, in convert_model_output
   sigma = self.sigmas[self.step_index]
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^
IndexError: index 999 is out of bounds for dimension 0 with size 51

always getting this issue in batch img

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions