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

feat(train): start remote GPU training from instance without GPU #600

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

nkemnitz
Copy link
Collaborator

@nkemnitz nkemnitz commented Jan 3, 2024

The CPU scheduler node might still fail to load the weights file during initialization, e.g. if it contains unsupported data types. This may be a scenario where we just want to skip the sanity checks on scheduler side entirely...

Copy link
Member

@supersergiy supersergiy left a comment

Choose a reason for hiding this comment

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

Great, thanks for the fix! Im not sure if understand the description - does skipping sanity checks have any advantages over what you've implemented here?

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (42cf73b) 100.00% compared to head (64fc145) 100.00%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #600   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          128       128           
  Lines         4433      4433           
=========================================
  Hits          4433      4433           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@supersergiy
Copy link
Member

Is it about layers without CPU implementations?

@supersergiy supersergiy merged commit f79375a into main Jan 3, 2024
11 checks passed
@nkemnitz
Copy link
Collaborator Author

nkemnitz commented Jan 3, 2024

The CPU-only scheduler complained when loading a model that was trained with fp16 that that is not supported on CPU. That was just a warning, though. I don't know if there are other situations where the CPU-only scheduler outright refuses to start remote(!) training because of such a falled check. That would be dumb, because I absolutely don't care what the scheduler thinks about my model if remote training is done on GPU.

@nkemnitz nkemnitz deleted the nkem/fix-training-scheduler-no-gpu branch January 3, 2024 14:22
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.

2 participants