-
Notifications
You must be signed in to change notification settings - Fork 209
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
Linux Mint LTS NVIDIA installation bug reports #433
Comments
Do you have the installation log? I'm seeing that the packages are
installed in two different places. That could be one reason for this error.
home/desktoppc/.local/lib/python3.10/site-packages/scipy/io/wavfile.py
And
home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/installer_files/env/lib/python3.10/site-packages/gradio/queueing.py
…On Sat, Dec 21, 2024, 8:10 PM bastard ***@***.***> wrote:
Traceback (most recent call last):
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/installer_files/env/lib/python3.10/site-packages/gradio/queueing.py", line 624, in process_events
response = await route_utils.call_process_api(
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/installer_files/env/lib/python3.10/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/installer_files/env/lib/python3.10/site-packages/gradio/blocks.py", line 2015, in process_api
result = await self.call_function(
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/installer_files/env/lib/python3.10/site-packages/gradio/blocks.py", line 1562, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "/home/desktoppc/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/desktoppc/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/desktoppc/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/installer_files/env/lib/python3.10/site-packages/gradio/utils.py", line 865, in wrapper
response = f(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/tts_webui/decorators/gradio_dict_decorator.py", line 133, in wrapper
result_dict = fn(**_get_mapped_args(inputs, list_args), outputs=outputs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/extensions/builtin/extension_decorator_save_ffmpeg/main.py", line 75, in wrapper
result_dict = fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/extensions/builtin/extension_decorator_save_ffmpeg/main.py", line 65, in wrapper
result_dict = fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/extensions/builtin/extension_decorator_save_waveform/main.py", line 29, in wrapper
result_dict = fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/extensions/builtin/extension_decorator_average_execution_time/main.py", line 27, in wrapper
result = fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/tts_webui/rvc_tab/rvc_tab.py", line 58, in wrapper
return fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/tts_webui/decorators/decorator_apply_torch_seed.py", line 7, in wrapper
return fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/tts_webui/decorators/decorator_save_metadata.py", line 8, in wrapper
result_dict = fn(*args, **kwargs)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/tts_webui/decorators/decorator_save_wav.py", line 16, in wrapper
_save_wav(result_dict)
File "/home/desktoppc/Desktop/audiocomfyui/tts-generation-webui-main/tts_webui/decorators/decorator_save_wav.py", line 10, in _save_wav
write_wav(path, SAMPLE_RATE, audio_array)
File "/home/desktoppc/.local/lib/python3.10/site-packages/scipy/io/wavfile.py", line 798, in write
dkind = data.dtype.kind
AttributeError: 'NoneType' object has no attribute 'dtype'
AttributeError: 'NoneType' object has no attribute 'dtype', ensure that
the variable audio_array is not None before passing it to the write_wav
function.
—
Reply to this email directly, view it on GitHub
<#433>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTRXI6XLY6CK35YTRUMO6T2GWVIDAVCNFSM6AAAAABUA2R47KVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TIMRZHA3DOMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
no install log, ive wiped clean and am trying again for the fourth time! surprised that the app is accessing packages outside of the env im on Linux Mint LTS with a NVIDIA GPU. A lot of the applications aren't working, is there a debug mode where I can send you the log output? heres my new install, hope that log is the log youre looking for |
getting this error with some of the programs
ive tried doing this
and then this
in my python env but that doesnt work the only thing that works is the legacy version of RVC, nothing else runs. i installed with the installer |
|
is there anything else you need? |
Thanks, I dug into the logs to see that it is supposedly installing the correct versions:
Python 3.10, Cuda 11.8. Error: Detected that PyTorch and TorchAudio were compiled with different CUDA versions. PyTorch has CUDA version 12.1 whereas TorchAudio has CUDA version 11.8. Please install the TorchAudio version that matches your PyTorch version. This implies that the pytorch used by the app is a different one from the conda installation; however, I cannot see any evidence of it in the install log, it all appears to be installed under tts-generation-webui. By the way, this is wrong:
|
I'll try this all later! |
By removing the cu121 and doing
|
Without +cu it will most probably install the CPU only version. I forgot torchvision, if you add it to the install torch command, it will select the correct version automatically. |
can you give me the command so i can copy and paste it, im a bit confused at this point |
? |
|
|
when do i do this after a fresh git clone? before or after |
You could probably do it on the old installation and fix it. But remember that you need to do it in the virtual environment of the project, so if you use start_tts then first install, then run this with installer_scripts/conda_env_bash.sh to have the environment active and install PyTorch in the right place. |
i see this file but i have never once used it. what i did was simple.
what is the file above for
|
|
So, if you use start_tts it has its own virtual environment. |
wait so if i just run start_tts, thats a virtual environment itself? i made my own venv and then when into start_tts. so the venv i made has the correct pytorch versions, but the start_tts venv does not.
how do i run this command after running start_tts (the terminal does not let me input anything while it it running) |
and what do i do with it |
you should specify that start_tts is its own venv in the readme and that you do not need and shouldnt use another venv before accessing it or it will break it
|
AttributeError: 'NoneType' object has no attribute 'dtype', ensure that the variable audio_array is not None before passing it to the write_wav function.
The text was updated successfully, but these errors were encountered: