rahul7star commited on
Commit
6a66448
·
verified ·
1 Parent(s): 93a4a97

Update app_lora1.py

Browse files
Files changed (1) hide show
  1. app_lora1.py +1 -2
app_lora1.py CHANGED
@@ -44,8 +44,7 @@ try:
44
  torch_dtype=DTYPE,
45
  )
46
 
47
- if hasattr(pipe, "transformer") and hasattr(pipe.transformer, "set_attention_backend"):
48
- pipe.transformer.set_attention_backend("_flash_3")
49
 
50
  pipe.to(DEVICE)
51
  log("✅ Pipeline built successfully")
 
44
  torch_dtype=DTYPE,
45
  )
46
 
47
+
 
48
 
49
  pipe.to(DEVICE)
50
  log("✅ Pipeline built successfully")