Skip to content

Commit

Permalink
service name is too long, so using the workflow uid instead which is …
Browse files Browse the repository at this point in the history
…always 23 chars
  • Loading branch information
SebastianScherer88 committed Oct 29, 2024
1 parent 5c7700f commit fe1c262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/bettmensch_ai/components/torch_ddp_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def build_script_decorator_kwargs(self, torch_node_rank: int) -> Dict:
),
Env(
name=f"{LaunchConfigSettings.model_config['env_prefix']}rdzv_endpoint_url", # noqa: E501
value=f"{self.name}-{{{{workflow.name}}}}.{self.k8s_namespace}.svc.cluster.local", # noqa: E501
value=f"{self.name}-{{{{workflow.uid}}}}.{self.k8s_namespace}.svc.cluster.local", # noqa: E501
),
Env(
name=f"{LaunchConfigSettings.model_config['env_prefix']}rdzv_endpoint_port", # noqa: E501
Expand Down

0 comments on commit fe1c262

Please sign in to comment.