Files
product/.run/start-test.log
T
2026-03-30 21:37:46 +08:00

342 lines
19 KiB
Plaintext

nohup: ignoring input
repo: /home/xsl/code/product
python: /home/xsl/code/product/.venv/bin/python
mode: auto
bind: 0.0.0.0:8018
listen: https://0.0.0.0:8018
browser test page: https://<server-ip>:8018/
INFO: Started server process [20276]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on https://0.0.0.0:8018 (Press CTRL+C to quit)
INFO: 127.0.0.1:35988 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: 127.0.0.1:36002 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36022 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: 127.0.0.1:36036 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36050 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36072 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36078 - "GET /health HTTP/1.1" 200 OK
INFO: 127.0.0.1:36104 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36118 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36148 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36168 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36194 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36206 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:36224 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54498 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54524 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54542 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54562 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54584 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54596 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54608 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54628 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54642 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54650 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54664 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54684 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54706 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54718 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54748 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54756 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:54788 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59782 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59802 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59812 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59832 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59860 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59874 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59888 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59902 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59906 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59910 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59922 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59928 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59944 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59962 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59976 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:60002 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58794 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58800 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58830 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58854 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58884 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58906 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58930 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58950 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58974 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:58986 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59002 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59026 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59046 - "GET / HTTP/1.1" 200 OK
INFO: connection closed
INFO: connection closed
INFO: 127.0.0.1:59046 - "GET /web/app.js?v=20260329m HTTP/1.1" 200 OK
INFO: 127.0.0.1:59046 - "GET /web/app.js?v=20260329q HTTP/1.1" 200 OK
INFO: 127.0.0.1:59046 - "GET /web/models/VRM1_Constraint_Twist_Sample.vrm HTTP/1.1" 200 OK
INFO: 127.0.0.1:59114 - "GET /health HTTP/1.1" 200 OK
INFO: 127.0.0.1:59124 - "GET /events HTTP/1.1" 200 OK
INFO: 127.0.0.1:59114 - "GET /events HTTP/1.1" 200 OK
INFO: 127.0.0.1:59150 - "GET /health HTTP/1.1" 200 OK
INFO: 127.0.0.1:59174 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: 127.0.0.1:59184 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: 127.0.0.1:59186 - "WebSocket /ws/subtitles" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:59190 - "WebSocket /ws/animation" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:44402 - "WebSocket /ws/audio" [accepted]
INFO: connection open
INFO: connection closed
INFO: 127.0.0.1:44446 - "WebSocket /ws/audio" [accepted]
INFO: connection open
INFO: 127.0.0.1:44450 - "WebSocket /ws/audio" [accepted]
INFO: connection open
INFO: 127.0.0.1:44472 - "WebSocket /ws/audio" [accepted]
INFO: connection closed
INFO: connection closed
INFO: connection open
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 329, in asgi_send
await self.send(data) # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 618, in send
await self.ensure_open()
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 916, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1000 (OK) stale-open; then sent 1000 (OK) stale-open
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/websockets.py", line 86, in send
await self._send(message)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 39, in sender
await send(message)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 342, in asgi_send
raise ClientDisconnected from exc
uvicorn.protocols.utils.ClientDisconnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 244, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send) # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1159, in __call__
await super().__call__(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/applications.py", line 90, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 151, in __call__
await self.app(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 80, in __call__
await self.app(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/routing.py", line 660, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/routing.py", line 680, in app
await route.handle(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/routing.py", line 350, in handle
await self.app(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 160, in app
await wrap_app_handling_exceptions(app, session)(scope, receive, send)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 157, in app
await func(session)
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 764, in app
await dependant.call(**solved_result.values)
File "/home/xsl/code/product/main.py", line 446, in ws_audio
await websocket.send_text(
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/websockets.py", line 166, in send_text
await self.send({"type": "websocket.send", "text": data})
File "/home/xsl/code/product/.venv/lib/python3.12/site-packages/starlette/websockets.py", line 89, in send
raise WebSocketDisconnect(code=1006)
starlette.websockets.WebSocketDisconnect
INFO:httpx:HTTP Request: POST https://api.deepseek.com/v1/chat/completions "HTTP/1.1 200 OK"
/home/xsl/code/product/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py:180: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 12090). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at /pytorch/c10/cuda/CUDAFunctions.cpp:119.)
return torch._C._cuda_getDeviceCount() > 0
INFO:httpx:HTTP Request: HEAD https://huggingface.co/hexgrad/Kokoro-82M/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
INFO:httpx:HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/hexgrad/Kokoro-82M/f3ff3571791e39611d31c381e3a41a3af07b4987/config.json "HTTP/1.1 200 OK"
/home/xsl/code/product/.venv/lib/python3.12/site-packages/torch/nn/modules/rnn.py:1013: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
super().__init__("LSTM", *args, **kwargs)
/home/xsl/code/product/.venv/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:144: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
WeightNorm.apply(module, name, dim)
INFO:httpx:HTTP Request: HEAD https://huggingface.co/hexgrad/Kokoro-82M/resolve/main/kokoro-v1_0.pth "HTTP/1.1 302 Found"
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
WARNING:huggingface_hub.utils._http:Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
/home/xsl/code/product/.venv/lib/python3.12/site-packages/jieba/_compat.py:18: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
INFO:httpx:HTTP Request: HEAD https://huggingface.co/hexgrad/Kokoro-82M/resolve/main/voices/zf_xiaoxiao.pt "HTTP/1.1 302 Found"
Building prefix dict from the default dictionary ...
DEBUG:jieba:Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
DEBUG:jieba:Loading model from cache /tmp/jieba.cache
Loading model cost 0.356 seconds.
DEBUG:jieba:Loading model cost 0.356 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
INFO: 127.0.0.1:44470 - "POST /chat/text HTTP/1.1" 200 OK
INFO: 127.0.0.1:44470 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO:root:download models from model hub: hf
INFO:httpx:HTTP Request: GET https://huggingface.co/api/models/FunAudioLLM/SenseVoiceSmall/revision/main "HTTP/1.1 200 OK"
funasr version: 1.3.1.
Check update of funasr, and it would cost few times. You may disable it by set `disable_update=True` in AutoModel
You are using the latest version of funasr-1.3.1
Fetching 29 files: 0%| | 0/29 [00:00<?, ?it/s]
Fetching 29 files: 100%|██████████| 29/29 [00:00<00:00, 50935.85it/s]
WARNING:root:trust_remote_code: False
INFO:root:Loading pretrained params from /home/xsl/.cache/huggingface/hub/models--FunAudioLLM--SenseVoiceSmall/snapshots/3eb3b4eeffc2f2dde6051b853983753db33e35c3/model.pt
INFO:root:ckpt: /home/xsl/.cache/huggingface/hub/models--FunAudioLLM--SenseVoiceSmall/snapshots/3eb3b4eeffc2f2dde6051b853983753db33e35c3/model.pt
INFO:root:scope_map: ['module.', 'None']
INFO:root:excludes: None
INFO:root:Loading ckpt: /home/xsl/.cache/huggingface/hub/models--FunAudioLLM--SenseVoiceSmall/snapshots/3eb3b4eeffc2f2dde6051b853983753db33e35c3/model.pt, status: <All keys matched successfully>
INFO:root:download models from model hub: hf
INFO:httpx:HTTP Request: GET https://huggingface.co/api/models/FunAudioLLM/SenseVoiceSmall/revision/main "HTTP/1.1 200 OK"
funasr version: 1.3.1.
Check update of funasr, and it would cost few times. You may disable it by set `disable_update=True` in AutoModel
You are using the latest version of funasr-1.3.1
Fetching 29 files: 0%| | 0/29 [00:00<?, ?it/s]
Fetching 29 files: 100%|██████████| 29/29 [00:00<00:00, 37987.14it/s]
WARNING:root:trust_remote_code: False
INFO:root:Loading pretrained params from /home/xsl/.cache/huggingface/hub/models--FunAudioLLM--SenseVoiceSmall/snapshots/3eb3b4eeffc2f2dde6051b853983753db33e35c3/model.pt
INFO:root:ckpt: /home/xsl/.cache/huggingface/hub/models--FunAudioLLM--SenseVoiceSmall/snapshots/3eb3b4eeffc2f2dde6051b853983753db33e35c3/model.pt
INFO:root:scope_map: ['module.', 'None']
INFO:root:excludes: None
INFO:root:Loading ckpt: /home/xsl/.cache/huggingface/hub/models--FunAudioLLM--SenseVoiceSmall/snapshots/3eb3b4eeffc2f2dde6051b853983753db33e35c3/model.pt, status: <All keys matched successfully>
WARNING:services.asr:ASR running in degraded mode on cpu
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 2.32it/s]
{'load_data': '0.000', 'extract_feat': '0.009', 'forward': '0.431', 'batch_size': '1', 'rtf': '0.028'}, : 100%|██████████| 1/1 [00:00<00:00, 2.32it/s]
rtf_avg: 0.028: 100%|██████████| 1/1 [00:00<00:00, 2.32it/s]
rtf_avg: 0.028: 100%|██████████| 1/1 [00:00<00:00, 2.32it/s]
INFO:httpx:HTTP Request: POST https://api.deepseek.com/v1/chat/completions "HTTP/1.1 200 OK"
INFO: connection closed
INFO: connection closed
INFO: connection closed