Skip to content

Commit

Permalink
TST Fewer inference steps for stable diffusion (huggingface#2051)
Browse files Browse the repository at this point in the history
Reduce the number of inference steps for stable diffusion tests. These
tests are the slowest ones on CI, this should help (~3 min on average).
  • Loading branch information
BenjaminBossan authored Sep 6, 2024
1 parent 31fbbd2 commit b180ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_stablediffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def instantiate_sd_peft(self, model_id, config_cls, config_kwargs):
def prepare_inputs_for_testing(self):
return {
"prompt": "a high quality digital photo of a cute corgi",
"num_inference_steps": 20,
"num_inference_steps": 3,
}

@parameterized.expand(
Expand Down

0 comments on commit b180ae4

Please sign in to comment.