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