Skip to content

Commit c58ab6d

Browse files
committed
revert
1 parent c8750ea commit c58ab6d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

slime/utils/profile_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,12 @@ def create(args):
9494
return c(args)
9595

9696
def __init__(self, args):
97-
# Use absolute path to ensure it works across Ray actors with different working directories
9897
snapshot_dir = Path(args.memory_snapshot_dir).resolve()
9998
snapshot_dir.mkdir(parents=True, exist_ok=True)
10099
self._path_dump = (
101100
snapshot_dir
102101
/ f"memory_snapshot_time{time.time()}_rank{torch.distributed.get_rank()}_{args.memory_snapshot_path}"
103102
)
104-
logger.info(f"Memory snapshot will be saved to: {self._path_dump} (absolute path)")
105103

106104
def start(self):
107105
raise NotImplementedError

0 commit comments

Comments
 (0)