yasserDahou commited on
Commit
9b053e0
·
verified ·
1 Parent(s): d8138fe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -45,7 +45,7 @@ model = AutoModelForCausalLM.from_pretrained(
45
  "tiiuae/falcon-perception",
46
  trust_remote_code=True,
47
  torch_dtype=torch.bfloat16,
48
- device_map="auto",
49
  )
50
 
51
  image = Image.open("photo.jpg")
 
45
  "tiiuae/falcon-perception",
46
  trust_remote_code=True,
47
  torch_dtype=torch.bfloat16,
48
+ device_map={"": "cuda:0"},
49
  )
50
 
51
  image = Image.open("photo.jpg")