RuntimeError: input type (torch.FloatTensor) and weight type (torch.HalfTensor) should be the same or input should be a MKLDNN tensor and weight is a dense-tensor

This error shows up whenever I attempt to train an hypernetwork. I recently got SD running on my computer, does anyone know how to fix this problem so I can be able to train a hypernetwork?