Skip to content

Commit

Permalink
remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
NinaCai committed Mar 18, 2024
1 parent e3d6893 commit 1559b6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ def create_cluster_network(args, index) -> int:
if return_code > 0:
xpk_print('Listing all networks failed!')
return return_code

network_name = f'{args.cluster}-net-{index}'
if network_name not in existing_network_names:
command = (
Expand Down Expand Up @@ -1850,7 +1850,7 @@ def run_gke_node_pool_create_command(args, system) -> int:
desired_node_pool_names = [
f'{args.cluster}-np-{slice_num}' for slice_num in range(args.num_slices)
]

for node_pool_name in desired_node_pool_names:
if node_pool_name in existing_node_pool_names:
continue
Expand Down Expand Up @@ -3045,7 +3045,7 @@ def workload_create(args) -> int:
if args.debug_dump_gcs:
command += ('; WORKER_ID=$HOSTNAME;'
f'gsutil cp -r /tmp/xla_dump/ {args.debug_dump_gcs}/$WORKER_ID')

debugging_dashboard_id = None
resource_type = AcceleratorTypeToAcceleratorCharacteristics[system.accelerator_type].resource_type

Expand All @@ -3066,7 +3066,7 @@ def workload_create(args) -> int:
debugging_dashboard_id = get_gke_debugging_dashboard(args)
else:
container = get_main_container(args, system, docker_image, command, resource_type)

yml_string = workload_create_yaml.format(args=args,
system=system,
container=container,
Expand Down

0 comments on commit 1559b6f

Please sign in to comment.