bjasperson commited on
Commit
8940658
verified
1 Parent(s): 6f07efe

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -43,6 +43,7 @@ class EndpointHandler:
43
  print("loading model")
44
 
45
  # clear existing model if needed
 
46
  torch.cuda.empty_cache()
47
 
48
  base_model_path = "meta-llama/Llama-3.2-11B-Vision-Instruct"
 
43
  print("loading model")
44
 
45
  # clear existing model if needed
46
+ del self.model
47
  torch.cuda.empty_cache()
48
 
49
  base_model_path = "meta-llama/Llama-3.2-11B-Vision-Instruct"