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

[Bug]: macOS Infer Bug #869

Open
aceylan opened this issue Nov 11, 2024 · 31 comments
Open

[Bug]: macOS Infer Bug #869

aceylan opened this issue Nov 11, 2024 · 31 comments
Labels
bug Something isn't working

Comments

@aceylan
Copy link

aceylan commented Nov 11, 2024

Project Version

3.2.6

Platform and OS Version

MacOS 15.1 (24B83)

Affected Devices

MacBook Pro 14 M2 pro silicon

Existing Issues

No response

What happened?

server is Running well. Model can be uploaded.
But during processing, it is waiting all the time. I have been waited 20 minutes for 3 words(TTS)

Steps to reproduce

...

Expected behavior

during processing, it is waiting all the time. I have been waited 20 minutes for 3 words(TTS)

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response

@aceylan aceylan added the bug Something isn't working label Nov 11, 2024
@aceylan
Copy link
Author

aceylan commented Nov 11, 2024

and there is no error. on console, just typing Converting audio '/Users/a....

@MarxAnthony
Copy link
Contributor

The developer must wear a sweater to fix the batch problem by mps

@Dalil260175
Copy link

Same here - M4 MacBook with latest Sequoia.

@MarxAnthony
Copy link
Contributor

@aitronz @blaisewf

@AznamirWoW
Copy link
Contributor

downgrade python used for Applio from 3.12+ to 3.9

@BibouOnAir
Copy link

