Skip to content

Commit

Permalink
fix: sdxl-turbo cpu dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
sokovninn committed Feb 25, 2025
1 parent 07dc932 commit 832df05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions datadreamer/image_generation/sdxl_turbo_image_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def _init_gen_model(self) -> AutoPipelineForText2Image:
if self.device == "cpu":
base = AutoPipelineForText2Image.from_pretrained(
"stabilityai/sdxl-turbo",
# variant="fp16",
torch_dtype=torch.float32,
use_safetensors=True,
)
base.to("cpu")
Expand Down

0 comments on commit 832df05

Please sign in to comment.