aladdin1995 commited on
Commit
2310ec7
·
verified ·
1 Parent(s): d6fb302

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ class PromptEnhancerV2:
43
  self.model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
44
  models_root_path,
45
  torch_dtype=dtype,
46
- attn_implementation="flash_attention_2",
47
  device_map=device_map,
48
  )
49
  self.processor = AutoProcessor.from_pretrained(models_root_path)
 
43
  self.model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
44
  models_root_path,
45
  torch_dtype=dtype,
46
+ # attn_implementation="flash_attention_2",
47
  device_map=device_map,
48
  )
49
  self.processor = AutoProcessor.from_pretrained(models_root_path)