Compare commits

..

1 Commits

Author SHA1 Message Date
sayakpaul
3af9470115 up 2025-12-30 14:09:56 +05:30

View File

@@ -263,8 +263,8 @@ def main():
world_size = dist.get_world_size()
pipeline = DiffusionPipeline.from_pretrained(
"black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, device_map=device
)
"black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16
).to(device)
pipeline.transformer.set_attention_backend("_native_cudnn")
cp_config = ContextParallelConfig(ring_degree=world_size)