Skip to content

Commit 6a4ee86

Browse files
committed
mount the whole scratch bucket, that's the whole point of the benchmark flag
1 parent 50ac1b8 commit 6a4ee86

File tree

1 file changed

+4
-1
lines changed
  • hpc_provisioner/src/hpc_provisioner

1 file changed

+4
-1
lines changed

hpc_provisioner/src/hpc_provisioner/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ def get_fs_bucket(bucket_name: str, cluster: Cluster) -> str:
6262
if bucket_name == "projects":
6363
return get_sbonexusdata_bucket()
6464
elif bucket_name == "scratch":
65-
return f"{get_scratch_bucket()}/{cluster.vlab_id}/{cluster.project_id}"
65+
if cluster.benchmark:
66+
return get_scratch_bucket()
67+
else:
68+
return f"{get_scratch_bucket()}/{cluster.vlab_id}/{cluster.project_id}"
6669
else:
6770
raise NotImplementedError(f"Can't get fs bucket for {bucket_name}")
6871

0 commit comments

Comments
 (0)