Closed dchaley closed 3 months ago
When using the metadata server to get the machine type on Batch, it returns a larger string: eg: projects/672545053142/machineTypes/n2-standard-8
projects/672545053142/machineTypes/n2-standard-8
We only need the n2-standard-8 part of this.
n2-standard-8
This needs to happen in benchmark.py and the notebook as well.
benchmark.py
When using the metadata server to get the machine type on Batch, it returns a larger string: eg:
projects/672545053142/machineTypes/n2-standard-8
We only need the
n2-standard-8
part of this.This needs to happen in
benchmark.py
and the notebook as well.