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

RuntimeError: cuFFT error: CUFFT_NOT_SUPPORTED #8

Open
Bocchi-Chan2023 opened this issue Apr 1, 2024 · 2 comments
Open

RuntimeError: cuFFT error: CUFFT_NOT_SUPPORTED #8

Bocchi-Chan2023 opened this issue Apr 1, 2024 · 2 comments
Labels
implementation Unimplemented feature(s)

Comments

@Bocchi-Chan2023
Copy link

File "C:\Users[username]\Downloads\RVC1006Nvidia\infer\modules\vc\modules.py", line 189, in vc_single
audio_opt = self.pipeline.pipeline(
File "C:\Users[username]\Downloads\RVC1006Nvidia\infer\modules\vc\pipeline.py", line 358, in pipeline
pitch, pitchf = self.get_f0(
File "C:\Users[username]\Downloads\RVC1006Nvidia\infer\modules\vc\pipeline.py", line 158, in get_f0
f0 = self.model_rmvpe.infer_from_audio(x, thred=0.03)
File "C:\Users[username]\Downloads\RVC1006Nvidia\infer\lib\rmvpe.py", line 597, in infer_from_audio
mel = self.mel_extractor(
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users[username]\Downloads\RVC1006Nvidia\infer\lib\rmvpe.py", line 472, in forward
fft = torch.stft(
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\torch\functional.py", line 660, in stft
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
RuntimeError: cuFFT error: CUFFT_NOT_SUPPORTED

Traceback (most recent call last):
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess
processing_utils.audio_to_file(sample_rate, data, file.name)
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file
data = convert_to_16_bit_wav(data)
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav
if data.dtype in [np.float64, np.float32, np.float16]:
AttributeError: 'NoneType' object has no attribute 'dtype'

@lshqqytiger
Copy link
Owner

We have cufft.dll in release, and you can replace it with torch's. However, I think it will complain about cufftw.

@Bocchi-Chan2023
Copy link
Author

Bocchi-Chan2023 commented Apr 1, 2024

We have cufft.dll in release, and you can replace it with torch's. However, I think it will complain about cufftw.

I got this error after replacing it. Perhaps it is a problem with cufftw. (I got that error by trying to get the program to run without cufftw) Sorry for the lack of information.
This is the error that appears when only replacing cufft and nvrtc, cusparse and cublas;

C:\Users[username]\Downloads\RVC1006Nvidia>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
Traceback (most recent call last):
File "C:\Users[username]\Downloads\RVC1006Nvidia\infer-web.py", line 7, in
from infer.modules.vc.modules import VC
File "C:\Users[username]\Downloads\RVC1006Nvidia\infer\modules\vc\modules.py", line 8, in
import torch
File "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\torch_init_.py", line 130, in
raise err
OSError: [WinError 127] The specified procedure could not be found. Error loading "C:\Users[username]\Downloads\RVC1006Nvidia\runtime\lib\site-packages\torch\lib\cufftw64_10.dll" or one of its dependencies.

@lshqqytiger lshqqytiger added the implementation Unimplemented feature(s) label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
implementation Unimplemented feature(s)
Projects
None yet
Development

No branches or pull requests

2 participants