Skip to content

Commit

Permalink
Don't force_fp16 in waifu2x
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Feb 5, 2024
1 parent 640074b commit 69d0085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsscale/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def __post_init__(self) -> None:
)

if self._model >= Waifu2x.SwinUnetArt._model:
def_bkwargs |= KwargsT(tf32=not self.fp16, force_fp16=self.fp16)
def_bkwargs |= KwargsT(tf32=not self.fp16)

bkwargs = def_bkwargs | bkwargs

Expand Down

0 comments on commit 69d0085

Please sign in to comment.