Added torchstate var for CM Torch