Update handler.py
Browse files- 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()
|