-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Allow obtaining num_nodes from ClusterEnvironment #7361
Copy link
Copy link
Open
Labels
environmentfeatureIs an improvement or enhancementIs an improvement or enhancementgood first issueGood for newcomersGood for newcomershelp wantedOpen to be worked onOpen to be worked on
Milestone
Description
🚀 Feature
num_nodes must currently be specified manually by the user. However, the number of nodes is generally known in a cluster environment [1] and could be provided by and initialized from ClusterEnvironment
[1] For example $AWS_BATCH_JOB_NUM_NODES in https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html
Pitch
could be updated to initialize num_nodes from ClusterEnvironment if ClusterEnvironment is provided and implements a num_nodes method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
environmentfeatureIs an improvement or enhancementIs an improvement or enhancementgood first issueGood for newcomersGood for newcomershelp wantedOpen to be worked onOpen to be worked on