Error: more than one operator "<" matches these operands in THCNumerics.cuh

No. You want fp16 but not the built-in ops.