Changes

Jump to navigation Jump to search
Set up a Kubernetes job script
# this gives us a minimum 2 GiB of main memory to work with.
memory: "2Gi"
# you should allocate at least 1 CPU for machine learning jobs,
# usually more if you for example have seperate threads for reading data
# 1 CPU unit is 1 CPU core or hyperthread, depending on CPU architecture
# Note that these are typically not a scarce resource on our GPU servers,
# so you can be a bit generous.
cpu: 1
# limits are maximum resource allocations
# exceeding it will mean the container exits immediately with an error.
memory: "3Gi"
 
# CPU limit, but pod will usually not be killed for excessive CPU use
cpu: 1
# this requests a number of GPUs. GPUs will be allocated to the container

Navigation menu