[Misc]Minor Changes about Worker (#11555)

Signed-off-by: Chenguang Li <757486878@qq.com>
This commit is contained in:
Chenguang Li
2025-01-13 15:47:05 +08:00
committed by GitHub
parent cf6bbcb493
commit c3f05b09a0
2 changed files with 0 additions and 2 deletions

View File

@@ -132,7 +132,6 @@ class Worker:
# Execute a forward pass with dummy inputs to profile the memory usage
# of the model.
self.model_runner.profile_run()
torch.cuda.synchronize()
free_gpu_memory, _ = torch.cuda.mem_get_info()
# NOTE(woosuk): Here we assume that the other processes using the same