hughtayloe commited on
Commit
185c874
1 Parent(s): c16b164

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -14,7 +14,7 @@ class EndpointHandler():
14
  torch_dtype=torch.float16,
15
  low_cpu_mem_usage=True,
16
  load_in_4bit=True
17
- ).to(0)
18
  self.processor = AutoProcessor.from_pretrained(model_id)
19
 
20
  def __call__(self, data: Dict[str, Any]):
 
14
  torch_dtype=torch.float16,
15
  low_cpu_mem_usage=True,
16
  load_in_4bit=True
17
+ )
18
  self.processor = AutoProcessor.from_pretrained(model_id)
19
 
20
  def __call__(self, data: Dict[str, Any]):