-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A stab at allowing custom datasets #43
Conversation
@DmitryKey is there a way to make this work without failing checks |
benchmark/datasets.py
Outdated
# for dim reduced file of dtype float32 | ||
n, d = map(int, np.fromfile(fname, dtype="float32", count=2)) | ||
n = 100000000 | ||
d = 32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be here. (And it seems the whole xbin_mmap
should not be changed at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, absolutely -- these had to be hardcoded on my side, because the derived values were not correct. I will remove this.
I am closing this in preparation of some bigger changes to the code base that will make this hard to maintain without an actual use-case. |
See discussion in #42