DhanOS commited on
Commit
dc41833
1 Parent(s): 20d9383

Updated FA info

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -65,7 +65,7 @@ model = AutoModelForCausalLM.from_pretrained(
65
  model_name,
66
  torch_dtype=torch.bfloat16,
67
  device_map="auto",
68
- attn_implementation="flash_attention_2", # Use "default" if flash_attn not installed
69
  use_cache=True,
70
  trust_remote_code=True,
71
  )
 
65
  model_name,
66
  torch_dtype=torch.bfloat16,
67
  device_map="auto",
68
+ attn_implementation="flash_attention_2", # Use "eager" (or omit) if flash_attn is not installed
69
  use_cache=True,
70
  trust_remote_code=True,
71
  )