Skip to content

Fix GH CI documenation - #3770

Merged
ksivaman merged 2 commits into
NVIDIA:mainfrom
ksivaman:fix-docs-te-device-type-import
Oct 28, 2026
Merged

ksivaman merged 2 commits into
NVIDIA:mainfrom
ksivaman:fix-docs-te-device-type-import

Conversation

@ksivaman

Copy link
Copy Markdown
Member

Description

Issue introduced in #3513

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

  • Move the te_device_type and te_platform functions into its own module to fix circular import issues and auto-api docs warning.

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: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
@ksivaman
ksivaman requested a review from pggPL October 28, 2026 19:09
@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge, with no actionable issues found.

Summary

Moves te_device_type and te_platform into transformer_engine/pytorch/device.py and updates internal imports to address documentation warnings.

  • PyTorch device helpers live in their own module while keeping their existing access paths.

Reviews (1) · Last reviewed commit: "Merge branch 'main' into fix-docs-te-dev..." · Reviewed by Greptile

@ksivaman
ksivaman merged commit 390cd03 into NVIDIA:main Oct 28, 2026
13 checks passed
@ksivaman
ksivaman deleted the fix-docs-te-device-type-import branch October 28, 2026 20:39
bvolpato added a commit to bvolpato/TransformerEngine that referenced this pull request Oct 30, 2026
Include upstream NVIDIA#3770 so documentation resolves te_device_type imports. Keep the MXFP8 stride fix and regression as the only PR-specific changes.

Signed-off-by: bvolpato <brunocvcunha@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants