Skip to content

Commit

Permalink
Grammar and spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbkerr committed Dec 6, 2023
1 parent cacabe1 commit 3d9e0e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flow/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ class _PartitionConfig:
- GPUs for a partition
- Node type of a partition
When querying a value for a specific partition the logic first searches the
provided mapping if any for the partition, if it is not found then the
mapping is searched for "default" if it exists, if not the class default is
When querying a value for a specific partition, the logic first searches the
provided mapping, if any, for the partition. If it is not found, then the
mapping is searched for "default" if it exists. If not, the class default is
used.
1. Partition specific -> 2. Provided default -> 3. _PartitionConfig default
Expand All @@ -131,11 +131,11 @@ class _PartitionConfig:
Parameters
----------
cpus_per_node: dict[str, int], optional
Mapping between partitions and CPUs per node. Defaults to an empyt `dict`.
Mapping between partitions and CPUs per node. Defaults to an empty `dict`.
gpus_per_node: dict[str, int], optional
Mapping between partitions and GPUs per node. Defaults to an empyt `dict`.
Mapping between partitions and GPUs per node. Defaults to an empty `dict`.
node_types: dict[str, _NodeTypes], optional
Mapping between partitions and node types. Defaults to an empyt `dict`.
Mapping between partitions and node types. Defaults to an empty `dict`.
"""

_default_cpus_per_node = None
Expand Down

0 comments on commit 3d9e0e0

Please sign in to comment.