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

M1 Mac torch #2432

Open
Tonyhaozhe opened this issue Jan 5, 2025 · 2 comments
Open

M1 Mac torch #2432

Tonyhaozhe opened this issue Jan 5, 2025 · 2 comments

Comments

@Tonyhaozhe
Copy link

Activate venv...
working dir is /Users/tony/Desktop/RVC20240604AMD_Intel
downloading requirement aria2 check.
aria2c command found
dir check start.
dir ./assets/pretrained checked.
dir ./assets/pretrained_v2 checked.
dir ./assets/uvr5_weights checked.
dir ./assets/uvr5_weights/onnx_dereverb_By_FoxJoy checked.
dir check finished.
required files check start.
checking D32k.pth
D32k.pth in ./assets/pretrained checked.
checking D40k.pth
D40k.pth in ./assets/pretrained checked.
checking D40k.pth
D40k.pth in ./assets/pretrained_v2 checked.
checking D48k.pth
D48k.pth in ./assets/pretrained checked.
checking G32k.pth
G32k.pth in ./assets/pretrained checked.
checking G40k.pth
G40k.pth in ./assets/pretrained checked.
checking G40k.pth
G40k.pth in ./assets/pretrained_v2 checked.
checking G48k.pth
G48k.pth in ./assets/pretrained checked.
checking f0D32k.pth
f0D32k.pth in ./assets/pretrained checked.
checking f0D40k.pth
f0D40k.pth in ./assets/pretrained checked.
checking f0D40k.pth
f0D40k.pth in ./assets/pretrained_v2 checked.
checking f0D48k.pth
f0D48k.pth in ./assets/pretrained checked.
checking f0G32k.pth
f0G32k.pth in ./assets/pretrained checked.
checking f0G40k.pth
f0G40k.pth in ./assets/pretrained checked.
checking f0G40k.pth
f0G40k.pth in ./assets/pretrained_v2 checked.
checking f0G48k.pth
f0G48k.pth in ./assets/pretrained checked.
checking HP2_all_vocals.pth
HP2_all_vocals.pth in ./assets/uvr5_weights checked.
checking HP3_all_vocals.pth
HP3_all_vocals.pth in ./assets/uvr5_weights checked.
checking HP5_only_main_vocal.pth
HP5_only_main_vocal.pth in ./assets/uvr5_weights checked.
checking VR-DeEchoAggressive.pth
VR-DeEchoAggressive.pth in ./assets/uvr5_weights checked.
checking VR-DeEchoDeReverb.pth
VR-DeEchoDeReverb.pth in ./assets/uvr5_weights checked.
checking VR-DeEchoNormal.pth
VR-DeEchoNormal.pth in ./assets/uvr5_weights checked.
checking vocals.onnx
vocals.onnx in ./assets/uvr5_weights/onnx_dereverb_By_FoxJoy checked.
checking rmvpe.pt
rmvpe.pt in ./assets/rmvpe checked.
checking hubert_base.pt
hubert_base.pt in ./assets/hubert/pretrained checked.
required files check finished.
Traceback (most recent call last):
File "/Users/tony/Desktop/RVC20240604AMD_Intel/infer-web.py", line 8, in
from infer.modules.vc.modules import VC
File "/Users/tony/Desktop/RVC20240604AMD_Intel/infer/modules/vc/modules.py", line 8, in
import torch
ModuleNotFoundError: No module named 'torch'

@Tonyhaozhe
Copy link
Author

这是我的终端命令,我试过重新安装torch,但没有用,我还经常遇到subprocess-exited-with-error报错。

@Rin-0815
Copy link

Rin-0815 commented Jan 7, 2025

Same issue here with Mac M2, python 3.13, pytorch 2.7.0

import torch

ModuleNotFoundError: No module named 'torch'

tried torch update but did not work either.

% python3 -m pip install torch
Requirement already satisfied: torch in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (2.7.0.dev20250106)
Requirement already satisfied: filelock in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (3.16.1)
Requirement already satisfied: typing-extensions>=4.10.0 in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (4.12.2)
Requirement already satisfied: networkx in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (3.4.2)
Requirement already satisfied: jinja2 in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (3.1.4)
Requirement already satisfied: fsspec in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (2024.10.0)
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (75.7.0)
Requirement already satisfied: sympy==1.13.1 in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from torch) (1.13.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from sympy==1.13.1->torch) (1.3.0)
Requirement already satisfied: MarkupSafe>=2.0 in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (from jinja2->torch) (2.1.5)

Sorry for the basic question but if anyone could kindly adv that would be great!!

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

No branches or pull requests

2 participants