ok, if you switch from at::IntList, which is a typedef for at::ArrayRef<int64_t> to at::ArrayRef<int>, everything works fine. at::IntList seems to be depracted or something 
But this doesn’t solve the issue, as every tensor is initialized with at::IntLists
#16824 1