Skip to content

Use different torch versions for Intel and ARM Macs#15851

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
viking1304:torch-on-mac
Jun 8, 2024
Merged

Use different torch versions for Intel and ARM Macs#15851
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
viking1304:torch-on-mac

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:30
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.

2 participants