Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chainyo committed May 3, 2023
1 parent 6cfbbfa commit bb269c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions picaisso/api/diffusion_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ def __init__(
max_wait: int,
):
self.model = model_name
self.dtype = {
"fp32": torch.float32,
"fp16": torch.float16,
"bf16": torch.bfloat16
}[dtype]
self.dtype = {"fp32": torch.float32, "fp16": torch.float16, "bf16": torch.bfloat16}[dtype]
self.n_steps = n_steps
self.max_batch_size = max_batch_size
self.max_wait = max_wait
Expand Down

0 comments on commit bb269c7

Please sign in to comment.