Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid ImageSharpen node bug on macOS #3392

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bigcat88
Copy link

@bigcat88 bigcat88 commented May 2, 2024

Revert change only for macOS

Resolves: #3383

@comfyanonymous
Copy link
Owner

Why not just check if the torch device is MPS?

@bigcat88 bigcat88 force-pushed the fix-macOS-ImageSharpen-3383 branch from f6e88e6 to e1e7e15 Compare May 4, 2024 07:53
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@bigcat88 bigcat88 force-pushed the fix-macOS-ImageSharpen-3383 branch from e1e7e15 to 1471835 Compare May 4, 2024 07:54
@bigcat88
Copy link
Author

bigcat88 commented May 4, 2024

I can’t imagine someone running Comfy on a CPU on macOS(PyTorch 2.3 dropped x86 macOS support as I know)

Anyway the question is good, I changed code to check for MPS device.

@bigcat88
Copy link
Author

bigcat88 commented May 7, 2024

@comfyanonymous sorry to bother you, but are you fine with this PR or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImageSharpen is broken on macOS due to a commit a week ago
3 participants