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 #15850

Closed
wants to merge 1 commit into from

Conversation

viking1304
Copy link
Contributor

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:

@viking1304 viking1304 requested a review from AUTOMATIC1111 as a code owner May 20, 2024 23:15
@viking1304 viking1304 closed this May 20, 2024
@viking1304 viking1304 deleted the torch-on-mac branch June 20, 2024 18:03
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.

1 participant