img2img-turbo icon indicating copy to clipboard operation
img2img-turbo copied to clipboard

fp16 inference not working

Open joansc opened this issue 5 months ago • 0 comments

Hello,

Im using the day_to_night model and if I do the fp16 I get the following error:

img2img-turbo\src\TDImportCache\lib\torch\nn\modules\conv.py", line 459, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Input type (float) and bias type (struct c10::Half) should be the same

Thanks!

Joan

joansc avatar Sep 08 '24 18:09 joansc