Skip to content

Dropper TrainsLoger and TrainsSaver also removed the backward compati…#2742

Merged
vfdev-5 merged 6 commits intopytorch:masterfrom
soma2000-lang:master
Oct 17, 2022
Merged

Dropper TrainsLoger and TrainsSaver also removed the backward compati…#2742
vfdev-5 merged 6 commits intopytorch:masterfrom
soma2000-lang:master

Conversation

@soma2000-lang
Copy link
Copy Markdown
Contributor

@soma2000-lang soma2000-lang commented Oct 17, 2022

In this pr I have dropped the TrainsLogger and TrainsSaver file and also removed the backward compatibility.

Fixes #2740

@github-actions github-actions bot added the module: contrib Contrib module label Oct 17, 2022
@vfdev-5
Copy link
Copy Markdown
Collaborator

vfdev-5 commented Oct 17, 2022

@soma2000-lang can you please update ignite/docs/source/contrib/handlers.rst to fix docs build failure ?

@vfdev-5
Copy link
Copy Markdown
Collaborator

vfdev-5 commented Oct 17, 2022

@louis-she could you please review as you wanted to do that initially :)

@louis-she
Copy link
Copy Markdown
Contributor

@vfdev-5 of course

@soma2000-lang
Copy link
Copy Markdown
Contributor Author

@vfdev-5 sure

"This contrib module requires clearml to be installed. "
"You may install clearml using: \n pip install clearml \n"
)
raise RuntimeError(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can use ModuleNotFoundError to replace RuntimeError here.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, it makes sense, thanks for the suggestion! Then it would be better to consistently raise that in all contrib handlers and classes where we check for available 3rd party library. @louis-she can you please open a new issue, I'll label it as good first issue/hacktoberfest

@louis-she
Copy link
Copy Markdown
Contributor

Other things look good to me.

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.

lgtm, thanks @soma2000-lang !

Thanks for the review @louis-she

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: contrib Contrib module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop TrainsLogger and TrainsSaver

3 participants