Skip to content

Commit

Permalink
h5py libver latest
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha-simhadri committed Oct 14, 2023
1 parent 2a38ef0 commit ea1d76a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmark/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def store_results(dataset, count, definition, query_arguments,
head, tail = os.path.split(fn)
if not os.path.isdir(head):
os.makedirs(head)
f = h5py.File(fn, 'w')
f = h5py.File(name=fn, mode='w', libver='latest')
for k, v in attrs.items():
f.attrs[k] = v

Expand All @@ -83,7 +83,7 @@ def load_all_results(dataset=None, count=None, neurips23track=None, runbook_path
if os.path.splitext(fn)[-1] != '.hdf5':
continue
try:
f = h5py.File(os.path.join(root, fn), 'r+')
f = h5py.File(name=os.path.join(root, fn), mode='r+', libver='latest')
properties = dict(f.attrs)
yield properties, f
f.close()
Expand Down
2 changes: 1 addition & 1 deletion requirements_py3.10.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ansicolors==1.1.8
docker==6.1.2
h5py==3.8.0
h5py==3.10.0
matplotlib==3.3.4
numpy==1.24.2
pyyaml==6.0
Expand Down

0 comments on commit ea1d76a

Please sign in to comment.