Update app.py
Browse files
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 |
|