-
Notifications
You must be signed in to change notification settings - Fork 3.5k
extend Enum api #5478
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
Comments
I would like to do a comment/counter-pitch here. I suggest that we keep these enum types strictly internal and only use them for argument parsing part where the options are strictly limited. |
Maybe I am missing something but isn't that already a problem? see (random example): This issue is just about moving those checks from one place to the other (connector to Enum), not if those checks should exist at all |
Yes, should be fine to move them. |
This might not be relevant after #6090, wdyt @kaushikb11 ? |
Interesting, this is something that could be looked into. Like the idea of having it separate from the Accelerator Connector. |
Closing as we are trying to reduce our dependence on Enums, since they limit customization: #10422 |
Uh oh!
There was an error while loading. Please reload this page.
🚀 Feature
it may be nice to have some general calls over our enums such as Distributed mentioned by @carmocca in #5300 (comment)
Any logic to compare different
DistributedType
s should be encapsulated by the enum itself.Motivation
easier handling some cumulative behaviours, such
is_ddp
which coverDDP
andDDP_SPAWN
Pitch
The text was updated successfully, but these errors were encountered: