Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returned resume support #1349

Merged
merged 17 commits into from
Nov 10, 2021
Merged

Returned resume support #1349

merged 17 commits into from
Nov 10, 2021

Conversation

y-ksenia
Copy link
Contributor

@y-ksenia y-ksenia commented Nov 8, 2021

Pull Request FAQ

Description

Returned resume to CheckpointCallback; added it's suppert to Runner.train and Runner.predict_loader; updated cli with resume and autoresume.
In addition changed behaviour of runner.model between stages (now model passes from one stage to another).

Related Issue

#1193

Type of Change

  • Examples / docs / tutorials / contributors update
  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves an existing feature)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Checklist

  • Have you updated tests for the new functionality?
  • Have you added your new classes/functions to the docs?
  • Have you updated the CHANGELOG?
  • Have you run colab minimal CI/CD with latest and minimal requirements?
  • Have you checked XLA integration with single and multiple processes?

Scitator
Scitator previously approved these changes Nov 8, 2021
Comment on lines 162 to 164
def to_check_devices():
cuda_devices = [f"cuda:{i}" for i in range(NUM_CUDA_DEVICES)]
return ["cpu", *cuda_devices]
Copy link
Member

Choose a reason for hiding this comment

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

🤔 should we simplify to cpu and cuda only? if it works on one GPU, we suppose, that it will work on the another too ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i reformatted old test, but sure, we can simplify it

@Scitator Scitator changed the title Resume [WIP] Resume Nov 8, 2021
@Scitator Scitator added the WIP Pull request is under construction label Nov 8, 2021
@CLAassistant
Copy link

CLAassistant commented Nov 9, 2021

CLA assistant check
All committers have signed the CLA.

@mergify mergify bot dismissed Scitator’s stale review November 9, 2021 19:24

Pull request has been modified.

@mergify
Copy link

mergify bot commented Nov 9, 2021

This pull request is now in conflicts. @y-ksenia, could you fix it? 🙏

@y-ksenia y-ksenia changed the title [WIP] Resume Resume Nov 9, 2021
@y-ksenia y-ksenia changed the title Resume Returned resume support Nov 9, 2021
@Scitator Scitator removed the WIP Pull request is under construction label Nov 9, 2021
@Scitator Scitator merged commit cbd7fe6 into catalyst-team:master Nov 10, 2021
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.

3 participants