teowu commited on
Commit
b87e7e0
1 Parent(s): 728ace9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -12,7 +12,7 @@ import requests
12
  import torch
13
  from transformers import AutoModelForCausalLM
14
 
15
- model = AutoModelForCausalLM.from_pretrained("q-future/one-align", trust_remote_code=True,
16
  torch_dtype=torch.float16, device_map="auto")
17
 
18
  from PIL import Image
 
12
  import torch
13
  from transformers import AutoModelForCausalLM
14
 
15
+ model = AutoModelForCausalLM.from_pretrained("q-future/one-align", trust_remote_code=True, attn_implementation="eager",
16
  torch_dtype=torch.float16, device_map="auto")
17
 
18
  from PIL import Image