Skip to content

Commit

Permalink
Fix size requirements for 1x AdaCode models
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed May 20, 2024
1 parent 2a2cda7 commit 5e30c55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def load(self, state_dict: StateDict) -> ImageModelDescriptor[AdaCode]:
use_residual=use_residual,
)

multiple_of = {2: 32, 4: 16}.get(scale_factor, 8)
multiple_of = {1: 64, 2: 32, 4: 16}.get(scale_factor, 8)

return ImageModelDescriptor(
model,
Expand Down

0 comments on commit 5e30c55

Please sign in to comment.