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

DEBUG or logging? #34

Open
silvacarl2 opened this issue Aug 29, 2024 · 1 comment
Open

DEBUG or logging? #34

silvacarl2 opened this issue Aug 29, 2024 · 1 comment

Comments

@silvacarl2
Copy link

are there any DEBUG or logging settings?

the Docker builds with no problem and starts up.

then we start the client.

it is not clear it is doing anything but when we hit control-C on the docker, we get this:

docker run --gpus all -p 8765:8765 -v huggingface_models:/root/.cache/huggingface -e PYANNOTE_AUTH_TOKEN='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' voicestreamai
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.4.0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint ../../../root/.cache/torch/pyannote/models--pyannote--segmentation/snapshots/660b9e20307a2b0cdb400d0f80aadc04a701fc54/pytorch_model.bin

^CTraceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/src/app/src/main.py", line 105, in
main()
File "/usr/src/app/src/main.py", line 101, in main
asyncio.get_event_loop().run_forever()
File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
self._run_once()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1871, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.10/selectors.py", line 469, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Model was trained with pyannote.audio 0.0.1, yours is 3.2.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.3.1+cu121. Bad things might happen unless you revert torch to 1.x.
WebSocket server ready to accept secure connections on 0.0.0.0:8765
Client 5acf015f-490d-4266-a45c-70d6dc59acf8 connected
Connection with 5acf015f-490d-4266-a45c-70d6dc59acf8 closed: received 1001 (going away); then sent 1001 (going away)

any ideas?

@github-staff github-staff deleted a comment from syedmaaz9905 Oct 24, 2024
@YuBeomGon
Copy link

try below

sudo docker run --gpus all -p 8765:8765 -v /home/jake/.caceh/huggingface:/root/.cache/huggingface -e PYANNOTE_AUTH_TOKEN='hf api key' voicestreamai --host 0.0.0.0 --port 8765 --log-level debug

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