Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def train_model(model_id):
|
|
56 |
model = AutoModelForCausalLM.from_pretrained(
|
57 |
model_id,
|
58 |
device_map="auto",
|
59 |
-
attn_implementation="flash_attention_2",
|
60 |
torch_dtype=torch.bfloat16,
|
61 |
quantization_config=bnb_config
|
62 |
)
|
|
|
56 |
model = AutoModelForCausalLM.from_pretrained(
|
57 |
model_id,
|
58 |
device_map="auto",
|
59 |
+
#attn_implementation="flash_attention_2",
|
60 |
torch_dtype=torch.bfloat16,
|
61 |
quantization_config=bnb_config
|
62 |
)
|