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

Use different torch versions for Intel and ARM Macs #15851

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

viking1304
Copy link

Description

PyTorch 2.3.0 fixes some critical issues on MacOS (see details for MPS), including this one which is most problematic, since it breaks all ancestral samplers on MacOS 14.4+ (on both A1111 and Comfy).

Unfortunately, PyTorch dropped support for Intel Macs. The last version with x64 binaries is 2.2.0, but that version does not work properly on MacOS 14.4+. The last version of PyTorch that works on Intel Macs with MacOS 14.4+ is 2.1.2.

I have added CPU check and different TORCH_COMMANDs for Intel and ARM.

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 616013f into AUTOMATIC1111:dev Jun 8, 2024
6 of 7 checks passed
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.

None yet

2 participants