bstraehle commited on
Commit
825f16a
1 Parent(s): e2e0492

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )