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

Compatibility Issue: RuinedFooocus Not Running on macOS #1101

Open
AnbaiMei opened this issue Jan 10, 2025 · 0 comments
Open

Compatibility Issue: RuinedFooocus Not Running on macOS #1101

AnbaiMei opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AnbaiMei
Copy link

Package

RuinedFooocus

When did the issue occur?

Running the Package

What GPU / hardware type are you using?

Apple M1 Max

What happened?

I cannot run RuinedFooocus on macOS.
Although it is labeled as compatible with macOS in the Stability Matrix,
there is no mention of macOS on the RuinedFooocus page, so it is likely not supported on macOS.

Console output

Python 3.10.11 (main, May 7 2023, 17:32:05) [Clang 16.0.3 ]
RuinedFooocus version: 1.57.0
Check pip
Check pre-requirements
This next step may take a while
Installing required modules
Traceback (most recent call last):
File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/launch.py", line 150, in
prepare_environment()
File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/launch.py", line 79, in prepare_environment
run_pip(f'install -r "{launch_pip_file}" --extra-index-url {torch_index_url}', "required modules")
File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/modules/launch_util.py", line 97, in run_pip
return run(
File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/modules/launch_util.py", line 90, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install required modules.
Command: "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/bin/python3" -m pip install -r "pip_modules.txt" --extra-index-url https://download.pytorch.org/whl/cu121 --prefer-binary
Error code: 1
stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Ignoring llama_cpp_python: markers 'platform_system == "Linux"' don't match your environment
Ignoring llama-cpp-python: markers 'platform_system == "Windows"' don't match your environment
Collecting torch==2.2.2 (from -r pip_modules.txt (line 1))
Using cached torch-2.2.2-cp310-none-macosx_11_0_arm64.whl.metadata (25 kB)
Collecting torchvision==0.17.2 (from -r pip_modules.txt (line 2))
Using cached torchvision-0.17.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.6 kB)
Collecting torchsde==0.2.6 (from -r pip_modules.txt (line 3))
Using cached torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB)
Collecting einops==0.4.1 (from -r pip_modules.txt (line 4))
Using cached einops-0.4.1-py3-none-any.whl.metadata (10 kB)
Collecting transformers==4.44.0 (from -r pip_modules.txt (line 5))
Using cached transformers-4.44.0-py3-none-any.whl.metadata (43 kB)
Collecting safetensors==0.4.3 (from -r pip_modules.txt (line 6))
Using cached safetensors-0.4.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (3.8 kB)
Collecting accelerate==0.33.0 (from -r pip_modules.txt (line 7))
Using cached accelerate-0.33.0-py3-none-any.whl.metadata (18 kB)
Collecting pyyaml==6.0 (from -r pip_modules.txt (line 8))
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.0 kB)
Collecting Pillow==9.2.0 (from -r pip_modules.txt (line 9))
Using cached Pillow-9.2.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (8.9 kB)
Collecting scipy==1.10.0 (from -r pip_modules.txt (line 10))
Using cached scipy-1.10.0-cp310-cp310-macosx_12_0_arm64.whl.metadata (53 kB)
Collecting tqdm==4.66.5 (from -r pip_modules.txt (line 11))
Using cached https://download.pytorch.org/whl/tqdm-4.66.5-py3-none-any.whl (78 kB)
Collecting psutil==5.9.5 (from -r pip_modules.txt (line 12))
Using cached psutil-5.9.5-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)
Collecting numpy==1.26.4 (from -r pip_modules.txt (line 13))
Using cached numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting pytorch_lightning==1.9.4 (from -r pip_modules.txt (line 14))
Using cached pytorch_lightning-1.9.4-py3-none-any.whl.metadata (22 kB)
Collecting omegaconf==2.2.3 (from -r pip_modules.txt (line 15))
Using cached omegaconf-2.2.3-py3-none-any.whl.metadata (3.9 kB)
Collecting gradio==3.50.2 (from -r pip_modules.txt (line 16))
Using cached gradio-3.50.2-py3-none-any.whl.metadata (17 kB)
Collecting aiohttp==3.8.5 (from -r pip_modules.txt (line 17))
Using cached aiohttp-3.8.5-cp310-cp310-macosx_11_0_arm64.whl.metadata (7.7 kB)
Collecting playsound2==1.3.0 (from -r pip_modules.txt (line 18))
Using cached playsound2-1.3.0-py3-none-any.whl
Collecting diffusers==0.30.0 (from -r pip_modules.txt (line 19))
Using cached diffusers-0.30.0-py3-none-any.whl.metadata (18 kB)
Collecting ftfy==6.1.1 (from -r pip_modules.txt (line 20))
Using cached ftfy-6.1.1-py3-none-any.whl.metadata (6.1 kB)
Collecting clip_interrogator==0.6.0 (from -r pip_modules.txt (line 21))
Using cached clip_interrogator-0.6.0-py3-none-any.whl.metadata (4.9 kB)
Collecting opencv-python==4.8.1.78 (from -r pip_modules.txt (line 22))
Using cached opencv_python-4.8.1.78-cp37-abi3-macosx_11_0_arm64.whl.metadata (19 kB)
Collecting kornia==0.7.2 (from -r pip_modules.txt (line 23))
Using cached kornia-0.7.2-py2.py3-none-any.whl.metadata (12 kB)
Collecting sentencepiece==0.2.0 (from -r pip_modules.txt (line 24))
Using cached sentencepiece-0.2.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (7.7 kB)
Collecting spandrel==0.3.4 (from -r pip_modules.txt (line 25))
Using cached spandrel-0.3.4-py3-none-any.whl.metadata (14 kB)
Collecting imageio==2.34.1 (from imageio[pyav]==2.34.1->-r pip_modules.txt (line 26))
Using cached imageio-2.34.1-py3-none-any.whl.metadata (4.9 kB)
Collecting xformers==0.0.25.post1 (from -r pip_modules.txt (line 27))
Using cached xformers-0.0.25.post1.tar.gz (4.1 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting beautifulsoup4==4.12.3 (from -r pip_modules.txt (line 28))
Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting protobuf==4.25.4 (from -r pip_modules.txt (line 29))
Using cached protobuf-4.25.4-cp37-abi3-macosx_10_9_universal2.whl.metadata (541 bytes)
Collecting rembg==2.0.58 (from -r pip_modules.txt (line 30))
Using cached rembg-2.0.58-py3-none-any.whl.metadata (16 kB)
Collecting trimesh==4.4.4 (from -r pip_modules.txt (line 31))
Using cached trimesh-4.4.4-py3-none-any.whl.metadata (18 kB)
Collecting jaxtyping==0.2.33 (from -r pip_modules.txt (line 32))
Using cached jaxtyping-0.2.33-py3-none-any.whl.metadata (6.4 kB)
Collecting gpytoolbox==0.3.2 (from -r pip_modules.txt (line 33))
Using cached gpytoolbox-0.3.2-cp310-cp310-macosx_12_0_arm64.whl.metadata (9.8 kB)
Collecting pynim==1.0.5 (from -r pip_modules.txt (line 34))
Using cached pynim-1.0.5-py3-none-any.whl.metadata (1.5 kB)
Collecting slangtorch==1.2.3 (from -r pip_modules.txt (line 35))
Using cached slangtorch-1.2.3-py3-none-any.whl.metadata (882 bytes)
Collecting numpy-stl==3.1.2 (from -r pip_modules.txt (line 36))
Using cached numpy_stl-3.1.2-py3-none-any.whl.metadata (16 kB)
Collecting pyrender==0.1.45 (from -r pip_modules.txt (line 37))
Using cached pyrender-0.1.45-py3-none-any.whl.metadata (1.5 kB)
Collecting gguf==0.10.0 (from -r pip_modules.txt (line 38))
Using cached gguf-0.10.0-py3-none-any.whl.metadata (3.5 kB)
Collecting huggingface-hub==0.25.0 (from -r pip_modules.txt (line 39))
Using cached huggingface_hub-0.25.0-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: typing-extensions==4.12.2 in ./venv/lib/python3.10/site-packages (from -r pip_modules.txt (line 40)) (4.12.2)
Collecting diskcache==5.6.3 (from -r pip_modules.txt (line 41))
Using cached diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Collecting jinja2==3.1.4 (from -r pip_modules.txt (line 42))
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch==2.2.2->-r pip_modules.txt (line 1)) (3.16.1)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch==2.2.2->-r pip_modules.txt (line 1)) (1.13.3)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch==2.2.2->-r pip_modules.txt (line 1)) (3.4.2)
Requirement already satisfied: fsspec in ./venv/lib/python3.10/site-packages (from torch==2.2.2->-r pip_modules.txt (line 1)) (2024.12.0)
Collecting trampoline>=0.1.2 (from torchsde==0.2.6->-r pip_modules.txt (line 3))
Using cached trampoline-0.1.2-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from transformers==4.44.0->-r pip_modules.txt (line 5)) (24.2)
Collecting regex!=2019.12.17 (from transformers==4.44.0->-r pip_modules.txt (line 5))
Using cached regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl.metadata (40 kB)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from transformers==4.44.0->-r pip_modules.txt (line 5)) (2.32.3)
Collecting tokenizers<0.20,>=0.19 (from transformers==4.44.0->-r pip_modules.txt (line 5))
Using cached tokenizers-0.19.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.7 kB)
Collecting torchmetrics>=0.7.0 (from pytorch_lightning==1.9.4->-r pip_modules.txt (line 14))
Using cached torchmetrics-1.6.1-py3-none-any.whl.metadata (21 kB)
Collecting lightning-utilities>=0.6.0.post0 (from pytorch_lightning==1.9.4->-r pip_modules.txt (line 14))
Using cached lightning_utilities-0.11.9-py3-none-any.whl.metadata (5.2 kB)
Collecting antlr4-python3-runtime==4.9.* (from omegaconf==2.2.3->-r pip_modules.txt (line 15))
Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
Collecting aiofiles<24.0,>=22.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting altair<6.0,>=4.2.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached altair-5.5.0-py3-none-any.whl.metadata (11 kB)
Collecting fastapi (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached fastapi-0.115.6-py3-none-any.whl.metadata (27 kB)
Collecting ffmpy (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached ffmpy-0.5.0-py3-none-any.whl.metadata (3.0 kB)
Collecting gradio-client==0.6.1 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached gradio_client-0.6.1-py3-none-any.whl.metadata (7.1 kB)
Collecting httpx (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Collecting importlib-resources<7.0,>=1.3 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached importlib_resources-6.5.2-py3-none-any.whl.metadata (3.9 kB)
Collecting markupsafe~=2.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl (18 kB)
Collecting matplotlib~=3.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached matplotlib-3.10.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (11 kB)
Collecting orjson~=3.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached orjson-3.10.14-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl.metadata (41 kB)
Collecting pandas<3.0,>=1.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (89 kB)
Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Downloading pydantic-2.10.5-py3-none-any.whl.metadata (30 kB)
Collecting pydub (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting python-multipart (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)
Collecting semantic-version~=2.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting uvicorn>=0.14.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached uvicorn-0.34.0-py3-none-any.whl.metadata (6.5 kB)
Collecting websockets<12.0,>=10.0 (from gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached websockets-11.0.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.6 kB)
Collecting attrs>=17.3.0 (from aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached attrs-24.3.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in ./venv/lib/python3.10/site-packages (from aiohttp==3.8.5->-r pip_modules.txt (line 17)) (3.4.1)
Collecting multidict<7.0,>=4.5 (from aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached multidict-6.1.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.0 kB)
Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached yarl-1.18.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (69 kB)
Collecting frozenlist>=1.1.1 (from aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached frozenlist-1.5.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (13 kB)
Collecting aiosignal>=1.1.2 (from aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached aiosignal-1.3.2-py2.py3-none-any.whl.metadata (3.8 kB)
Collecting importlib-metadata (from diffusers==0.30.0->-r pip_modules.txt (line 19))
Using cached importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting wcwidth>=0.2.5 (from ftfy==6.1.1->-r pip_modules.txt (line 20))
Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Collecting open-clip-torch (from clip_interrogator==0.6.0->-r pip_modules.txt (line 21))
Using cached open_clip_torch-2.30.0-py3-none-any.whl.metadata (31 kB)
Collecting kornia-rs>=0.1.0 (from kornia==0.7.2->-r pip_modules.txt (line 23))
Using cached kornia_rs-0.1.8-cp310-cp310-macosx_11_0_arm64.whl.metadata (10 kB)
Collecting soupsieve>1.2 (from beautifulsoup4==4.12.3->-r pip_modules.txt (line 28))
Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Collecting jsonschema (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB)
Collecting onnxruntime (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached onnxruntime-1.20.1-cp310-cp310-macosx_13_0_universal2.whl.metadata (4.5 kB)
Collecting opencv-python-headless (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached opencv_python_headless-4.10.0.84-cp37-abi3-macosx_11_0_arm64.whl.metadata (20 kB)
Collecting pooch (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached pooch-1.8.2-py3-none-any.whl.metadata (10 kB)
Collecting pymatting (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached PyMatting-1.1.13-py3-none-any.whl.metadata (7.5 kB)
Collecting scikit-image (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached scikit_image-0.25.0-cp310-cp310-macosx_12_0_arm64.whl.metadata (14 kB)
Collecting typeguard==2.13.3 (from jaxtyping==0.2.33->-r pip_modules.txt (line 32))
Using cached typeguard-2.13.3-py3-none-any.whl.metadata (3.6 kB)
Collecting pyinstaller (from pynim==1.0.5->-r pip_modules.txt (line 34))
Using cached pyinstaller-6.11.1-py3-none-macosx_10_13_universal2.whl.metadata (8.3 kB)
Collecting argparse (from pynim==1.0.5->-r pip_modules.txt (line 34))
Using cached argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB)
Collecting hatchling>=1.11.0 (from slangtorch==1.2.3->-r pip_modules.txt (line 35))
Downloading hatchling-1.27.0-py3-none-any.whl.metadata (3.8 kB)
Collecting ninja (from slangtorch==1.2.3->-r pip_modules.txt (line 35))
Downloading ninja-1.11.1.3-py3-none-macosx_10_9_universal2.whl.metadata (5.3 kB)
Collecting python-utils>=3.4.5 (from numpy-stl==3.1.2->-r pip_modules.txt (line 36))
Using cached python_utils-3.9.1-py2.py3-none-any.whl.metadata (9.8 kB)
Collecting freetype-py (from pyrender==0.1.45->-r pip_modules.txt (line 37))
Using cached freetype_py-2.5.1-py3-none-macosx_10_9_universal2.whl.metadata (6.3 kB)
Collecting pyglet>=1.4.10 (from pyrender==0.1.45->-r pip_modules.txt (line 37))
Downloading pyglet-2.1.0-py3-none-any.whl.metadata (7.7 kB)
Collecting PyOpenGL==3.1.0 (from pyrender==0.1.45->-r pip_modules.txt (line 37))
Using cached PyOpenGL-3.1.0-py3-none-any.whl
Collecting six (from pyrender==0.1.45->-r pip_modules.txt (line 37))
Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting av (from imageio[pyav]==2.34.1->-r pip_modules.txt (line 26))
Using cached av-14.0.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.5 kB)
Collecting narwhals>=1.14.2 (from altair<6.0,>=4.2.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached narwhals-1.21.1-py3-none-any.whl.metadata (10.0 kB)
Collecting pathspec>=0.10.1 (from hatchling>=1.11.0->slangtorch==1.2.3->-r pip_modules.txt (line 35))
Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Collecting pluggy>=1.0.0 (from hatchling>=1.11.0->slangtorch==1.2.3->-r pip_modules.txt (line 35))
Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting tomli>=1.2.2 (from hatchling>=1.11.0->slangtorch==1.2.3->-r pip_modules.txt (line 35))
Using cached tomli-2.2.1-py3-none-any.whl.metadata (10 kB)
Collecting trove-classifiers (from hatchling>=1.11.0->slangtorch==1.2.3->-r pip_modules.txt (line 35))
Downloading trove_classifiers-2025.1.7.14-py3-none-any.whl.metadata (2.2 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached jsonschema_specifications-2024.10.1-py3-none-any.whl.metadata (3.0 kB)
Collecting referencing>=0.28.4 (from jsonschema->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.7.1 (from jsonschema->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached rpds_py-0.22.3-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.2 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from lightning-utilities>=0.6.0.post0->pytorch_lightning==1.9.4->-r pip_modules.txt (line 14)) (75.6.0)
Collecting contourpy>=1.0.1 (from matplotlib~=3.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached contourpy-1.3.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (5.4 kB)
Collecting cycler>=0.10 (from matplotlib~=3.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib~=3.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached fonttools-4.55.3-cp310-cp310-macosx_10_9_universal2.whl.metadata (165 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib~=3.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached kiwisolver-1.4.8-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.2 kB)
Collecting pyparsing>=2.3.1 (from matplotlib~=3.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached pyparsing-3.2.1-py3-none-any.whl.metadata (5.0 kB)
Collecting python-dateutil>=2.7 (from matplotlib~=3.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas<3.0,>=1.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas<3.0,>=1.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting annotated-types>=0.6.0 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.27.2 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached pydantic_core-2.27.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.6 kB)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->transformers==4.44.0->-r pip_modules.txt (line 5)) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->transformers==4.44.0->-r pip_modules.txt (line 5)) (2.3.0)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->transformers==4.44.0->-r pip_modules.txt (line 5)) (2024.12.14)
Collecting click>=7.0 (from uvicorn>=0.14.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Collecting h11>=0.8 (from uvicorn>=0.14.0->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting propcache>=0.2.0 (from yarl<2.0,>=1.0->aiohttp==3.8.5->-r pip_modules.txt (line 17))
Using cached propcache-0.2.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting starlette<0.42.0,>=0.40.0 (from fastapi->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached starlette-0.41.3-py3-none-any.whl.metadata (6.0 kB)
Collecting anyio (from httpx->gradio==3.50.2->-r pip_modules.txt (line 16))
Downloading anyio-4.8.0-py3-none-any.whl.metadata (4.6 kB)
Collecting httpcore==1.* (from httpx->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)
Collecting zipp>=3.20 (from importlib-metadata->diffusers==0.30.0->-r pip_modules.txt (line 19))
Using cached zipp-3.21.0-py3-none-any.whl.metadata (3.7 kB)
Collecting coloredlogs (from onnxruntime->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting flatbuffers (from onnxruntime->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached flatbuffers-24.12.23-py2.py3-none-any.whl.metadata (876 bytes)
Collecting timm (from open-clip-torch->clip_interrogator==0.6.0->-r pip_modules.txt (line 21))
Using cached timm-1.0.13-py3-none-any.whl.metadata (53 kB)
Collecting platformdirs>=2.5.0 (from pooch->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
Collecting altgraph (from pyinstaller->pynim==1.0.5->-r pip_modules.txt (line 34))
Using cached altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB)
Collecting pyinstaller-hooks-contrib>=2024.9 (from pyinstaller->pynim==1.0.5->-r pip_modules.txt (line 34))
Downloading pyinstaller_hooks_contrib-2024.11-py3-none-any.whl.metadata (16 kB)
Collecting macholib>=1.8 (from pyinstaller->pynim==1.0.5->-r pip_modules.txt (line 34))
Using cached macholib-1.16.3-py2.py3-none-any.whl.metadata (11 kB)
Collecting numba!=0.49.0 (from pymatting->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached numba-0.60.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.7 kB)
INFO: pip is looking at multiple versions of scikit-image to determine which version is compatible with other requirements. This could take a while.
Collecting scikit-image (from rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached scikit_image-0.24.0-cp310-cp310-macosx_12_0_arm64.whl.metadata (14 kB)
Collecting tifffile>=2022.8.12 (from scikit-image->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached tifffile-2024.12.12-py3-none-any.whl.metadata (31 kB)
Collecting lazy-loader>=0.4 (from scikit-image->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in ./venv/lib/python3.10/site-packages (from sympy->torch==2.2.2->-r pip_modules.txt (line 1)) (1.3.0)
Collecting llvmlite<0.44,>=0.43.0dev0 (from numba!=0.49.0->pymatting->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached llvmlite-0.43.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.8 kB)
Collecting exceptiongroup>=1.0.2 (from anyio->httpx->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
Collecting sniffio>=1.1 (from anyio->httpx->gradio==3.50.2->-r pip_modules.txt (line 16))
Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime->rembg==2.0.58->-r pip_modules.txt (line 30))
Using cached humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Using cached torch-2.2.2-cp310-none-macosx_11_0_arm64.whl (59.7 MB)
Using cached torchvision-0.17.2-cp310-cp310-macosx_11_0_arm64.whl (1.6 MB)
Using cached torchsde-0.2.6-py3-none-any.whl (61 kB)
Using cached einops-0.4.1-py3-none-any.whl (28 kB)
Using cached transformers-4.44.0-py3-none-any.whl (9.5 MB)
Using cached safetensors-0.4.3-cp310-cp310-macosx_11_0_arm64.whl (410 kB)
Using cached accelerate-0.33.0-py3-none-any.whl (315 kB)
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Using cached Pillow-9.2.0-cp310-cp310-macosx_11_0_arm64.whl (2.8 MB)
Using cached scipy-1.10.0-cp310-cp310-macosx_12_0_arm64.whl (28.8 MB)
Using cached psutil-5.9.5-cp38-abi3-macosx_11_0_arm64.whl (246 kB)
Using cached numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl (14.0 MB)
Using cached pytorch_lightning-1.9.4-py3-none-any.whl (827 kB)
Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Using cached gradio-3.50.2-py3-none-any.whl (20.3 MB)
Using cached aiohttp-3.8.5-cp310-cp310-macosx_11_0_arm64.whl (343 kB)
Using cached diffusers-0.30.0-py3-none-any.whl (2.6 MB)
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Using cached clip_interrogator-0.6.0-py3-none-any.whl (787 kB)
Using cached opencv_python-4.8.1.78-cp37-abi3-macosx_11_0_arm64.whl (33.1 MB)
Using cached kornia-0.7.2-py2.py3-none-any.whl (825 kB)
Using cached sentencepiece-0.2.0-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB)
Using cached spandrel-0.3.4-py3-none-any.whl (268 kB)
Using cached imageio-2.34.1-py3-none-any.whl (313 kB)
Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Using cached protobuf-4.25.4-cp37-abi3-macosx_10_9_universal2.whl (394 kB)
Using cached rembg-2.0.58-py3-none-any.whl (33 kB)
Using cached trimesh-4.4.4-py3-none-any.whl (696 kB)
Using cached jaxtyping-0.2.33-py3-none-any.whl (42 kB)
Using cached gpytoolbox-0.3.2-cp310-cp310-macosx_12_0_arm64.whl (8.3 MB)
Using cached pynim-1.0.5-py3-none-any.whl (5.1 kB)
Using cached slangtorch-1.2.3-py3-none-any.whl (16.2 MB)
Using cached numpy_stl-3.1.2-py3-none-any.whl (20 kB)
Using cached pyrender-0.1.45-py3-none-any.whl (1.2 MB)
Using cached gguf-0.10.0-py3-none-any.whl (71 kB)
Using cached huggingface_hub-0.25.0-py3-none-any.whl (436 kB)
Using cached diskcache-5.6.3-py3-none-any.whl (45 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached gradio_client-0.6.1-py3-none-any.whl (299 kB)
Using cached typeguard-2.13.3-py3-none-any.whl (17 kB)
Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB)
Using cached aiosignal-1.3.2-py2.py3-none-any.whl (7.6 kB)
Using cached altair-5.5.0-py3-none-any.whl (731 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached attrs-24.3.0-py3-none-any.whl (63 kB)
Using cached frozenlist-1.5.0-cp310-cp310-macosx_11_0_arm64.whl (52 kB)
Downloading hatchling-1.27.0-py3-none-any.whl (75 kB)
Using cached importlib_resources-6.5.2-py3-none-any.whl (37 kB)
Using cached jsonschema-4.23.0-py3-none-any.whl (88 kB)
Using cached kornia_rs-0.1.8-cp310-cp310-macosx_11_0_arm64.whl (1.7 MB)
Using cached lightning_utilities-0.11.9-py3-none-any.whl (28 kB)
Using cached matplotlib-3.10.0-cp310-cp310-macosx_11_0_arm64.whl (8.0 MB)
Using cached multidict-6.1.0-cp310-cp310-macosx_11_0_arm64.whl (29 kB)
Using cached orjson-3.10.14-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (249 kB)
Using cached pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl (11.3 MB)
Downloading pydantic-2.10.5-py3-none-any.whl (431 kB)
Using cached pydantic_core-2.27.2-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB)
Downloading pyglet-2.1.0-py3-none-any.whl (961 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 961.3/961.3 kB 11.4 MB/s eta 0:00:00
Using cached python_utils-3.9.1-py2.py3-none-any.whl (32 kB)
Using cached regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl (284 kB)
Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
Using cached tokenizers-0.19.1-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Using cached torchmetrics-1.6.1-py3-none-any.whl (927 kB)
Using cached trampoline-0.1.2-py3-none-any.whl (5.2 kB)
Using cached uvicorn-0.34.0-py3-none-any.whl (62 kB)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Using cached websockets-11.0.3-cp310-cp310-macosx_11_0_arm64.whl (121 kB)
Using cached yarl-1.18.3-cp310-cp310-macosx_11_0_arm64.whl (92 kB)
Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Using cached av-14.0.1-cp310-cp310-macosx_11_0_arm64.whl (19.5 MB)
Using cached fastapi-0.115.6-py3-none-any.whl (94 kB)
Using cached ffmpy-0.5.0-py3-none-any.whl (6.0 kB)
Using cached freetype_py-2.5.1-py3-none-macosx_10_9_universal2.whl (1.7 MB)
Using cached httpx-0.28.1-py3-none-any.whl (73 kB)
Using cached httpcore-1.0.7-py3-none-any.whl (78 kB)
Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Downloading ninja-1.11.1.3-py3-none-macosx_10_9_universal2.whl (279 kB)
Using cached onnxruntime-1.20.1-cp310-cp310-macosx_13_0_universal2.whl (31.0 MB)
Using cached open_clip_torch-2.30.0-py3-none-any.whl (1.5 MB)
Using cached opencv_python_headless-4.10.0.84-cp37-abi3-macosx_11_0_arm64.whl (54.8 MB)
Using cached pooch-1.8.2-py3-none-any.whl (64 kB)
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Using cached pyinstaller-6.11.1-py3-none-macosx_10_13_universal2.whl (991 kB)
Using cached PyMatting-1.1.13-py3-none-any.whl (54 kB)
Using cached python_multipart-0.0.20-py3-none-any.whl (24 kB)
Using cached scikit_image-0.24.0-cp310-cp310-macosx_12_0_arm64.whl (13.4 MB)
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Using cached click-8.1.8-py3-none-any.whl (98 kB)
Using cached contourpy-1.3.1-cp310-cp310-macosx_11_0_arm64.whl (253 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.55.3-cp310-cp310-macosx_10_9_universal2.whl (2.8 MB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached jsonschema_specifications-2024.10.1-py3-none-any.whl (18 kB)
Using cached kiwisolver-1.4.8-cp310-cp310-macosx_11_0_arm64.whl (65 kB)
Using cached lazy_loader-0.4-py3-none-any.whl (12 kB)
Using cached macholib-1.16.3-py2.py3-none-any.whl (38 kB)
Using cached altgraph-0.17.4-py2.py3-none-any.whl (21 kB)
Using cached narwhals-1.21.1-py3-none-any.whl (282 kB)
Using cached numba-0.60.0-cp310-cp310-macosx_11_0_arm64.whl (2.7 MB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached propcache-0.2.1-cp310-cp310-macosx_11_0_arm64.whl (45 kB)
Downloading pyinstaller_hooks_contrib-2024.11-py3-none-any.whl (339 kB)
Using cached pyparsing-3.2.1-py3-none-any.whl (107 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached referencing-0.35.1-py3-none-any.whl (26 kB)
Using cached rpds_py-0.22.3-cp310-cp310-macosx_11_0_arm64.whl (349 kB)
Using cached starlette-0.41.3-py3-none-any.whl (73 kB)
Downloading anyio-4.8.0-py3-none-any.whl (96 kB)
Using cached tifffile-2024.12.12-py3-none-any.whl (227 kB)
Using cached tomli-2.2.1-py3-none-any.whl (14 kB)
Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Using cached zipp-3.21.0-py3-none-any.whl (9.6 kB)
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Using cached flatbuffers-24.12.23-py2.py3-none-any.whl (30 kB)
Using cached timm-1.0.13-py3-none-any.whl (2.4 MB)
Downloading trove_classifiers-2025.1.7.14-py3-none-any.whl (13 kB)
Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Using cached llvmlite-0.43.0-cp310-cp310-macosx_11_0_arm64.whl (28.8 MB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Building wheels for collected packages: xformers
Building wheel for xformers (setup.py): started
Building wheel for xformers (setup.py): finished with status 'error'
Running setup.py clean for xformers
Failed to build xformers

stderr: error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [283 lines of output]
/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/_distutils_hack/init.py:53: UserWarning: Reliance on distutils from stdlib is deprecated. Users must rely on setuptools to provide the distutils module. Avoid importing distutils or import setuptools first, and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
warnings.warn(

  A module that was compiled using NumPy 1.x cannot be run in
  NumPy 2.2.1 as it may crash. To support both 1.x and 2.x
  versions of NumPy, modules must be compiled with NumPy 2.0.
  Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
  
  If you are a user of the module, the easiest solution will be to
  downgrade to 'numpy<2' or try to upgrade the affected module.
  We expect that some modules will need time to support NumPy 2.
  
  Traceback (most recent call last):  File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/private/var/folders/h8/4l388m190bqdf663c1ph5kx40000gn/T/pip-install-_3x1u9_u/xformers_420da0cbf6974055a1ff42751f70406e/setup.py", line 23, in <module>
      import torch
    File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/__init__.py", line 1382, in <module>
      from .functional import *  # noqa: F403
    File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/functional.py", line 7, in <module>
      import torch.nn.functional as F
    File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/nn/__init__.py", line 1, in <module>
      from .modules import *  # noqa: F403
    File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/nn/modules/__init__.py", line 35, in <module>
      from .transformer import TransformerEncoder, TransformerDecoder, \
    File "/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/nn/modules/transformer.py", line 20, in <module>
      device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
  /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:84.)
    device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
  running bdist_wheel
  /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py:502: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
    warnings.warn(msg.format('we could not find ninja.'))
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.0-arm64-3.10
  creating build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/_deprecation_warning.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/attn_bias_utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/checkpoint.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/test.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/_cpp_lib.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  copying xformers/info.py -> build/lib.macosx-11.0-arm64-3.10/xformers
  creating build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/fused_linear_layer.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/vararg_kernel.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/k_activations.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/k_layer_norm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/k_fused_matmul_fw.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/dropout.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/k_dropout.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/softmax.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/layer_norm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/k_fused_matmul_bw.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  copying xformers/triton/k_softmax.py -> build/lib.macosx-11.0-arm64-3.10/xformers/triton
  creating build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/simplicial_embedding.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/residual.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/reversible.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/activations.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/multi_head_dispatch.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/input_projection.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  copying xformers/components/patch_embedding.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components
  creating build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_mem_eff_attention.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_indexing.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_mlp.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_blocksparse_transformers.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_mem_eff_attn_decoder.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_transformer.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_revnet.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_swiglu.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_triton_layernorm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_causal_blocksparse.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_triton_fused_linear.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_tiled_matmul.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_triton_blocksparse.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_triton_softmax.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_mem_eff_attention_mqa.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_triton_dropout.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_nystrom_utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_attn_decoding.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_multi_head_dispatch.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_sequence_parallel_fused.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_sddmm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_sp24.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  copying xformers/benchmarks/benchmark_core.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks
  creating build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/rmsnorm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/modpar_layers.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/swiglu_op.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/unbind.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/rope_padded.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/seqpar.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/ipc.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/sequence_parallel_fused_ops.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/sp24.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/common.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/differentiable_collectives.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/tiled_matmul.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  copying xformers/ops/indexing.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops
  creating build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/device_limits.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/profiler_dcgm_impl.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/profiler_dcgm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/api.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/slow_ops_profiler.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  copying xformers/profiler/profiler.py -> build/lib.macosx-11.0-arm64-3.10/xformers/profiler
  creating build/lib.macosx-11.0-arm64-3.10/xformers/sparse
  copying xformers/sparse/_csr_ops.py -> build/lib.macosx-11.0-arm64-3.10/xformers/sparse
  copying xformers/sparse/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/sparse
  copying xformers/sparse/utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers/sparse
  copying xformers/sparse/blocksparse_tensor.py -> build/lib.macosx-11.0-arm64-3.10/xformers/sparse
  copying xformers/sparse/csr_tensor.py -> build/lib.macosx-11.0-arm64-3.10/xformers/sparse
  creating build/lib.macosx-11.0-arm64-3.10/xformers/helpers
  copying xformers/helpers/test_utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers/helpers
  copying xformers/helpers/hierarchical_configs.py -> build/lib.macosx-11.0-arm64-3.10/xformers/helpers
  copying xformers/helpers/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/helpers
  copying xformers/helpers/timm_sparse_attention.py -> build/lib.macosx-11.0-arm64-3.10/xformers/helpers
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/fused_softmax.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/flash_blocksparse_attn_interface.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/flash_blocksparse_attention.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/bert_padding.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/flash_attn_triton_og.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/flash_attn_triton.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  copying xformers/_flash_attn/flash_attn_interface.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn
  creating build/lib.macosx-11.0-arm64-3.10/xformers/factory
  copying xformers/factory/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/factory
  copying xformers/factory/hydra_helper.py -> build/lib.macosx-11.0-arm64-3.10/xformers/factory
  copying xformers/factory/block_factory.py -> build/lib.macosx-11.0-arm64-3.10/xformers/factory
  copying xformers/factory/model_factory.py -> build/lib.macosx-11.0-arm64-3.10/xformers/factory
  copying xformers/factory/block_configs.py -> build/lib.macosx-11.0-arm64-3.10/xformers/factory
  copying xformers/factory/weight_init.py -> build/lib.macosx-11.0-arm64-3.10/xformers/factory
  creating build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/global_tokens.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/ortho.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/blocksparse.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/local.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/compositional.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/pooling.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/_sputnik_sparse.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/core.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/lambda_layer.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/random.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/fourier_mix.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/scaled_dot_product.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/utils.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/attention_mask.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/linformer.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/attention_patterns.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/visual.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/sparsity_config.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/nystrom.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/favor.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  copying xformers/components/attention/base.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention
  creating build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  copying xformers/components/feedforward/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  copying xformers/components/feedforward/mixture_of_experts.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  copying xformers/components/feedforward/mlp.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  copying xformers/components/feedforward/conv_mlp.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  copying xformers/components/feedforward/fused_mlp.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  copying xformers/components/feedforward/base.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/feedforward
  creating build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  copying xformers/components/positional_embedding/vocab.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  copying xformers/components/positional_embedding/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  copying xformers/components/positional_embedding/param.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  copying xformers/components/positional_embedding/sine.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  copying xformers/components/positional_embedding/rotary.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  copying xformers/components/positional_embedding/base.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/positional_embedding
  creating build/lib.macosx-11.0-arm64-3.10/xformers/components/attention/feature_maps
  copying xformers/components/attention/feature_maps/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention/feature_maps
  copying xformers/components/attention/feature_maps/softmax.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention/feature_maps
  copying xformers/components/attention/feature_maps/base.py -> build/lib.macosx-11.0-arm64-3.10/xformers/components/attention/feature_maps
  creating build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  copying xformers/benchmarks/LRA/batch_submit.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  copying xformers/benchmarks/LRA/batch_fetch_results.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  copying xformers/benchmarks/LRA/run_with_submitit.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  copying xformers/benchmarks/LRA/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  copying xformers/benchmarks/LRA/run_tasks.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  copying xformers/benchmarks/LRA/run_grid_search.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA
  creating build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA/code
  copying xformers/benchmarks/LRA/code/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA/code
  copying xformers/benchmarks/LRA/code/model_wrapper.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA/code
  copying xformers/benchmarks/LRA/code/dataset.py -> build/lib.macosx-11.0-arm64-3.10/xformers/benchmarks/LRA/code
  creating build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/k_scaled_index_add.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/rope_padded_kernels.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/sequence_parallel_fused_kernels.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/tiled_matmul_kernels.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/k_index_select_cat.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  copying xformers/ops/_triton/rmsnorm_kernels.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/_triton
  creating build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/decoder.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/dispatch.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/attn_bias.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/ck.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/common.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/ck_decoder.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/flash.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/small_k.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/cutlass.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/ck_splitk.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  copying xformers/ops/fmha/triton_splitk.py -> build/lib.macosx-11.0-arm64-3.10/xformers/ops/fmha
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/losses
  copying xformers/_flash_attn/losses/cross_entropy.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/losses
  copying xformers/_flash_attn/losses/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/losses
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/layers
  copying xformers/_flash_attn/layers/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/layers
  copying xformers/_flash_attn/layers/patch_embed.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/layers
  copying xformers/_flash_attn/layers/rotary.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/layers
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/utils
  copying xformers/_flash_attn/utils/pretrained.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/utils
  copying xformers/_flash_attn/utils/generation.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/utils
  copying xformers/_flash_attn/utils/benchmark.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/utils
  copying xformers/_flash_attn/utils/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/utils
  copying xformers/_flash_attn/utils/distributed.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/utils
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/bigcode.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/gptj.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/opt.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/llama.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/vit.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/btlm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/baichuan.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/bert.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/falcon.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/gpt_neox.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  copying xformers/_flash_attn/models/gpt.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/models
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops
  copying xformers/_flash_attn/ops/activations.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops
  copying xformers/_flash_attn/ops/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops
  copying xformers/_flash_attn/ops/fused_dense.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops
  copying xformers/_flash_attn/ops/rms_norm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops
  copying xformers/_flash_attn/ops/layer_norm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/modules
  copying xformers/_flash_attn/modules/embedding.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/modules
  copying xformers/_flash_attn/modules/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/modules
  copying xformers/_flash_attn/modules/mlp.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/modules
  copying xformers/_flash_attn/modules/block.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/modules
  copying xformers/_flash_attn/modules/mha.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/modules
  creating build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/cross_entropy.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/linear.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/k_activations.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/__init__.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/mlp.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/rotary.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  copying xformers/_flash_attn/ops/triton/layer_norm.py -> build/lib.macosx-11.0-arm64-3.10/xformers/_flash_attn/ops/triton
  running build_ext
  building 'xformers._C' extension
  creating build/temp.macosx-11.0-arm64-3.10
  creating build/temp.macosx-11.0-arm64-3.10/xformers
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc/attention
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc/attention/autograd
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc/attention/cpu
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc/sequence_parallel_fused
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc/sparse24
  creating build/temp.macosx-11.0-arm64-3.10/xformers/csrc/swiglu
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -I/var/folders/c8/z52g4gc5679gygt8z0dx0jqm0000gn/T/tmp8yec8b1h/tools/deps/include -I/var/folders/c8/z52g4gc5679gygt8z0dx0jqm0000gn/T/tmp8yec8b1h/tools/deps/include/ncursesw -I/var/folders/c8/z52g4gc5679gygt8z0dx0jqm0000gn/T/tmp8yec8b1h/tools/deps/include/uuid -Werror=unguarded-availability-new -I/private/var/folders/h8/4l388m190bqdf663c1ph5kx40000gn/T/pip-install-_3x1u9_u/xformers_420da0cbf6974055a1ff42751f70406e/xformers/csrc -I/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include -I/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/TH -I/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/THC -I/Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/include -I/Users/anbaimei/Library/Application Support/StabilityMatrix/Assets/Python310/include/python3.10 -c xformers/csrc/attention/attention.cpp -o build/temp.macosx-11.0-arm64-3.10/xformers/csrc/attention/attention.o -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_clang" -DPYBIND11_STDLIB="_libcpp" -DPYBIND11_BUILD_ABI="_cxxabi1002" -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
  In file included from xformers/csrc/attention/attention.cpp:8:
  In file included from /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3:
  In file included from /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/ATen/ATen.h:7:
  In file included from /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/ATen/Context.h:3:
  In file included from /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/ATen/CPUGeneratorImpl.h:3:
  /Users/anbaimei/Library/Application Support/StabilityMatrix/Packages/RuinedFooocus/venv/lib/python3.10/site-packages/torch/include/ATen/core/Generator.h:3:10: fatal error: 'mutex' file not found
      3 | #include <mutex>
        |          ^~~~~~~
  1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for xformers
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xformers)

Version

v2.13.1

What Operating System are you using?

macOS

@AnbaiMei AnbaiMei added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant