-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Assertion fail when creating very large matrix #10158
Comments
There is a plan of supporting |
Any reasonable workaround until this plan is finished? |
As far as I know, seems no easy workaround right now. May I know in what case you would need to allocate such a big matrix? Does a sparse matrix of |
Sparse won't work -- my data is fully dense. I'm working with very large sets of embedding vectors -- you can think of it as a 34M class softmax output and that's pretty close. I guess I'll have to shard them into groups that fit in the limit and do the reduce by hand. Thx. |
Hi @leopd The issue is already already getting tracked in #9207 and is a part of next plan. So, closing the issue. Please feel free to reopen if closed in error. |
Description
MXNet crashes with assertion failure when creating matrix with more than 4 billion entries.
Environment info (Required)
For R user, please provide R
sessionInfo()
:Error Message:
Minimum reproducible example
Steps to reproduce
Seems to be a problem instantiating a matrix with more than 4B entries. I've tried
mx.nd.zeros
, andmx.random.uniform
-- both do about the same thing. If the number of entries is less than 2^32 it's fine.The text was updated successfully, but these errors were encountered: