fddemarco-mutt commited on
Commit
dc048cc
1 Parent(s): 795a223

Fix Future Warning

Browse files

FutureWarning: The configuration file of this scheduler is outdated. `steps_offset` should be set to 1 instead of 0. Please make sure to update the config accordingly as leaving `steps_offset` might led to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file

Files changed (1) hide show
  1. scheduler/scheduler_config.json +1 -0
scheduler/scheduler_config.json CHANGED
@@ -13,6 +13,7 @@
13
  "rescale_betas_zero_snr": false,
14
  "sample_max_value": 1.0,
15
  "set_alpha_to_one": false,
 
16
  "skip_prk_steps": true,
17
  "timestep_spacing": "trailing"
18
  }
 
13
  "rescale_betas_zero_snr": false,
14
  "sample_max_value": 1.0,
15
  "set_alpha_to_one": false,
16
+ "steps_offset": 1,
17
  "skip_prk_steps": true,
18
  "timestep_spacing": "trailing"
19
  }