zhuohaoyu commited on
Commit
cd65843
·
1 Parent(s): 9d03aa3
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -43,7 +43,6 @@ def _load_model_tokenizer(args):
43
 
44
  model = AutoModelForCausalLM.from_pretrained(
45
  'WisdomShell/CodeShell-7B-Chat',
46
- device_map='cpu',
47
  trust_remote_code=True,
48
  resume_download=True,
49
  torch_dtype=torch.bfloat16
 
43
 
44
  model = AutoModelForCausalLM.from_pretrained(
45
  'WisdomShell/CodeShell-7B-Chat',
 
46
  trust_remote_code=True,
47
  resume_download=True,
48
  torch_dtype=torch.bfloat16