improve logging & fix vllm version
This commit is contained in:
1 parent
09de730dee
commit
565d727409
2 files changed
+2
-1
No files matched your search
@@ -235,6 +235,7 @@ class ModelRunner:
|
||||
}
|
||||
|
||||
# Init torch distributed
|
||||
logger.info(f"[rank={self.tp_rank}] Set cuda device.")
|
||||
torch.cuda.set_device(self.tp_rank)
|
||||
logger.info(f"[rank={self.tp_rank}] Init torch begin. Avail mem={get_available_gpu_memory(self.tp_rank):.2f} GB")
|
||||
torch.distributed.init_process_group(
|
||||
|
||||
Reference in new issue
Block a user