Skip to content

[PyTorch] Fix for type checking failure on custom callables - #790

Merged
timmoon10 merged 1 commit into
NVIDIA:mainfrom
denera:te-torch-checkpoint-typecheck-fix
Apr 18, 2024
Merged

[PyTorch] Fix for type checking failure on custom callables#790
timmoon10 merged 1 commit into
NVIDIA:mainfrom
denera:te-torch-checkpoint-typecheck-fix

Conversation

@denera

Copy link
Copy Markdown
Collaborator

Fix for TE checkpoint incorrectly passing custom classes/callables to the native PyTorch checkpoint.

…dules in custom callables
Signed-off-by: Alp Dener <adener@nvidia.com>
@deneradenera added the bug Something isn't working label Apr 17, 2024
@deneradenera self-assigned this Apr 17, 2024
@denera

Copy link
Copy Markdown
CollaboratorAuthor

/te-ci pytorch

@timmoon10timmoon10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending CI.

@timmoon10
timmoon10 merged commit fad0e27 into NVIDIA:mainApr 18, 2024
pggPL pushed a commit to pggPL/TransformerEngine that referenced this pull request May 23, 2024
fix type checking in checkpointing to assume that there must be TE modules in custom callables
Signed-off-by: Alp Dener <adener@nvidia.com>
Signed-off-by: Pawel Gadzinski <pgadzinski@nvidia.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@denera@timmoon10