Skip to content

nodus logs

View Markdown

Print or follow a resource’s output

nodus logs KIND/NAME [-f] [flags]
nodus logs -f job/finetune
nodus logs job/ddp --all-ranks
nodus logs sb/dev --process 12
--all-indexes Every index of an Indexed Job
--all-ranks Every gang member, each line prefixed with its rank
--attempt int Attempt number (default: the current one)
-f, --follow Stream new output
-h, --help help for logs
--index int Job index (Indexed Jobs) (default -1)
--process string A Process of a Sandbox or Workspace, by sequence number
--rank string Gang member rank (default 0)
--since duration Only output newer than this, such as 10m
--tail int Lines of backlog to show (default -1)
--timestamps Prefix each line with its time
--context string Context from the config file to use
--org string Organization (selects the context for that org)
-p, --project string Project to work in
-v, --verbose Log each API request (never credentials)
  • nodus - Run compute Jobs on Nodus

These invocations run in CI against the CLI’s fake API.

Terminal window
nodus logs job/train
nodus logs job/train --rank 1
nodus logs job/train --all-ranks
nodus logs job/shards --all-indexes