nguyenbh commited on
Commit
88c6033
·
verified ·
1 Parent(s): bb1b031

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ tokenizer = AutoTokenizer.from_pretrained(
19
  model = AutoModelForCausalLM.from_pretrained(
20
  model_path,
21
  device_map="auto",
22
- attn_implementation="flash_attention_2",
23
  torch_dtype="auto",
24
  token=hf_token,
25
  trust_remote_code=True
 
19
  model = AutoModelForCausalLM.from_pretrained(
20
  model_path,
21
  device_map="auto",
22
+ attn_implementation="eager", # "flash_attention_2",
23
  torch_dtype="auto",
24
  token=hf_token,
25
  trust_remote_code=True