Incompatible architecture on M1
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
Reinstalled all requirements multiple times, still have this issue:
Traceback (most recent call last):
File "/Users/astemirkerefov/ComfyUI/main.py", line 66, in
import comfy.utils
File "/Users/astemirkerefov/ComfyUI/comfy/utils.py", line 5, in
import safetensors.torch
File "/Users/astemirkerefov/miniconda3/lib/python3.11/site-packages/safetensors/__init__.py", line 5, in
from ._safetensors_rust import SafetensorError, deserialize, safe_open, serialize, serialize_file # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: dlopen(/Users/astemirkerefov/miniconda3/lib/python3.11/site-packages/safetensors/_safetensors_rust.cpython-311-darwin.so, 0x0002): tried: '/Users/astemirkerefov/miniconda3/lib/python3.11/site-packages/safetensors/_safetensors_rust.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/astemirkerefov/miniconda3/lib/python3.11/site-packages/safetensors/_safetensors_rust.cpython-311-darwin.so' (no such file), '/Users/astemirkerefov/miniconda3/lib/python3.11/site-packages/safetensors/_safetensors_rust.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Contributor guide
Assessment
This issue has not been assessed yet.