Skip to content

Commit

Permalink
string interpolation log (#5455)
Browse files Browse the repository at this point in the history
fix a log
  • Loading branch information
azhou-determined authored Nov 18, 2022
1 parent e0b9572 commit 8103175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions harness/determined/core/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _dummy_init(

if storage_manager is None:
base_path = appdirs.user_data_dir("determined")
logger.info("no storage_manager provided; storing checkpoints in {base_path}")
logger.info(f"no storage_manager provided; storing checkpoints in {base_path}")
storage_manager = storage.SharedFSStorageManager(base_path)
checkpoint = core.DummyCheckpointContext(distributed, storage_manager)

Expand Down Expand Up @@ -225,7 +225,7 @@ def init(
# TODO: support checkpointing for non-trial tasks.
if storage_manager is None:
base_path = appdirs.user_data_dir("determined")
logger.info("no storage_manager provided; storing checkpoints in {base_path}")
logger.info(f"no storage_manager provided; storing checkpoints in {base_path}")
storage_manager = storage.SharedFSStorageManager(base_path)
checkpoint = core.DummyCheckpointContext(distributed, storage_manager)
preempt = core.DummyPreemptContext(distributed, preempt_mode)
Expand Down

0 comments on commit 8103175

Please sign in to comment.