Download scheduler config from repo
This commit is contained in:
@@ -36,7 +36,8 @@ class CoreMLSamplerLCM(CoreMLSampler):
|
||||
|
||||
def __init__(self):
|
||||
self.scheduler = LCMScheduler.from_pretrained(
|
||||
os.path.join(os.path.dirname(__file__), "scheduler_config.json")
|
||||
"SimianLuo/LCM_Dreamshaper_v7",
|
||||
subfolder="scheduler"
|
||||
)
|
||||
|
||||
def sample(
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"_class_name": "LCMScheduler",
|
||||
"_diffusers_version": "0.22.0.dev0",
|
||||
"beta_end": 0.012,
|
||||
"beta_schedule": "scaled_linear",
|
||||
"beta_start": 0.00085,
|
||||
"clip_sample": true,
|
||||
"clip_sample_range": 1.0,
|
||||
"dynamic_thresholding_ratio": 0.995,
|
||||
"num_train_timesteps": 1000,
|
||||
"prediction_type": "epsilon",
|
||||
"rescale_betas_zero_snr": false,
|
||||
"sample_max_value": 1.0,
|
||||
"set_alpha_to_one": true,
|
||||
"steps_offset": 0,
|
||||
"thresholding": false,
|
||||
"timestep_spacing": "leading",
|
||||
"trained_betas": null
|
||||
}
|
||||
Reference in New Issue
Block a user