-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support for Numpy #6
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have to store Numpy arrays in this.
For some size of tensor (larger than 4kb?), it would be a killer feature if we could lazy-load the entire tensor. That would mean that
LazyTensor
(or whatever class we use for this) keeps an open LMDB transaction, so that the pointers to the data stay alive for as long as possible. If we do this, we will need some mechanism yoink transactions from live objects when we run out of transaction slots.Or maybe it would be better if large tensors get their own memory-mapped file. That means they are not transactional like the rest of OOCMap is. I'm not sure that's really a problem.
The text was updated successfully, but these errors were encountered: