Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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] Add better support for predict + ddp 2/3 #7215
[feat] Add better support for predict + ddp 2/3 #7215
Changes from all commits
2e9b932
7effee2
9321a73
128cc45
c7e49e9
9f82f7a
ce85174
d3f9f30
e1ccd1a
2a994db
69b6d77
bcf3c2b
643c8e5
7109c16
fea8294
ce2656d
4ba47ed
0705ca7
54a5008
1bf0325
5243c91
550d3f3
0169e9e
4962459
a371c5c
a163c2d
63551ca
0937e73
d4f523e
9a44529
d66d704
71685f2
89b281e
4416fa5
b627ed0
ca64408
689bde2
c40c4fa
174e50c
f6b6ae0
666a526
26ba61e
13405a8
48a100a
775c5c5
b00d903
6c481af
1654030
db9eda8
2171f77
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
NoPaddingDistributedSampler
clearer?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably shall be protected...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as before, let's keep it public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
above #7215 (comment) you say private so what you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the case of passing None?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None is the default. It means the training type plugin will set its own default.
return_predictions = not training_type_plugin.use_spawn