Skip to content

Commit

Permalink
KNNet does not support FP16 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Nov 22, 2023
1 parent a6473e9 commit 80ce019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spandrel/architectures/KBNet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def load_l(state_dict: StateDict) -> RestorationModelDescriptor[KBNet_l]:
state_dict,
architecture="KBCNN",
tags=["L"],
supports_half=True,
supports_half=False,
supports_bfloat16=True,
input_channels=in_nc,
output_channels=out_nc,
Expand Down Expand Up @@ -121,7 +121,7 @@ def load_s(state_dict: StateDict) -> RestorationModelDescriptor[KBNet_s]:
state_dict,
architecture="KBCNN",
tags=["S"],
supports_half=True,
supports_half=False,
supports_bfloat16=True,
input_channels=img_channel,
output_channels=img_channel,
Expand Down

0 comments on commit 80ce019

Please sign in to comment.