Sorry about it. This is a bug. See https://github.com/pytorch/pytorch/issues/11390 66.
Although, please note that even if the bug is fixed, landmarks will still have requires_grad being true, because that it is created before the block.