Conversation
…1093) * feat(profiler): support Ascend NPU profiling via torch_npu.profiler * feat(profiler): export full CANN output directory on NPU Switch the NPU path from export_chrome_trace (single json) to on_trace_ready=tensorboard_trace_handler + experimental_config, so the full Ascend profiling output directory is produced: ASCEND_PROFILER_OUTPUT (kernel_details.csv, step_trace_time.csv, trace_view.json, op_summary.csv, op_statistic.csv, operator_details.csv, .db) plus PROF_XXX, FRAMEWORK and logs. data_simplification=False keeps every generated file. - profiler_level configurable via CACHE_DIT_NPU_PROFILER_LEVEL (Level0 default) - sanitize worker_name to the allowed [A-Za-z0-9_-] charset - locate the produced *_ascend_pt dir and expose it via trace_path - CUDA path unchanged --------- Co-authored-by: changetheway <guotaoyuan1@h-partners.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.