Skip to content

Commit

Permalink
Add Zarr Flag for Pathways
Browse files Browse the repository at this point in the history
  • Loading branch information
SujeethJinesh committed Aug 26, 2024
1 parent 886b6bc commit 88e0ba3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/xpk/core/pathways.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def get_pathways_worker_args(args) -> str:
- --xla_tpu_enable_async_collective_fusion_multiple_steps=true
- --xla_tpu_overlap_compute_collective_tc=true
- --xla_enable_async_all_gather=true
- --pathways_tmp_dir_pattern={args.pathways_gcs_location}"""
- --pathways_tmp_dir_pattern={args.pathways_gcs_location}
- --pathways_experimental_suspend_storage_mode=BACKEND_TENSORSTORE""" # This is to enable zarr for pathways. When OCDBT is tested, remove this flag
if args.use_pathways:
return yaml.format(args=args, rm_address=get_rm_address(args))
else:
Expand Down Expand Up @@ -215,7 +216,8 @@ def get_pathways_rm_args(args, system: SystemCharacteristics) -> str:
- --pathways_device_type=NONE
- --pathways_persistent_compilation_cache=false
- --pathways_tmp_dir_pattern={args.pathways_gcs_location}
- --pathways_expected_instances={expected_instances}"""
- --pathways_expected_instances={expected_instances}
- --pathways_experimental_suspend_storage_mode=BACKEND_TENSORSTORE""" # This is to enable zarr for pathways. When OCDBT is tested, remove this flag
if args.use_pathways:
return yaml.format(
args=args,
Expand Down

0 comments on commit 88e0ba3

Please sign in to comment.