same several days that I try to install it on my mac studio! :(

@BibouOnAir
Copy link

Doesn't work with Pinokio either

@BibouOnAir
Copy link

I really need Applio for my work, it's really important for me.
Who can install it on my MAC OS
I'm willing to pay the high price!

@blaisewf
Copy link
Member

blaisewf commented Dec 4, 2024

you can use colab

@BibouOnAir
Copy link

BibouOnAir commented Dec 4, 2024

Not practical for me, I have to get out of it very quickly, I make radio jingles daily. In live conditions, the Applio app is really good for me, I managed to make it work for a while it doesn't work anymore since I installed another python app, it messes things up. I can't install it anymore since

@blaisewf
Copy link
Member

blaisewf commented Dec 4, 2024

join discord for helping you better

@blaisewf
Copy link
Member

blaisewf commented Dec 4, 2024

@Anthonyxd22

@MarxAnthony
Copy link
Contributor

@BibouOnAir
Copy link

it's the same bro, no module named gradio
can't install gradio, i tried everything

@MarxAnthony
Copy link
Contributor

Download dependencies manually

Pip install tensorboard
Pip install torch
Pip install tqdm
Pip install fairseq
Pip install faits-cpu==1.7.0
Pip install tensorboardX
Pip install grado
Pip install soundfile
Pip install python-dotenv
Pip install faits-cpu
Pip install scikit-learn
Pip install librosa
Pip install av
Pip install beautifulsoup4
Pip install praat-parselmouth
Pip install pyworld
Pip install resampy
Pip install pedalboard
Pip install gdown
Pip install nxruntime
Pip install wget
Pip install torchcrepe
Pip install beer
Pip install nltk
Pip install gtts
Pip install gtts
pip install edge-tts
pip install cortex
pip install regular expressions
pip install ffmpeg
pip install flask
pip install pypresence

@MarxAnthony
Copy link
Contributor

MarxAnthony commented Dec 5, 2024

-For Mac users, please do not use Sequoia beta 1 as it has bugs, for example, and cannot make -Inferences. The most stable version of Sequoia is 15.2 beta 2 and we can also use older versions -Of macOS. For example sonoma, just wait for the official version of Sequoia to come out so you -Don't have any problems using Applio on mac.

@MarxAnthony
Copy link
Contributor

fix

@Dalil260175
Copy link

Dalil260175 commented Dec 16, 2024

I just wanted to say THANK YOU to Marxanthonydev.
I followed your instruction on a M4 Mac Pro Max with Sequois macOS 15.1.1 (24B2091) and everything worked fine.
I tried to train a model and it worked.
The only thing I had to do manually was deleting a 3.8 version of python I installed by accident and although I installed the 3.10 afterwards every time I checked the python version in my directory it showed 3.8.

The speed was amazing - I need only 13 minutes for 100 Epochs.

EDIT: unfortunatelly my euphoria was a little bit too soon :-(
The training was finished (I did one with 50, one with 100 and one with 500 epochs) but all the models sounded crap and I mean really crap - I am pretty sure that there was no mistake on my side and the dataset is ok (I did the same on ma PC a week ago and had great results) - the trained voice model when interference an audio file sounded weak, quiet with a lot of noise sound und very hard to understand words.
When I did the interference (only Mac with applio) with my 500 epochs models I created on my PC the result is great - so the issue happens when training the model on my Mac...but why?

@BibouOnAir
Copy link

BibouOnAir commented Dec 16, 2024

I followed all your steps to the letter.
I uninstalled python completely and completely, no trace in the computer. ON.

I switched to MAC OS SEQUOIA 15.2

I installed Python 3.10

Followed the steps one by one, I had to install the dependencies manually because it did not work.

Now Applio starts, but when I try to convert python crash, and here is the error message: Converting audio 'assets/audios/2024-12-16_21-22-22.wav'...
./run-applio.sh: line 9: 15719 Segmentation fault: 11 python app.py --open

On Mac Studio m2 Ultra

@blaisewf
Copy link
Member

thats a faiss issue https://github.com/facebookresearch/faiss

@BibouOnAir
Copy link

BibouOnAir commented Dec 16, 2024

I forced CPU usage

export CUDA_VISIBLE_DEVICES=""
python app.py --open

Delete current environment
rm -rf .venv

Create new virtual environment and reinstall dependencies

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Now Applio worked first time, but now Processing run forever

@BibouOnAir
Copy link

BibouOnAir commented Dec 16, 2024

Here is what I did

(.venv) bprod@MacStudio-de-BProd Applio-main % rm -rf .venv

(.venv) bprod@MacStudio-de-BProd Applio-main % python3.10 -m venv .venv

(.venv) bprod@MacStudio-de-BProd Applio-main % source .venv/bin/activate

(.venv) bprod@MacStudio-de-BProd Applio-main % pip install -r requirements.txt

Ignoring numba: markers 'sys_platform == "linux"' don't match your environment
Collecting pip>=23.3
  Using cached pip-24.3.1-py3-none-any.whl (1.8 MB)
Collecting wheel
  Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Collecting PyYAML
  Using cached PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl (171 kB)
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp310-cp310-macosx_11_0_arm64.whl (13.4 MB)
Collecting requests<2.32.0,>=2.31.0
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting tqdm
  Using cached tqdm-4.67.1-py3-none-any.whl (78 kB)
Collecting wget
  Using cached wget-3.2-py3-none-any.whl
Collecting ffmpeg-python>=0.2.0
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting faiss-cpu==1.7.3
  Using cached faiss_cpu-1.7.3-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Collecting librosa==0.9.2
  Using cached librosa-0.9.2-py3-none-any.whl (214 kB)
Collecting scipy==1.11.1
  Using cached scipy-1.11.1-cp310-cp310-macosx_12_0_arm64.whl (29.6 MB)
Collecting soundfile==0.12.1
  Using cached soundfile-0.12.1-py2.py3-none-macosx_11_0_arm64.whl (1.1 MB)
Collecting noisereduce
  Using cached noisereduce-3.0.3-py3-none-any.whl (22 kB)
Collecting pedalboard
  Using cached pedalboard-0.9.16-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Collecting stftpitchshift
  Using cached stftpitchshift-2.0-py3-none-any.whl (15 kB)
Collecting omegaconf>=2.0.6
  Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
Collecting numba==0.57.0
  Using cached numba-0.57.0-cp310-cp310-macosx_11_0_arm64.whl (2.5 MB)
Collecting torch==2.3.1
  Using cached torch-2.3.1-cp310-none-macosx_11_0_arm64.whl (61.0 MB)
Collecting torchaudio==2.3.1
  Using cached torchaudio-2.3.1-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB)
Collecting torchvision==0.18.1
  Using cached torchvision-0.18.1-cp310-cp310-macosx_11_0_arm64.whl (1.6 MB)
Collecting torchcrepe==0.0.23
  Using cached torchcrepe-0.0.23-py3-none-any.whl (72.3 MB)
Collecting torchfcpe
  Using cached torchfcpe-0.0.4-py3-none-any.whl (40.2 MB)
Collecting einops
  Using cached einops-0.8.0-py3-none-any.whl (43 kB)
Collecting libf0
  Using cached libf0-1.0.2-py3-none-any.whl (26 kB)
Collecting transformers==4.44.2
  Using cached transformers-4.44.2-py3-none-any.whl (9.5 MB)
Collecting matplotlib==3.7.2
  Using cached matplotlib-3.7.2-cp310-cp310-macosx_11_0_arm64.whl (7.3 MB)
Collecting tensorboard
  Using cached tensorboard-2.18.0-py3-none-any.whl (5.5 MB)
Collecting gradio==5.5.0
  Using cached gradio-5.5.0-py3-none-any.whl (56.7 MB)
Collecting certifi>=2023.07.22
  Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
Collecting antlr4-python3-runtime==4.8
  Using cached antlr4-python3-runtime-4.8.tar.gz (112 kB)
Collecting tensorboardX
  Using cached tensorboardX-2.6.2.2-py2.py3-none-any.whl (101 kB)
Collecting edge-tts==6.1.9
  Using cached edge_tts-6.1.9-py3-none-any.whl (27 kB)
Collecting pypresence
  Using cached pypresence-4.3.0-py2.py3-none-any.whl (11 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Collecting audioread>=2.1.9
  Using cached audioread-3.0.1-py3-none-any.whl (23 kB)
Collecting joblib>=0.14
  Using cached joblib-1.4.2-py3-none-any.whl (301 kB)
Collecting pooch>=1.0
  Using cached pooch-1.8.2-py3-none-any.whl (64 kB)
Collecting packaging>=20.0
  Using cached packaging-24.2-py3-none-any.whl (65 kB)
Collecting decorator>=4.0.10
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting resampy>=0.2.2
  Using cached resampy-0.4.3-py3-none-any.whl (3.1 MB)
Collecting scikit-learn>=0.19.1
  Using cached scikit_learn-1.6.0-cp310-cp310-macosx_12_0_arm64.whl (11.1 MB)
Collecting cffi>=1.0
  Using cached cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl (178 kB)
Collecting llvmlite<0.41,>=0.40.0dev0
  Using cached llvmlite-0.40.1-cp310-cp310-macosx_11_0_arm64.whl (28.1 MB)
Collecting typing-extensions>=4.8.0
  Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting jinja2
  Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting sympy
  Using cached sympy-1.13.3-py3-none-any.whl (6.2 MB)
Collecting fsspec
  Using cached fsspec-2024.10.0-py3-none-any.whl (179 kB)
Collecting networkx
  Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB)
Collecting filelock
  Using cached filelock-3.16.1-py3-none-any.whl (16 kB)
Collecting pillow!=8.3.*,>=5.3.0
  Using cached pillow-11.0.0-cp310-cp310-macosx_11_0_arm64.whl (3.0 MB)
Collecting safetensors>=0.4.1
  Using cached safetensors-0.4.5-cp310-cp310-macosx_11_0_arm64.whl (381 kB)
Collecting tokenizers<0.20,>=0.19
  Using cached tokenizers-0.19.1-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Collecting regex!=2019.12.17
  Using cached regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl (284 kB)
Collecting huggingface-hub<1.0,>=0.23.2
  Using cached huggingface_hub-0.27.0-py3-none-any.whl (450 kB)
Collecting pyparsing<3.1,>=2.3.1
  Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting python-dateutil>=2.7
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.55.3-cp310-cp310-macosx_10_9_universal2.whl (2.8 MB)
Collecting cycler>=0.10
  Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.7-cp310-cp310-macosx_11_0_arm64.whl (64 kB)
Collecting contourpy>=1.0.1
  Using cached contourpy-1.3.1-cp310-cp310-macosx_11_0_arm64.whl (253 kB)
Collecting semantic-version~=2.0
  Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting pydantic>=2.0
  Using cached pydantic-2.10.3-py3-none-any.whl (456 kB)
Collecting fastapi<1.0,>=0.115.2
  Using cached fastapi-0.115.6-py3-none-any.whl (94 kB)
Collecting starlette<1.0,>=0.40.0
  Using cached starlette-0.42.0-py3-none-any.whl (73 kB)
Collecting gradio-client==1.4.2
  Using cached gradio_client-1.4.2-py3-none-any.whl (319 kB)
Collecting pandas<3.0,>=1.0
  Using cached pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl (11.3 MB)
Collecting httpx>=0.24.1
  Using cached httpx-0.28.1-py3-none-any.whl (73 kB)
Collecting ffmpy
  Using cached ffmpy-0.4.0-py3-none-any.whl (5.8 kB)
Collecting pydub
  Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting markupsafe~=2.0
  Using cached MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl (18 kB)
Collecting ruff>=0.2.2
  Using cached ruff-0.8.3-py3-none-macosx_11_0_arm64.whl (9.9 MB)
Collecting orjson~=3.0
  Using cached orjson-3.10.12-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (248 kB)
Collecting anyio<5.0,>=3.0
  Using cached anyio-4.7.0-py3-none-any.whl (93 kB)
Collecting aiofiles<24.0,>=22.0
  Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting python-multipart==0.0.12
  Using cached python_multipart-0.0.12-py3-none-any.whl (23 kB)
Collecting safehttpx<1.0,>=0.1.1
  Using cached safehttpx-0.1.6-py3-none-any.whl (8.7 kB)
Collecting uvicorn>=0.14.0
  Using cached uvicorn-0.34.0-py3-none-any.whl (62 kB)
Collecting typer<1.0,>=0.12
  Using cached typer-0.15.1-py3-none-any.whl (44 kB)
Collecting tomlkit==0.12.0
  Using cached tomlkit-0.12.0-py3-none-any.whl (37 kB)
Collecting aiohttp>=3.8.0
  Using cached aiohttp-3.11.10-cp310-cp310-macosx_11_0_arm64.whl (455 kB)
Collecting certifi>=2023.07.22
  Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Collecting websockets<13.0,>=10.0
  Using cached websockets-12.0-cp310-cp310-macosx_11_0_arm64.whl (121 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl (120 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.10-py3-none-any.whl (70 kB)
Collecting urllib3<3,>=1.21.1
  Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Collecting future
  Using cached future-1.0.0-py3-none-any.whl (491 kB)
Collecting click
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting omegaconf>=2.0.6
  Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
  Using cached omegaconf-2.2.2-py3-none-any.whl (79 kB)
  Using cached omegaconf-2.2.1-py3-none-any.whl (78 kB)
  Using cached omegaconf-2.1.2-py3-none-any.whl (74 kB)
Collecting local-attention
  Using cached local_attention-1.9.15-py3-none-any.whl (9.0 kB)
Collecting absl-py>=0.4
  Using cached absl_py-2.1.0-py3-none-any.whl (133 kB)
Collecting markdown>=2.6.8
  Using cached Markdown-3.7-py3-none-any.whl (106 kB)
Collecting six>1.9
  Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0
  Using cached tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB)
Requirement already satisfied: setuptools>=41.0.0 in ./.venv/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 35)) (57.4.0)
Collecting werkzeug>=1.0.1
  Using cached werkzeug-3.1.3-py3-none-any.whl (224 kB)
Collecting protobuf!=4.24.0,>=3.19.6
  Using cached protobuf-5.29.1-cp38-abi3-macosx_10_9_universal2.whl (417 kB)
Collecting grpcio>=1.48.2
  Using cached grpcio-1.68.1-cp310-cp310-macosx_12_0_universal2.whl (11.1 MB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
Collecting aiohappyeyeballs>=2.3.0
  Using cached aiohappyeyeballs-2.4.4-py3-none-any.whl (14 kB)
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.3.2-py2.py3-none-any.whl (7.6 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.5.0-cp310-cp310-macosx_11_0_arm64.whl (52 kB)
Collecting propcache>=0.2.0
  Using cached propcache-0.2.1-cp310-cp310-macosx_11_0_arm64.whl (45 kB)
Collecting attrs>=17.3.0
  Using cached attrs-24.3.0-py3-none-any.whl (63 kB)
Collecting async-timeout<6.0,>=4.0
  Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
Collecting yarl<2.0,>=1.17.0
  Using cached yarl-1.18.3-cp310-cp310-macosx_11_0_arm64.whl (92 kB)
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.1.0-cp310-cp310-macosx_11_0_arm64.whl (29 kB)
Collecting exceptiongroup>=1.0.2
  Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Collecting sniffio>=1.1
  Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Collecting pycparser
  Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Collecting starlette<1.0,>=0.40.0
  Using cached starlette-0.41.3-py3-none-any.whl (73 kB)
Collecting httpcore==1.*
  Using cached httpcore-1.0.7-py3-none-any.whl (78 kB)
Collecting h11<0.15,>=0.13
  Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting tzdata>=2022.7
  Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Collecting pytz>=2020.1
  Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Collecting platformdirs>=2.5.0
  Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB)
Collecting annotated-types>=0.6.0
  Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Collecting pydantic-core==2.27.1
  Using cached pydantic_core-2.27.1-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB)
Collecting threadpoolctl>=3.1.0
  Using cached threadpoolctl-3.5.0-py3-none-any.whl (18 kB)
Collecting shellingham>=1.3.0
  Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting rich>=10.11.0
  Using cached rich-13.9.4-py3-none-any.whl (242 kB)
Collecting markdown-it-py>=2.2.0
  Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Collecting pygments<3.0.0,>=2.13.0
  Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Collecting mdurl~=0.1
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting mpmath<1.4,>=1.1.0
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Using legacy 'setup.py install' for antlr4-python3-runtime, since package 'wheel' is not installed.
Installing collected packages: urllib3, typing-extensions, sniffio, pycparser, numpy, mpmath, mdurl, markupsafe, llvmlite, idna, h11, exceptiongroup, charset-normalizer, certifi, tqdm, threadpoolctl, sympy, six, scipy, requests, PyYAML, pygments, pydantic-core, propcache, platformdirs, packaging, numba, networkx, multidict, markdown-it-py, joblib, jinja2, httpcore, fsspec, frozenlist, filelock, cffi, anyio, annotated-types, yarl, websockets, tzdata, torch, starlette, soundfile, shellingham, scikit-learn, rich, resampy, pytz, python-dateutil, pyparsing, pydantic, pooch, pillow, kiwisolver, huggingface-hub, httpx, fonttools, einops, decorator, cycler, contourpy, click, audioread, attrs, async-timeout, aiosignal, aiohappyeyeballs, werkzeug, uvicorn, typer, torchaudio, tomlkit, tokenizers, tensorboard-data-server, soupsieve, semantic-version, safetensors, safehttpx, ruff, regex, python-multipart, pydub, protobuf, pandas, orjson, matplotlib, markdown, local-attention, librosa, grpcio, gradio-client, future, ffmpy, fastapi, antlr4-python3-runtime, aiohttp, aiofiles, absl-py, wheel, wget, transformers, torchvision, torchfcpe, torchcrepe, tensorboardX, tensorboard, stftpitchshift, pypresence, pip, pedalboard, omegaconf, noisereduce, libf0, gradio, ffmpeg-python, faiss-cpu, edge-tts, beautifulsoup4
    Running setup.py install for antlr4-python3-runtime ... done
  Attempting uninstall: pip
    Found existing installation: pip 21.2.3
    Uninstalling pip-21.2.3:
      Successfully uninstalled pip-21.2.3
Successfully installed PyYAML-6.0.2 absl-py-2.1.0 aiofiles-23.2.1 aiohappyeyeballs-2.4.4 aiohttp-3.11.10 aiosignal-1.3.2 annotated-types-0.7.0 antlr4-python3-runtime-4.8 anyio-4.7.0 async-timeout-5.0.1 attrs-24.3.0 audioread-3.0.1 beautifulsoup4-4.12.3 certifi-2023.7.22 cffi-1.17.1 charset-normalizer-3.4.0 click-8.1.7 contourpy-1.3.1 cycler-0.12.1 decorator-5.1.1 edge-tts-6.1.9 einops-0.8.0 exceptiongroup-1.2.2 faiss-cpu-1.7.3 fastapi-0.115.6 ffmpeg-python-0.2.0 ffmpy-0.4.0 filelock-3.16.1 fonttools-4.55.3 frozenlist-1.5.0 fsspec-2024.10.0 future-1.0.0 gradio-5.5.0 gradio-client-1.4.2 grpcio-1.68.1 h11-0.14.0 httpcore-1.0.7 httpx-0.28.1 huggingface-hub-0.27.0 idna-3.10 jinja2-3.1.4 joblib-1.4.2 kiwisolver-1.4.7 libf0-1.0.2 librosa-0.9.2 llvmlite-0.40.1 local-attention-1.9.15 markdown-3.7 markdown-it-py-3.0.0 markupsafe-2.1.5 matplotlib-3.7.2 mdurl-0.1.2 mpmath-1.3.0 multidict-6.1.0 networkx-3.4.2 noisereduce-3.0.3 numba-0.57.0 numpy-1.23.5 omegaconf-2.1.2 orjson-3.10.12 packaging-24.2 pandas-2.2.3 pedalboard-0.9.16 pillow-11.0.0 pip-24.3.1 platformdirs-4.3.6 pooch-1.8.2 propcache-0.2.1 protobuf-5.29.1 pycparser-2.22 pydantic-2.10.3 pydantic-core-2.27.1 pydub-0.25.1 pygments-2.18.0 pyparsing-3.0.9 pypresence-4.3.0 python-dateutil-2.9.0.post0 python-multipart-0.0.12 pytz-2024.2 regex-2024.11.6 requests-2.31.0 resampy-0.4.3 rich-13.9.4 ruff-0.8.3 safehttpx-0.1.6 safetensors-0.4.5 scikit-learn-1.6.0 scipy-1.11.1 semantic-version-2.10.0 shellingham-1.5.4 six-1.17.0 sniffio-1.3.1 soundfile-0.12.1 soupsieve-2.6 starlette-0.41.3 stftpitchshift-2.0 sympy-1.13.3 tensorboard-2.18.0 tensorboard-data-server-0.7.2 tensorboardX-2.6.2.2 threadpoolctl-3.5.0 tokenizers-0.19.1 tomlkit-0.12.0 torch-2.3.1 torchaudio-2.3.1 torchcrepe-0.0.23 torchfcpe-0.0.4 torchvision-0.18.1 tqdm-4.67.1 transformers-4.44.2 typer-0.15.1 typing-extensions-4.12.2 tzdata-2024.2 urllib3-2.2.3 uvicorn-0.34.0 websockets-12.0 werkzeug-3.1.3 wget-3.2 wheel-0.45.1 yarl-1.18.3
(.venv) bprod@MacStudio-de-BProd Applio-main % pip install faiss-cpu

