雷娃 commited on
Commit
0b90a57
·
1 Parent(s): 9e43f27

remove fieldstream from TextBox

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  model_name,
12
  torch_dtype="auto",
13
- device_map="cuda",
14
  trust_remote_code=True
15
  ).eval()
16
 
 
10
  model = AutoModelForCausalLM.from_pretrained(
11
  model_name,
12
  torch_dtype="auto",
13
+ device_map="auto",
14
  trust_remote_code=True
15
  ).eval()
16