NVIDIA-NeMo / NVIDIA-NeMo/Run

Stray debug print "Configuring global options" on every CLI command invocation

Open Beginner friendly
#610 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community-request waiting-on-maintainers
Dominant language
Python
Stars
258
Forks
113
Avg merge
1d 3h
Merged PRs (30d)
5

Description

Description

Every task command invocation (including --dryrun and config exports) prints Configuring global options to stdout before doing anything else. It's a leftover debug print (from #152) inside the command() closure built by RunContext.cli_command, not routed through the logger or rich console, and it pollutes scripted output.

Steps to reproduce

Any executor-enabled task command, e.g.:

$ nemorun <group> <task> name=test --dryrun
Configuring global options
Dry run for ...
Expected behavior

No stray debug output — command output should only contain the framework's status output and the program's own prints.

Actual behavior

Configuring global options is unconditionally printed to stdout (nemo_run/cli/api.py, in RunContext.cli_command).

Environment

nemo-run main (b85eb67), Python 3.12, macOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in nemo_run/cli/api.py at the RunContext.cli_command closure and reproduce an executor-enabled command such as the documented --dryrun invocation. Confirm that command output no longer begins with the stray message and contains only expected framework or program output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.