diffusers
Replace hardcoded values in SchedulerCommonTest with properties
#5479
Merged

Replace hardcoded values in SchedulerCommonTest with properties #5479

dg845
dg845 Replace hardcoded timesteps and num_inference_steps in SchedulerCommo…
49522e72
DN6 DN6 requested a review from DN6 DN6 1 year ago
DN6 DN6 requested a review from yiyixuxu yiyixuxu 1 year ago
HuggingFaceDocBuilderDev
DN6
yiyixuxu
yiyixuxu commented on 2023-10-24
dg845 Set default_timestep and default_timestep_2 to first and second times…
6e3f60ce
dg845 Adjust tests which use both default_timestep and default_timestep_2 (…
5da47696
patrickvonplaten patrickvonplaten assigned yiyixuxu yiyixuxu 1 year ago
github-actions
github-actions github-actions added stale
sayakpaul Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
62d0da51
sayakpaul
yiyixuxu
yiyixuxu approved these changes on 2023-11-27
yiyixuxu Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
9abde9b3
yiyixuxu yiyixuxu removed stale
yiyixuxu
dg845
DN6 Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
a2212539
DN6
github-actions
github-actions github-actions added stale
yiyixuxu yiyixuxu removed stale
yiyixuxu Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
e61352f3
yiyixuxu
dg845
dg845 Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
b5852c10
dg845 Revert default time_step for check_over_configs and check_over_forwar…
858a2f80
patrickvonplaten
dg845 Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
7edac463
dg845 When setting default timesteps, account for schedulers which either d…
65e360b3
dg845 Fall back to self.default_num_inference_steps if we cannot get num_in…
448c621d
dg845 Keep fallback num_inference_steps as None for check_over_configs in c…
fba37ebd
yiyixuxu
dg845 Revert defaulting to self.default_num_inference_steps in check_over_f…
7ac40417
dg845 Use default_timestep instead of default_timestep_2 in test_from_save_…
2d7c34d7
dg845 Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
169456cf
dg845
yiyixuxu
DN6 Merge branch 'main' into scheduler-tests-dont-hardcode-timesteps
4f9c3702
patrickvonplaten
yiyixuxu yiyixuxu merged 35fd84be into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone