Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
Co-authored-by: Jendrik Seipp <[email protected]>
  • Loading branch information
Silvan Sievers and jendrikseipp authored Oct 18, 2023
1 parent 043c505 commit ed11b60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lab/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class SlurmEnvironment(Environment):
* "infai_1": 24 nodes with 16 cores, 64GB memory, 500GB Sata (default)
* "infai_2": 24 nodes with 20 cores, 128GB memory, 240GB SSD
* "infai_2": 12 nodes with 128 cores, 512GB memory, 240GB SSD
* "infai_3": 12 nodes with 128 cores, 512GB memory, 240GB SSD
*qos* must be a valid Slurm QOS name. In Basel this must be
"normal".
Expand All @@ -157,7 +157,7 @@ class SlurmEnvironment(Environment):
letters K, M or G. The default is "3872M". The value for
*memory_per_cpu* should not surpass the amount of memory that is
available per core, which is "3872M" for infai_1, "6354M" for
infai_2, and "4028M" for infai_3 Processes that surpass the
infai_2, and "4028M" for infai_3. Processes that surpass the
*memory_per_cpu* limit are terminated with SIGKILL. To impose a
soft limit that can be caught from within your programs, you can
use the ``memory_limit`` kwarg of
Expand All @@ -179,7 +179,7 @@ class SlurmEnvironment(Environment):
>>> env1 = BaselSlurmEnvironment(partition="infai_1", memory_per_cpu="3872M")
>>> env2 = BaselSlurmEnvironment(partition="infai_2", memory_per_cpu="6354M")
>>> env2 = BaselSlurmEnvironment(partition="infai_3", memory_per_cpu="4028M")
>>> env3 = BaselSlurmEnvironment(partition="infai_3", memory_per_cpu="4028M")
Example that reserves 12 GiB of memory on infai_1:
Expand All @@ -206,7 +206,7 @@ class SlurmEnvironment(Environment):
>>> # 12 * 1024 / 4028 = 3.05 -> round to next int -> 4 cores per task
>>> # 12G / 4 = 3G per core
>>> env = BaselSlurmEnvironment(
... partition="infai_2",
... partition="infai_3",
... memory_per_cpu="3G",
... cpus_per_task=4,
... )
Expand Down

0 comments on commit ed11b60

Please sign in to comment.