Ngit commited on
Commit
0821eba
1 Parent(s): 5f3e17d

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -29,7 +29,7 @@ class EndpointHandler:
29
 
30
  self.tokenizer = AutoTokenizer.from_pretrained(path)
31
  print("Memory footprint: ", self.model.get_memory_footprint())
32
- print("Device map: ", model.hf_device_map)
33
 
34
  def __call__(self, data: Any) -> List[List[Dict[str, str]]]:
35
 
 
29
 
30
  self.tokenizer = AutoTokenizer.from_pretrained(path)
31
  print("Memory footprint: ", self.model.get_memory_footprint())
32
+ print("Device map: ", self.model.hf_device_map)
33
 
34
  def __call__(self, data: Any) -> List[List[Dict[str, str]]]:
35