Compression fails on non-contigous feats
Opened this issue · 2 comments
janvainer commented
Hi, I am getting a stride error when running compression on non-contiguous tensors:
lilcom: compression error: last stride should be 1, got 253
The error message is a bit confusing and its not clear wht the problem is. Some solutions could be:
- warn the user that inputs should be contiguous and make the tensor contiguous or
- fail with a message that will tell the user to make their tensor contiguous.
csukuangfj commented
Does this error still exist?
danpovey commented
It's intended to be a warning that the user should make the tensor contiguous.