Fixes a bug: Python interprets env as a 1-tuple, which caused to this error when scheduling jobs on Kubernetes where gpu_limit > 0:
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Job in version \"v1\" cannot be handled as a Job: json: cannot unmarshal array into Go struct field Container.spec.template.spec.containers.env of type v1.EnvVar","reason":"BadRequest","code":400}
Fixes a bug: Python interprets
env
as a 1-tuple, which caused to this error when scheduling jobs on Kubernetes wheregpu_limit > 0
: