MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / remove

Method remove

lightx2v/disagg/services/decoder.py:322–331  ·  view source on GitHub ↗
(self, room: int)

Source from the content-addressed store, hash-verified

320 torch.cuda.empty_cache()
321
322 def remove(self, room: int):
323 self.release_memory(room)
324
325 self.data_receiver.pop(room, None)
326 self._data_mgr_sidecar.unwatch_input(room)
327
328 if self.data_mgr is None:
329 return
330
331 self.data_mgr.remove(room)
332
333 def release(self):
334 for room in list(self._rdma_buffers.keys()):

Callers 10

releaseMethod · 0.95
runMethod · 0.95
remove_instanceMethod · 0.45
base.pyFile · 0.45
create_instanceMethod · 0.45
reclaim_instanceMethod · 0.45
_run_infer_onceFunction · 0.45
_controller_mainFunction · 0.45

Calls 3

release_memoryMethod · 0.95
popMethod · 0.80
unwatch_inputMethod · 0.45

Tested by

no test coverage detected