Thank you very much, I will try.  Another question: will this way of sparse_Variable.mm(dense_Variable) avoid the memory error?
RuntimeError: $ Torch: not enough memory: you tried to allocate 600GB. Buy new RAM! at /pytorch/torch/lib/TH/THGeneral.c:246

the dim of dense matrix is about 100k, I know this is quite large.