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

Not generating even after 15 minutes (Linux Mint + RTX 2060S) - Something wrong with my installation? #91

Open
HazySkies opened this issue Nov 27, 2023 · 5 comments

Comments

@HazySkies
Copy link

Bark Gen Times
Bark Terminal

Linux Mint 21
python: 3.10.12
torch: 2.1.1+cu118
gradio: 3.28.3

Having issues getting anything to generate, it appears to be hanging and the terminal provides no information or indication of progress.
All settings are default and tested with a short sentence, it still not generating any results even after 15 minutes is ridiculous.

Are there any ways to diagnose generations?
What would be the likely issues causing hanging without errors?
Are there additional dependencies that could solve and/or speed up generation?

Any information would be much appreciated.

@huangyifu
Copy link

Some newer libraries are incompatible?

@HazySkies
Copy link
Author

Oh, are there perhaps specific versions I should be using?

@machinetown44
Copy link

Having the same issue, not being able to generate anything after updating. When trying to use a saved voice, I get this error:

2023-12-06 00:53:47 | ERROR | asyncio | Task exception was never retrieved
future: <Task finished name='2m578lwgbb2_3' coro=<Queue.process_events() done, defined at D:\G\bark-gui\.env\lib\site-packages\gradio\queueing.py:343> exception=1 validation error for PredictBody
event_id
  Field required [type=missing, input_value={'fn_index': 3, 'data': [...on_hash': '2m578lwgbb2'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.5/v/missing>
Traceback (most recent call last):
  File "D:\G\bark-gui\.env\lib\site-packages\gradio\queueing.py", line 347, in process_events
    client_awake = await self.gather_event_data(event)
  File "D:\G\bark-gui\.env\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
    data, client_awake = await self.get_message(event, timeout=receive_timeout)
  File "D:\G\bark-gui\.env\lib\site-packages\gradio\queueing.py", line 456, in get_message
    return PredictBody(**data), True
  File "D:\G\bark-gui\.env\lib\site-packages\pydantic\main.py", line 164, in __init__
    __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody
event_id
  Field required [type=missing, input_value={'fn_index': 3, 'data': [...on_hash': '2m578lwgbb2'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.5/v/missing

@neckbear2
Copy link

neckbear2 commented Jan 7, 2024

pip uninstall gradio
pip install gradio==3.50.2

The requirements.txt should be pinned to gradio>=3.36.0,<4.0.0

4.0 and above gives TypeError: Audio.init() got an unexpected keyword argument 'source'
3.35.0, 3.33.1 gives ERROR: Exception in ASGI application
3.28.0, which someone suggested, works but fails quietly and nothing happens when you click generate.

@vedasaxena
Copy link

Bark Gen Times Bark Terminal

Linux Mint 21 python: 3.10.12 torch: 2.1.1+cu118 gradio: 3.28.3

Having issues getting anything to generate, it appears to be hanging and the terminal provides no information or indication of progress. All settings are default and tested with a short sentence, it still not generating any results even after 15 minutes is ridiculous.

Are there any ways to diagnose generations? What would be the likely issues causing hanging without errors? Are there additional dependencies that could solve and/or speed up generation?

Any information would be much appreciated.

Hello there! Were you able to find a work around to this issue? I am running into the exact problem. Have tried a bunch of things, but it is just unresponsive! Any help would be appreciated. Thanks in advance!

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

5 participants