Fix wrong variable name when stopping memory profile (#4772)
This commit is contained in:
@@ -1887,7 +1887,7 @@ class Scheduler(
|
||||
|
||||
if "MEM" in self.profiler_activities:
|
||||
memory_profile_path = os.path.join(
|
||||
self.torch_profiler_trace_dir,
|
||||
self.torch_profiler_output_dir,
|
||||
str(time.time()) + f"-TP-{self.tp_rank}-memory" + ".pickle",
|
||||
)
|
||||
torch.cuda.memory._dump_snapshot(memory_profile_path)
|
||||
|
||||
Reference in New Issue
Block a user