rphrp1985 commited on
Commit
21c2f30
1 Parent(s): 5850d4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
24
 
25
  tokenizer = AutoTokenizer.from_pretrained(model_id, token= token)
26
 
27
- model = AutoModelForCausalLM.from_pretrained(model_id, token= token, torch_dtype=torch.bfloat16,)
28
 
29
 
30
 
 
24
 
25
  tokenizer = AutoTokenizer.from_pretrained(model_id, token= token)
26
 
27
+ model = AutoModelForCausalLM.from_pretrained(model_id, token= token, torch_dtype=torch.bfloat16,attn_implementation="flash_attention_2",)
28
 
29
 
30