Jdudeo commited on
Commit
f502a85
·
verified ·
1 Parent(s): ac35286

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -271,7 +271,7 @@ tokenizer = AutoTokenizer.from_pretrained(
271
  model = AutoModelForCausalLM.from_pretrained(
272
  model_id,
273
  torch_dtype=torch.float16,
274
- device_map="cuda",
275
  )
276
 
277
  prompt = "In the 19th century"
 
271
  model = AutoModelForCausalLM.from_pretrained(
272
  model_id,
273
  torch_dtype=torch.float16,
274
+ device_map="auto",
275
  )
276
 
277
  prompt = "In the 19th century"