Skip to content

Modified transformer_engine.py to include warnings for missing parameters in Modules - #104

Merged
sudhu2k merged 3 commits into
rocm_devfrom
backward-compatiblity-TE-features
Dec 5, 2025
Merged

Modified transformer_engine.py to include warnings for missing parameters in Modules#104
sudhu2k merged 3 commits into
rocm_devfrom
backward-compatiblity-TE-features

Conversation

@sudhu2k

@sudhu2k sudhu2k commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator

Motivation

This PR helps solve the backward compatibility issue for older TE V2.4 commits where use_fsdp2 feature might not be present. This This PR also helps solve the backward compatibility issue for older TE V2.2 commits where keep_fp8_weight_transpose_cache feature might not be present.

Technical Details

Instead of asserting, we just warn the users that the flags won't be applicable and urge them to use latest version of TE.

Submission Checklist

@sudhu2k sudhu2k self-assigned this Dec 2, 2025
@sudhu2k
sudhu2k merged commit cd25469 into rocm_dev Dec 5, 2025
4 checks passed
@sudhu2k
sudhu2k deleted the backward-compatiblity-TE-features branch December 5, 2025 20:08
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