Requirement already satisfied: faiss-cpu in ./.venv/lib/python3.10/site-packages (1.7.3)
(.venv) bprod@MacStudio-de-BProd Applio-main % python --version

Python 3.10.0
(.venv) bprod@MacStudio-de-BProd Applio-main % echo "faiss-cpu" >> requirements.txt
pip install faiss-cpu

Requirement already satisfied: faiss-cpu in ./.venv/lib/python3.10/site-packages (1.7.3)
(.venv) bprod@MacStudio-de-BProd Applio-main % python app.py --open

An error occurred connecting to Discord: Could not find Discord installed and running on this machine.
* Running on local URL:  http://127.0.0.1:6969

To create a public link, set `share=True` in `launch()`.
Converting audio 'assets/audios/2024-12-16_21-22-22.wav'...
Conversion completed at 'assets/audios/2024-12-16_21-22-22_output.wav' in 19.37 seconds.

Works on startup, loops on second try

@MarxAnthony
Copy link
Contributor

@Dalil260175 Look, to train you need an NVIDIA GPU and the Mac has MPS, you are only training with a CPU. Well, there is not much you can do to do quick training using a CPU (MPS).

@MarxAnthony
Copy link
Contributor

MarxAnthony commented Dec 16, 2024

Thanks for the information, I'll see what I do. @BibouOnAir

@MarxAnthony
Copy link
Contributor

Screenshot 2024-12-17 at 6 24 11 PM

@wdkflag
Copy link

wdkflag commented Dec 21, 2024

I'm sorry, I don't understand how to solve this problem, can you please explain how to solve it in detail, thank you very much @blaisewf

@MarxAnthony
Copy link
Contributor

I already have the solution. Any administrator please close this issue
Screenshot 2024-12-23 at 5 44 38 PM

@MarxAnthony
Copy link
Contributor

fix

@wdkflag
Copy link

wdkflag commented Dec 30, 2024

@MarxAnthony
I'm glad to see that you've solved this problem. Can you tell me how to solve it? I'm M3Pro os14.7.1

@MarxAnthony
Copy link
Contributor

I hope @blaisewf accepts my request that solves that problem.

@blaisewf blaisewf changed the title [Bug]: processing is not finishing [Bug]: macOS Infer Bug Dec 30, 2024
@blaisewf
Copy link
Member

Solution: Add export OMP_NUM_THREADS=1 line to run-applio.sh file

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

7 participants