lilcom icon indicating copy to clipboard operation
lilcom copied to clipboard

Compression fails on non-contigous feats

Open janvainer opened this issue 2 years ago • 2 comments

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:

  1. warn the user that inputs should be contiguous and make the tensor contiguous or
  2. fail with a message that will tell the user to make their tensor contiguous.

janvainer avatar Nov 29 '21 10:11 janvainer

Does this error still exist?

csukuangfj avatar Jul 05 '22 06:07 csukuangfj

It's intended to be a warning that the user should make the tensor contiguous.

danpovey avatar Jul 05 '22 07:07 danpovey