Fix incorrect logging in mi_gpu_spec.py (#626)
* Move console logging to logger function to avoid circular dependency in utils module Signed-off-by: coleramos425 <colramos@amd.com> * Apply python formatting Signed-off-by: coleramos425 <colramos@amd.com> * Remove the default StreamHandler before adding the custom If you are not explicitly removing this default handler, it could be causing duplicate outputs. Signed-off-by: coleramos425 <colramos@amd.com> * Fix lingering bugs from merge conflict resolution Signed-off-by: coleramos425 <colramos@amd.com> * Comply to python formatting and update pre-commit hook helper Signed-off-by: coleramos425 <colramos@amd.com> * Removing redundant console_log call as the get_mi300_num_xcds() call, otherwise ALL Mi200 profiling runs will print this message Signed-off-by: coleramos425 <colramos@amd.com> --------- Signed-off-by: coleramos425 <colramos@amd.com>
This commit is contained in:
@@ -36,7 +36,7 @@ import yaml
|
||||
import config
|
||||
from utils import schema
|
||||
from utils.kernel_name_shortener import kernel_name_shortener
|
||||
from utils.utils import console_debug, console_error, console_log, demarcate
|
||||
from utils.logger import console_debug, console_error, console_log, demarcate
|
||||
|
||||
# TODO: use pandas chunksize or dask to read really large csv file
|
||||
# from dask import dataframe as dd
|
||||
|
||||
مرجع در شماره جدید
Block a user