jbilcke-hf HF Staff commited on
Commit
a1ba913
·
verified ·
1 Parent(s): eba7e0a

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -151,7 +151,7 @@ class EndpointHandler:
151
  torch_dtype=torch.bfloat16
152
  ).to("cuda")
153
 
154
- apply_teacache(self.image_to_video)
155
 
156
  else:
157
  # Initialize models with bfloat16 precision
@@ -160,7 +160,7 @@ class EndpointHandler:
160
  torch_dtype=torch.bfloat16
161
  ).to("cuda")
162
 
163
- apply_teacache(self.text_to_video)
164
 
165
  # Initialize LoRA tracking
166
  self._current_lora_model = None
 
151
  torch_dtype=torch.bfloat16
152
  ).to("cuda")
153
 
154
+ #apply_teacache(self.image_to_video)
155
 
156
  else:
157
  # Initialize models with bfloat16 precision
 
160
  torch_dtype=torch.bfloat16
161
  ).to("cuda")
162
 
163
+ #apply_teacache(self.text_to_video)
164
 
165
  # Initialize LoRA tracking
166
  self._current_lora_model = None