[Profiler] Add minimal Triton Proton profiling backend (#48789)
Signed-off-by: Luossu <zhluosuu@outlook.com>
This commit is contained in:
@@ -147,6 +147,11 @@ def main(args: argparse.Namespace):
|
||||
)
|
||||
elif profiler_config.profiler == "cuda":
|
||||
print("Profiling with cuda profiler ...")
|
||||
elif profiler_config.profiler == "proton":
|
||||
print(
|
||||
"Profiling with Proton (results will be saved under"
|
||||
f" {profiler_config.proton_profiler_dir})..."
|
||||
)
|
||||
run_to_completion(do_profile=True)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user