Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ from custom_pipeline import FluxWithCFGPipeline
|
|
| 11 |
torch.backends.cuda.matmul.allow_tf32 = True
|
| 12 |
torch.backends.cudnn.allow_tf32 = True
|
| 13 |
torch.set_float32_matmul_precision('high')
|
|
|
|
| 14 |
# Constants
|
| 15 |
MAX_SEED = np.iinfo(np.int32).max
|
| 16 |
MAX_IMAGE_SIZE = 2048
|
|
|
|
| 11 |
torch.backends.cuda.matmul.allow_tf32 = True
|
| 12 |
torch.backends.cudnn.allow_tf32 = True
|
| 13 |
torch.set_float32_matmul_precision('high')
|
| 14 |
+
torch.backends.cuda.enable_flash_sdp(True)
|
| 15 |
# Constants
|
| 16 |
MAX_SEED = np.iinfo(np.int32).max
|
| 17 |
MAX_IMAGE_SIZE = 2048
|