Skip to content

Mac Mx compatibility #326

@Marx2

Description

@Marx2

There's ComfyUI node SD Ultimate Upscaler which fails on Mac based computers. It fails with an error:

RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
Fix is described here:
ssitu/ComfyUI_UltimateSDUpscale#143 which references this

It's just adding one line in one function:
x = x.contiguous()

In short it modify code in this library, and then everything works as expected.

I'd like to know if this fix can be applied here, or this library is used in a wrong way by Upscaler, and fix should land in SD Ultimate Upscaler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions