[hotfix]: Add missing args for 3FS bench_client.py (#14791)

Co-authored-by: Zhiqiang Xie <xiezhq@stanford.edu>
This commit is contained in:
zhangheng
2025-12-15 05:13:19 +08:00
committed by GitHub
parent 8102e36b5d
commit ea7c69ce28

View File

@@ -29,7 +29,7 @@ def test():
file_size = 1 << 40
bytes_per_page = 16 << 20
entries = 32
file_ops = Hf3fsUsrBioClient(file_path, file_size, bytes_per_page, entries)
file_ops = Hf3fsUsrBioClient(file_path, file_size, bytes_per_page, entries, 5)
print("test batch_read / batch_write")
num_pages = 128
@@ -74,7 +74,7 @@ def bench():
numel = bytes_per_page // dtype.itemsize
file_ops = [
Hf3fsUsrBioClient(file_path, file_size, bytes_per_page, entries)
Hf3fsUsrBioClient(file_path, file_size, bytes_per_page, entries, 5)
for _ in range(numjobs)
]