Pereki commited on
Commit
b82ae24
1 Parent(s): 69894e7

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -9,7 +9,7 @@ class EndpointHandler():
9
  tokenizer = AutoTokenizer.from_pretrained(path)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  path,
12
- quantization_config=quantization_config
13
  device_map="auto",
14
  torch_dtype='auto'
15
  ).eval()
 
9
  tokenizer = AutoTokenizer.from_pretrained(path)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  path,
12
+ quantization_config=quantization_config,
13
  device_map="auto",
14
  torch_dtype='auto'
15
  ).eval()