diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Getting Error: signal: floating point exception (core dumped) when changing the scheduler

Open geekyayush opened this issue 3 years ago • 1 comments

I am trying to change the scheduler of my dreambooth model in the inference call. But I am getting the following error when I do so:

Error: signal: floating point exception (core dumped)

Here's how I am trying to do it:

newScheduler = DPMSolverMultistepScheduler.from_config(pipeline.scheduler.config)

After following huggingface documentation

My model scheduler_config.json

{
  "_class_name": "DDIMScheduler",
  "_diffusers_version": "0.10.0",
  "beta_end": 0.012,
  "beta_schedule": "scaled_linear",
  "beta_start": 0.00085,
  "clip_sample": false,
  "num_train_timesteps": 1000,
  "prediction_type": "epsilon",
  "set_alpha_to_one": false,
  "steps_offset": 1,
  "trained_betas": null
}

I would really appreciate any help.

geekyayush avatar Dec 13 '22 22:12 geekyayush

Hey @geekyayush,

Could you post a fully reproducible code snippet here ? :-)

patrickvonplaten avatar Dec 19 '22 12:12 patrickvonplaten

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Jan 13 '23 15:01 github-actions[bot]