yahtzee commited on
Commit
4a015a8
·
1 Parent(s): 373717f

fa -> sdpa

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -329,7 +329,7 @@ snapshot_download(
329
  )
330
  model = AutoModelForCausalLM.from_pretrained(
331
  model_path,
332
- attn_implementation="flash_attention_2",
333
  torch_dtype=torch.bfloat16,
334
  device_map="auto",
335
  trust_remote_code=True
 
329
  )
330
  model = AutoModelForCausalLM.from_pretrained(
331
  model_path,
332
+ attn_implementation="sdpa",
333
  torch_dtype=torch.bfloat16,
334
  device_map="auto",
335
  trust_remote_code=True