Skip to content

Commit aa9ebfd

Browse files
Ye-Tian-Zerofacebook-github-bot
authored andcommitted
fix log error (#144)
Summary: just a small fix Pull Request resolved: #144 Reviewed By: daniellepintz Differential Revision: D47081346 Pulled By: ananthsub fbshipit-source-id: 711f734844cae77b424d6c9949f6286f2b0185d7
1 parent 2e6506f commit aa9ebfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchsnapshot/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_process_memory_budget_bytes(pg: PGWrapper) -> int:
4949
os.environ["TORCHSNAPSHOT_PER_RANK_MEMORY_BUDGET_BYTES"]
5050
)
5151
logger.info(
52-
"Manually set process memory budget to {memory_budget_bytes} bytes."
52+
f"Manually set process memory budget to {memory_budget_bytes} bytes."
5353
)
5454
return memory_budget_bytes
5555
except Exception as e:

0 commit comments

Comments
 (0)