Skip to content

Conversation

@MahmoudAshraf97
Copy link

after nemo_toolkit==2.0.0, the Trainer class was changed to be imported from lightning.pytorch instead of pytorch_lightning which raised an error here because the types do not match

This PR imports the same class that the type is checked against which makes it compatible with both 2.0.0 and 2.1.0 and later

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.

1 participant