prithivMLmods commited on
Commit
138fae5
·
verified ·
1 Parent(s): 24147c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ MODEL_PATH = 'tencent/POINTS-Reader'
121
  print(f"Loading model: {MODEL_PATH}")
122
  model = AutoModelForCausalLM.from_pretrained(
123
  MODEL_PATH,
124
- attn_implementation="flash_attention_2",
125
  trust_remote_code=True,
126
  torch_dtype=torch.float16,
127
  device_map='auto'
 
121
  print(f"Loading model: {MODEL_PATH}")
122
  model = AutoModelForCausalLM.from_pretrained(
123
  MODEL_PATH,
124
+ #attn_implementation="flash_attention_2",
125
  trust_remote_code=True,
126
  torch_dtype=torch.float16,
127
  device_map='auto'