Tidzo commited on
Commit
8cb3d7b
1 Parent(s): 4b80708

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -16,6 +16,7 @@ class EndpointHandler():
16
 
17
  model = AutoModelForCausalLM.from_pretrained(
18
  config.base_model_name_or_path,
 
19
  trust_remote_code=True,
20
  device_map="auto"
21
  )
 
16
 
17
  model = AutoModelForCausalLM.from_pretrained(
18
  config.base_model_name_or_path,
19
+ load_in_8bit=True,
20
  trust_remote_code=True,
21
  device_map="auto"
22
  )