Skip to content

Commit

Permalink
try setting the default root dir in predict to avoid writing artifact…
Browse files Browse the repository at this point in the history
…s to cwd

Signed-off-by: John St John <jstjohn@nvidia.com>
  • Loading branch information
jstjohn committed Aug 16, 2024
1 parent 5766f47 commit e2672ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/collections/llm/test_mnist_model_nemo2.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ def test_train_mnist_litautoencoder_with_megatron_strategy_single_gpu(tmpdir):
accelerator="gpu",
devices=1,
strategy=pred_strategy,
default_root_dir=root_dir,
)
ckpt_path = checkpoint_callback.last_model_path.replace(
".ckpt", ""
Expand Down

0 comments on commit e2672ee

Please sign in to comment.