Getting torch.cuda.halfTensor error while using DeepSpeed with accelerate

I solved by changing accelerate config to not use fp16 (stage 2)