prithivMLmods commited on
Commit
10f89f6
·
verified ·
1 Parent(s): 03d5ef4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ MODEL_PATH_D = model_path_d_local
154
  processor_d = AutoProcessor.from_pretrained(MODEL_PATH_D, trust_remote_code=True)
155
  model_d = AutoModelForCausalLM.from_pretrained(
156
  MODEL_PATH_D,
157
- attn_implementation="eager",
158
  torch_dtype=torch.bfloat16,
159
  device_map="auto",
160
  trust_remote_code=True
 
154
  processor_d = AutoProcessor.from_pretrained(MODEL_PATH_D, trust_remote_code=True)
155
  model_d = AutoModelForCausalLM.from_pretrained(
156
  MODEL_PATH_D,
157
+ _attn_implementation="flash_attention_2",
158
  torch_dtype=torch.bfloat16,
159
  device_map="auto",
160
  trust_remote_code=True