Ryukijano commited on
Commit
0acf84f
1 Parent(s): 5b89af0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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