[Misc] Cleanup useless print and logger (#5220)
1. Remove useless print 2. use vLLM logger 3. change useless INFO to DEBUG level - vLLM version: release/v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/ad32e3e19ccf0526cb6744a5fed09a138a5fb2f9 Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
1 parent
e117b3d693
commit
492173cf89
6 files changed
+10
-23
No files matched your search
@@ -1,7 +1,6 @@
|
||||
# coding=utf-8
|
||||
# Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
|
||||
import matplotlib.pyplot as plt # type: ignore
|
||||
@@ -11,8 +10,6 @@ import torch
|
||||
os.environ["VLLM_USE_MODELSCOPE"] = "True"
|
||||
os.environ["VLLM_WORKER_MULTIPROC_METHOD"] = "spawn"
|
||||
|
||||
logger = logging.getLogger("msit_logger")
|
||||
|
||||
|
||||
def save_matrix_to_json(output_path, file_name, deployment):
|
||||
num_layers = deployment.shape[0]
|
||||
|
||||
Reference in new issue
Block a user