Skip to content

fix: correct 'occured' typo in neural type shape mismatch errors#15954

Open
andrewwhitecdw wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:fix-occured-typo-common-py
Open

fix: correct 'occured' typo in neural type shape mismatch errors#15954
andrewwhitecdw wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:fix-occured-typo-common-py

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Fixes the spelling of "occurred" in four user-facing shape-mismatch error messages in nemo/core/classes/common.py.

  • 2× "Input shape mismatch occured" → "Input shape mismatch occurred"
  • 2× "Output shape mismatch occured" → "Output shape mismatch occurred"

Added regression tests that trigger both input and output shape mismatch paths and verify the corrected spelling.

Tested:

uv run python -m pytest tests/core/test_neural_type_shape_mismatch.py -v
# 2 passed

cc @nithinraok for core 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 community-request labels Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-request core Changes to NeMo Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants