From 81b5fd89ca33af16e796efe230cb9783b7ad72c7 Mon Sep 17 00:00:00 2001 From: Taekyung Heo <7621438+TaekyungHeo@users.noreply.github.com> Date: Tue, 8 Oct 2024 11:00:34 -0400 Subject: [PATCH] Fix bug in violating Kubernetes naming rules --- .../test_template/nccl_test/kubernetes_json_gen_strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloudai/schema/test_template/nccl_test/kubernetes_json_gen_strategy.py b/src/cloudai/schema/test_template/nccl_test/kubernetes_json_gen_strategy.py index b1431ee4..765853b1 100644 --- a/src/cloudai/schema/test_template/nccl_test/kubernetes_json_gen_strategy.py +++ b/src/cloudai/schema/test_template/nccl_test/kubernetes_json_gen_strategy.py @@ -27,7 +27,7 @@ def gen_json(self, tr: TestRun) -> Dict[Any, Any]: final_cmd_args = self._override_cmd_args(self.default_cmd_args, tr.test.cmd_args) final_num_nodes = self._determine_num_nodes(tr.num_nodes, tr.nodes) job_spec = self._create_job_spec( - tr.name, final_num_nodes, tr.nodes, final_env_vars, final_cmd_args, tr.test.extra_cmd_args + "nccl-test", final_num_nodes, tr.nodes, final_env_vars, final_cmd_args, tr.test.extra_cmd_args ) return job_spec