Skip to content

fix mps: NotImplementedError: Output channels > 65536 not supported#453

Open
rser1911 wants to merge 2 commits intomyshell-ai:mainfrom
rser1911:mps
Open

fix mps: NotImplementedError: Output channels > 65536 not supported#453
rser1911 wants to merge 2 commits intomyshell-ai:mainfrom
rser1911:mps

Conversation

@rser1911
Copy link
Copy Markdown

fix tone_color_converter.convert for mps

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working labels Oct 23, 2025

for i in range(self.num_upsamples):
x = F.leaky_relu(x, modules.LRELU_SLOPE)
x = self.ups[i](x)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Checklist (self.ups)

xs += self.resblocks[i * self.num_kernels + j](x)
x = xs / self.num_kernels
x = F.leaky_relu(x)
x = self.conv_post(x)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants