Skip to content

fix: remove doubled words in error/warning messages#15949

Open
andrewwhitecdw wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:fix-doubled-words-error-messages
Open

fix: remove doubled words in error/warning messages#15949
andrewwhitecdw wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:fix-doubled-words-error-messages

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 24, 2026

Copy link
Copy Markdown

Fixes two user-facing doubled-word typos in error/warning messages.

  • nemo/core/optim/lr_scheduler.py: 'max_steps is not not provided' → 'max_steps is not provided'
  • nemo/collections/asr/modules/conformer_encoder.py: '... is not not a valid value' → '... is not a valid value'

Added a regression test for the scheduler warning path.

Tested:

uv run python -m pytest tests/core/test_optimizers_schedulers.py::TestOptimizersSchedulers::test_sched_config_warns_when_t_max_epochs_is_none -v
# 1 passed

cc @nithinraok for core/ASR review

Signed-off-by: Andrew White <andrewh@cdw.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added core Changes to NeMo Core ASR community-request labels Jul 24, 2026
@nithinraok

Copy link
Copy Markdown
Member

/claude review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants