avanish07 commited on
Commit
3b65e7f
1 Parent(s): 8b86d5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ model = AutoModelForCausalLM.from_pretrained(
38
  config.base_model_name_or_path,
39
  return_dict=True,
40
  quantization_config=bnb_config,
41
- device_map={"cuda:0": "cpu"},
42
  trust_remote_code=True,
43
  )
44
  tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
 
38
  config.base_model_name_or_path,
39
  return_dict=True,
40
  quantization_config=bnb_config,
41
+ device_map=None,
42
  trust_remote_code=True,
43
  )
44
  tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)