diff --git a/profiler/compare_tools/profiling_analysis/npu_parser.py b/profiler/compare_tools/profiling_analysis/npu_parser.py index d940e5767c4eb1d0ba1b2402800744bbfb575bfb..d652deba6dee632a2db2b4f2aa490f1d34e1015f 100644 --- a/profiler/compare_tools/profiling_analysis/npu_parser.py +++ b/profiler/compare_tools/profiling_analysis/npu_parser.py @@ -274,7 +274,7 @@ class NpuProfilingParser: args = dic.get('args') if args.get('Stream Id'): stream_id = args.get('Stream Id') - ts = dic.get('ts') + ts = float(dic.get('ts')) dur = dic.get('dur') if args.get('Task Type') == 'EVENT_WAIT_SQE': enent_wait_res[stream_id] += dur