Skip to content

Put ModuleNotFoundError instead of RuntimeError in proper places#2750

Merged
vfdev-5 merged 8 commits intopytorch:masterfrom
sadra-barikbin:Fix-module-not-found-instead-of-runtime-error-2743
Oct 23, 2022
Merged

Put ModuleNotFoundError instead of RuntimeError in proper places#2750
vfdev-5 merged 8 commits intopytorch:masterfrom
sadra-barikbin:Fix-module-not-found-instead-of-runtime-error-2743

Conversation

@sadra-barikbin
Copy link
Copy Markdown
Collaborator

Fixes #2743

@github-actions github-actions bot added examples Examples module: contrib Contrib module module: handlers Core Handlers module module: metrics Metrics module labels Oct 23, 2022
@sadra-barikbin sadra-barikbin force-pushed the Fix-module-not-found-instead-of-runtime-error-2743 branch from 97c80e3 to d67d3d4 Compare October 23, 2022 11:59
Copy link
Copy Markdown
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks @sadra-barikbin
Let's just revert changes in jupyter notebooks. Currently there is a lot unrelated changes, so I think we can just update python code.

@vfdev-5
Copy link
Copy Markdown
Collaborator

vfdev-5 commented Oct 23, 2022

@sadra-barikbin ipynb are still in the PR

Copy link
Copy Markdown
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks @sadra-barikbin !

@vfdev-5 vfdev-5 enabled auto-merge (squash) October 23, 2022 21:18
@vfdev-5 vfdev-5 disabled auto-merge October 23, 2022 21:18
@vfdev-5 vfdev-5 enabled auto-merge (squash) October 23, 2022 21:19
@vfdev-5 vfdev-5 merged commit 1800fee into pytorch:master Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Examples module: contrib Contrib module module: handlers Core Handlers module module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace RuntimeError with ModuleNotFoundError in contribute handlers

3 participants