Skip to content

Update intialize_ub docstring - #3563

Merged
ptrendx merged 4 commits into
NVIDIA:mainfrom
Prachi-kushwaha:fix/ub-config-validation
Sep 29, 2026
Merged

ptrendx merged 4 commits into
NVIDIA:mainfrom
Prachi-kushwaha:fix/ub-config-validation

Conversation

@Prachi-kushwaha

Copy link
Copy Markdown
Contributor

Description

This PR clarifies the initialize_ub docstring in transformer_engine/pytorch/module/base.py to make existing behavior and configurations options easier to understand

No functional code changes
Fixes #3164

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Changes

Please list the changes introduced in this PR:

  • Change A
  • Change B

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Signed-off-by: Prachi Kushwaha <prachiku673@gmail.com>
@github-actions github-actions Bot added the community-contribution PRs from external contributor outside the core maintainers, representing community-driven work. label Sep 23, 2026
@greptile-apps

greptile-apps Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Updates docstring for a configuration parameter.

The PR appears safe to merge.

Summary

The PR clarifies initialize_ub configuration defaults and documents the layer settings needed for DGRAD+ReduceScatter overlap, including the cuBLASMp fallback.

Reviews (3) · Last reviewed commit: "Clarify layer flags for dgrad overlap"

@Prachi-kushwaha

Copy link
Copy Markdown
Contributor Author

Hi @denera , i have made the changes as suggested. Could you take a look?

Signed-off-by: Przemek Tredak <ptredak@nvidia.com>
Signed-off-by: Przemek Tredak <ptredak@nvidia.com>
@ptrendx
ptrendx merged commit 863b3b5 into NVIDIA:main Sep 29, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution PRs from external contributor outside the core maintainers, representing community-driven work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve readability of dgrad_reduce_scatter_overlap variable name

3 participants