Thanks a bunch! I am now kind of working around it by doing all sparse x sparse multiplications as sparse x dense and subsequently turning the result back into sparse. All of the resulting tensors are static, so do not need to be autogradable.