commit 119ed70b69df4d47a3d638da7b0ac13bad9ee783 Author: yumoqing Date: Sun May 11 06:06:53 2025 +0000 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..5bdd0d5 --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +# TTS小模型 + +## 依赖 + +### 模型 +* nari-labs/dia-1.6b +下载地址:https://huggingface.com/nari-labs/dia-1.6b + +* dac/weights.pth +下载地址:i +1) https://github.com/descriptinc/descript-audio-codec/releases/download/0.0.1/weights.pth +2) https://github.com/descriptinc/descript-audio-codec/releases/download/0.0.4/weights_24khz.pth +3) https://github.com/descriptinc/descript-audio-codec/releases/download/0.0.5/weights_16khz.pth +4) https://github.com/descriptinc/descript-audio-codec/releases/download/1.0.0/weights_44khz_16kbps.pth + +### 模块 +服务方 +* [dia](https://github.com/nari-labs/dia) +* [appPublic](https://git.kaiyuancloud.cn/yumoqing/apppublic) +* [sqlor](https://git.kaiyuancloud.cn/yumoqing/sqlor) +* [ahserever](https://git.kaiyuancloud.cn/yumoqing/ahserver) +客户方 +* [bricks](https://git.kaiyuancloud.cn/yumoqing/bricks) + +## 安装 +执行以下命令 +``` +git clone https://git.kaiyuancloud.cn/yumoqing/dia16b +cd dia16b +python3 -m venv py3 +source py3/bin/activate +pip install git+https://github.com/nari-labs/dia +pip install git+https://git.kaiyuancloud.cn/yumoqing/apppublic +pip install git+https://git.kaiyuancloud.cn/yumoqing/sqlor +pip install git+https://git.kaiyuancloud.cn/yumoqing/ahserver +``` +## 下载依赖的模型 + +## 配置conf/config.json文件 +主要修改下载模型存放目录 +``` + "dia_model_path" : "/share/models/nari-labs/dia-1___6b", + "dac_model_path": "/share/models/dac/weights.pth", +``` + diff --git a/app/diaapp.py b/app/diaapp.py new file mode 100644 index 0000000..4d2a3d6 --- /dev/null +++ b/app/diaapp.py @@ -0,0 +1,64 @@ +import os +import asyncio +import numpy as np +from traceback import format_exc +from dia.model import Dia +from appPublic.worker import awaitify +from appPublic.hf import hf_socks5proxy +from appPublic.folderUtils import _mkdir +from appPublic.uniqueID import getID +from appPublic.log import debug, exception, error +from appPublic.jsonConfig import getConfig +from ahserver.filestorage import FileStorage +from ahserver.webapp import webapp +from ahserver.serverenv import ServerEnv +import dac +hf_socks5proxy() + +class DiaTTS: + def __init__(self): + + config = getConfig() + # self.model = Dia.from_local(config.dia_model_path, compute_dtype="float16") + self.model = Dia.from_local(config.dia_model_path+'/config.json', + device=config.device or 'cpu', + load_dac=False, + checkpoint_path=config.dia_model_path + '/dia-v0_1.pth', + compute_dtype="float16") + self.load_dac(config.dac_model_path) + self.lock = asyncio.Lock() + self.fs = FileStorage() + + def load_dac(self, dac_model_path): + dac_model = dac.DAC.load(dac_model_path).to(self.model.device) + dac_model.eval() # Ensure DAC is in eval mode + self.model.dac_model = dac_model + + def _generate(self, prompt): + name = getID() + '.wav' + fp = self.fs._name2path(name) + webpath = self.fs.webpath(fp) + debug(f'{prompt=}') + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + output = output.astype(np.float32) + if output is None: + e = Exception(f'"{prompt}" to audio null') + exception(f'{e}\n{format_exc()}') + raise e + debug(f'{output.dtype.name=}') + _mkdir(os.path.dirname(fp)) + self.model.save_audio(fp, output) + return webpath + + async def generate(self, prompt): + async with self.lock: + f = awaitify(self._generate) + return await f(prompt) + +def init(): + g = ServerEnv() + g.etts_engine = DiaTTS() + +if __name__ == '__main__': + webapp(init) + diff --git a/conf/config.json b/conf/config.json new file mode 100644 index 0000000..9d67ef6 --- /dev/null +++ b/conf/config.json @@ -0,0 +1,48 @@ +{ + "dia_model_path" : "/share/models/nari-labs/dia-1___6b", + "dac_model_path": "/share/models/dac/weights.pth", + "device" : "cuda", + "logger":{ + "name":"dia", + "levelname":"info", + "logfile":"$[workdir]$/logs/dia.log" + }, + "filesroot":"$[workdir]$/files", + "website":{ + "paths":[ + ["$[workdir]$/wwwroot",""] + ], + "client_max_size":10000, + "host":"0.0.0.0", + "port":9996, + "coding":"utf-8", + "indexes":[ + "index.html", + "index.tmpl", + "index.ui", + "index.dspy", + "index.md" + ], + "startswiths":[ + { + "leading":"/idfile", + "registerfunction":"idfile" + } + ], + "processors":[ + [".dspy","dspy"], + [".ui","ui"] + ], + "session_max_time":3000, + "session_issue_time":2500, + "session_redis_notuse":{ + "url":"redis://127.0.0.1:6379" + } + }, + "langMapping":{ + "zh-Hans-CN":"zh-cn", + "zh-CN":"zh-cn", + "en-us":"en", + "en-US":"en" + } +} diff --git a/logs/dia.log b/logs/dia.log new file mode 100644 index 0000000..c03602b --- /dev/null +++ b/logs/dia.log @@ -0,0 +1,1177 @@ +2025-05-11 03:22:28.998[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:22:29.001[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(127.0.0.1) None access /v1/generate cost 0.0020852088928222656, (6.29425048828125e-05) +2025-05-11 03:23:44.152[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:23:44.153[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(127.0.0.1) None access /v1/generate cost 0.0012466907501220703, (6.270408630371094e-05) +2025-05-11 03:24:54.824[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:24:54.828[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 0.0028111934661865234, (6.008148193359375e-05), except=invalid syntax (, line 6) +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 223, in path_call + exec(txt,lenv,lenv) + File "", line 6 + 'status': 'ok' + ^ +SyntaxError: invalid syntax + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 223, in path_call + exec(txt,lenv,lenv) + File "", line 6 + 'status': 'ok' + ^ +SyntaxError: invalid syntax + +2025-05-11 03:27:21.179[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:27:21.199[dia][debug][:2]/v1/generate:params_kw={'{"prompt":"This conversation has been locked and limited to collaborators."}': ''} +2025-05-11 03:27:21.200[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 0.019185781478881836, (0.0001952648162841797), except=name 'slef' is not defined +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 42, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 34, in _generate + webpath = slef.fs.webpath(fp) +NameError: name 'slef' is not defined + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 42, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 34, in _generate + webpath = slef.fs.webpath(fp) +NameError: name 'slef' is not defined + +2025-05-11 03:29:04.267[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:29:04.279[dia][debug][:2]/v1/generate:params_kw={'{"prompt":"This conversation has been locked and limited to collaborators."}': ''} +2025-05-11 03:29:05.065[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 0.7975900173187256, (0.00012803077697753906), except='NoneType' object has no attribute 'encode' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 42, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 35, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 42, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 35, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +2025-05-11 03:39:21.333[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:39:21.346[dia][debug][:2]/v1/generate:params_kw={'{"prompt":"This conversation has been locked and limited to collaborators."}': ''} +2025-05-11 03:39:21.347[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:38]prompt=None +2025-05-11 03:39:22.222[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 0.8876721858978271, (9.655952453613281e-05), except='NoneType' object has no attribute 'encode' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 39, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 39, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +2025-05-11 03:50:08.091[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:50:08.145[dia][debug][:2]/v1/generate:params_kw={'{"prompt":"This conversation has been locked and limited to collaborators."}': ''} +2025-05-11 03:50:08.146[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:38]prompt=None +2025-05-11 03:50:08.161[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 0.06915593147277832, (9.703636169433594e-05), except='NoneType' object has no attribute 'encode' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 39, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 39, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +2025-05-11 03:50:44.063[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:50:44.087[dia][debug][:2]/v1/generate:params_kw={'{"prompt":"This conversation has been locked and limited to collaborators."}': ''} +2025-05-11 03:50:44.087[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:38]prompt=None +2025-05-11 03:50:44.100[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 0.0360112190246582, (8.869171142578125e-05), except='NoneType' object has no attribute 'encode' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 39, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 39, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +2025-05-11 03:52:05.606[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:52:05.629[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 03:52:05.629[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:38]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 03:52:30.736[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:52:33.313[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 03:53:20.739[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:53:25.102[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 03:55:08.671[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 183.06352925300598, (9.083747863769531e-05), except=Error opening '/data/ymq/py/dia16b/files/147/186/40/0/hhpeTef_GwwuQIfExvkGy.mp3': System error. +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 44, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/147/186/40/0/hhpeTef_GwwuQIfExvkGy.mp3': System error. + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 44, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/147/186/40/0/hhpeTef_GwwuQIfExvkGy.mp3': System error. + +2025-05-11 03:55:08.673[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:38]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 03:55:14.646[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 163.90365934371948, (9.942054748535156e-05), except=Error opening '/data/ymq/py/dia16b/files/56/92/124/57/92Fx4roXpJicM6DwhaNPq.mp3': System error. +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 44, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/56/92/124/57/92Fx4roXpJicM6DwhaNPq.mp3': System error. + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 44, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/56/92/124/57/92Fx4roXpJicM6DwhaNPq.mp3': System error. + +2025-05-11 03:55:14.647[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:38]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 03:55:28.364[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 127.43086194992065, (0.00010204315185546875), except=Error opening '/data/ymq/py/dia16b/files/146/156/84/12/eYx4xKl8rP8IZOHXLiLlj.mp3': System error. +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 44, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/146/156/84/12/eYx4xKl8rP8IZOHXLiLlj.mp3': System error. + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 50, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 44, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/146/156/84/12/eYx4xKl8rP8IZOHXLiLlj.mp3': System error. + +2025-05-11 03:57:20.790[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:57:20.801[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 03:57:20.801[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:39]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 03:58:01.435[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 40.643639087677, (3.6716461181640625e-05), except=name 'os' is not defined +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 52, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 45, in _generate + _mkdir(os.path.dirname(fp)) +NameError: name 'os' is not defined + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 52, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 45, in _generate + _mkdir(os.path.dirname(fp)) +NameError: name 'os' is not defined + +2025-05-11 03:58:37.038[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 03:58:37.050[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 03:58:37.050[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:40]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 03:59:13.431[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 36.391173124313354, (6.29425048828125e-05), except=Error opening '/data/ymq/py/dia16b/files/144/83/45/79/Oq1WzIvv7F_mexu_vEVnv.mp3': Format not recognised. +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/144/83/45/79/Oq1WzIvv7F_mexu_vEVnv.mp3': Format not recognised. + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/144/83/45/79/Oq1WzIvv7F_mexu_vEVnv.mp3': Format not recognised. + +2025-05-11 04:02:10.419[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:02:10.480[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 04:02:10.483[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:40]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 04:02:17.638[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 7.218486070632935, (0.00013494491577148438), except=Error opening '/data/ymq/py/dia16b/files/104/83/3/9/952sIndobabvb2jpO4Efi.mp3': Format not recognised. +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/104/83/3/9/952sIndobabvb2jpO4Efi.mp3': Format not recognised. + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/104/83/3/9/952sIndobabvb2jpO4Efi.mp3': Format not recognised. + +2025-05-11 04:02:24.652[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:02:24.683[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 04:02:24.683[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:40]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 04:02:32.658[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 8.0050687789917, (0.00010704994201660156), except=Error opening '/data/ymq/py/dia16b/files/51/141/79/18/qS4YBG1GGGig4SHgH2U4f.mp3': Format not recognised. +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/51/141/79/18/qS4YBG1GGGig4SHgH2U4f.mp3': Format not recognised. + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 363, in write + with SoundFile(file, 'w', samplerate, channels, + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 690, in __init__ + self._file = self._open(file, mode_int, closefd) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1265, in _open + raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) +soundfile.LibsndfileError: Error opening '/data/ymq/py/dia16b/files/51/141/79/18/qS4YBG1GGGig4SHgH2U4f.mp3': Format not recognised. + +2025-05-11 04:03:18.294[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:03:18.314[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 04:03:18.314[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:40]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 04:03:59.729[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 41.43278741836548, (0.0001392364501953125), except=dtype must be one of ['float32', 'float64', 'int16', 'int32'] and not 'int64' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1377, in _check_dtype + return _ffi_types[dtype] +KeyError: 'int64' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 366, in write + f.write(data) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1068, in write + written = self._array_io('write', data, len(data)) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1391, in _array_io + ctype = self._check_dtype(array.dtype.name) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1379, in _check_dtype + raise ValueError("dtype must be one of {0!r} and not {1!r}".format( +ValueError: dtype must be one of ['float32', 'float64', 'int16', 'int32'] and not 'int64' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1377, in _check_dtype + return _ffi_types[dtype] +KeyError: 'int64' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 53, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 47, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 366, in write + f.write(data) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1068, in write + written = self._array_io('write', data, len(data)) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1391, in _array_io + ctype = self._check_dtype(array.dtype.name) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1379, in _check_dtype + raise ValueError("dtype must be one of {0!r} and not {1!r}".format( +ValueError: dtype must be one of ['float32', 'float64', 'int16', 'int32'] and not 'int64' + +2025-05-11 04:08:23.668[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:08:23.679[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 04:08:23.680[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:40]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 04:09:03.770[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:46]output.dtype.name='int64' +2025-05-11 04:09:03.774[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(127.0.0.1) None access /v1/generate cost 40.10475397109985, (4.363059997558594e-05), except=dtype must be one of ['float32', 'float64', 'int16', 'int32'] and not 'int64' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1377, in _check_dtype + return _ffi_types[dtype] +KeyError: 'int64' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 54, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 48, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 366, in write + f.write(data) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1068, in write + written = self._array_io('write', data, len(data)) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1391, in _array_io + ctype = self._check_dtype(array.dtype.name) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1379, in _check_dtype + raise ValueError("dtype must be one of {0!r} and not {1!r}".format( +ValueError: dtype must be one of ['float32', 'float64', 'int16', 'int32'] and not 'int64' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1377, in _check_dtype + return _ffi_types[dtype] +KeyError: 'int64' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 54, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 48, in _generate + self.model.save_audio(fp, output) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 575, in save_audio + sf.write(path, audio, DEFAULT_SAMPLE_RATE) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 366, in write + f.write(data) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1068, in write + written = self._array_io('write', data, len(data)) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1391, in _array_io + ctype = self._check_dtype(array.dtype.name) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/soundfile.py", line 1379, in _check_dtype + raise ValueError("dtype must be one of {0!r} and not {1!r}".format( +ValueError: dtype must be one of ['float32', 'float64', 'int16', 'int32'] and not 'int64' + +2025-05-11 04:44:47.630[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:44:47.641[dia][debug][:2]/v1/generate:params_kw={'prompt': 'This conversation has been locked and limited to collaborators.'} +2025-05-11 04:44:47.642[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:41]prompt='This conversation has been locked and limited to collaborators.' +2025-05-11 04:45:27.183[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:48]output.dtype.name='float64' +2025-05-11 04:45:27.188[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(127.0.0.1) None access /v1/generate cost 39.55800700187683, (5.91278076171875e-05) +2025-05-11 04:52:59.836[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 04:52:59.838[dia][error][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:35]rfname='idFileDownload' is not registered, rf.registKW={'idfile': , 'download': } +2025-05-11 04:52:59.838[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.001379251480102539, (0.0003979206085205078) +2025-05-11 04:53:16.511[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 04:53:16.512[dia][error][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:35]rfname='idFileDownload' is not registered, rf.registKW={'idfile': , 'download': } +2025-05-11 04:53:16.512[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0008141994476318359, (0.00012612342834472656) +2025-05-11 04:54:48.373[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:54:48.456[dia][debug][:2]/v1/generate:params_kw={'this is a test': ''} +2025-05-11 04:54:48.456[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:41]prompt=None +2025-05-11 04:54:48.467[dia][exception][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(123.121.164.230) None access /v1/generate cost 0.09368681907653809, (0.0001881122589111328), except='NoneType' object has no attribute 'encode' +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 56, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 42, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +Traceback (most recent call last): + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 228, in datahandle + self.content = await self.path_call(request) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 225, in path_call + return await func(request,**lenv) + File "", line 3, in myfunc + File "/data/ymq/py/dia16b/app/diaapp.py", line 56, in generate + return await f(prompt) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/appPublic/worker.py", line 13, in async_func + return await loop.run_in_executor(None, sync_func, *args, **kw) + File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run + result = self.fn(*self.args, **self.kwargs) + File "/data/ymq/py/dia16b/app/diaapp.py", line 42, in _generate + output = self.model.generate(prompt, use_torch_compile=True, verbose=True) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context + return func(*args, **kwargs) + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 661, in generate + text = [self._encode_text(text)] + File "/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/dia/model.py", line 250, in _encode_text + byte_text = text.encode("utf-8") +AttributeError: 'NoneType' object has no attribute 'encode' + +2025-05-11 04:55:14.480[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 04:55:14.500[dia][debug][:2]/v1/generate:params_kw={'prompt': 'this is a test'} +2025-05-11 04:55:14.500[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:41]prompt='this is a test' +2025-05-11 04:55:27.470[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:48]output.dtype.name='float64' +2025-05-11 04:55:27.472[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /v1/generate cost 12.991711139678955, (0.0001704692840576172) +2025-05-11 04:55:54.007[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 04:55:54.008[dia][error][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:35]rfname='idFileDownload' is not registered, rf.registKW={'idfile': , 'download': } +2025-05-11 04:55:54.008[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(8.213.237.95) None access /idfile cost 0.0004918575286865234, (3.9577484130859375e-05) +2025-05-11 04:55:59.192[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 04:55:59.193[dia][error][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:35]rfname='idFileDownload' is not registered, rf.registKW={'idfile': , 'download': } +2025-05-11 04:55:59.193[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0005652904510498047, (4.0531158447265625e-05) +2025-05-11 05:01:03.899[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:03.900[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:03.900[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:03.900[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:03.900[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0012218952178955078, (4.00543212890625e-05) +2025-05-11 05:01:04.168[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:04.169[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:04.169[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:04.169[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:04.169[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0008530616760253906, (4.792213439941406e-05) +2025-05-11 05:01:04.307[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:04.307[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:04.307[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:04.308[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:04.308[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0008673667907714844, (2.765655517578125e-05) +2025-05-11 05:01:04.556[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:04.557[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:04.558[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:04.558[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:04.558[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0015857219696044922, (4.172325134277344e-05) +2025-05-11 05:01:04.741[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:04.742[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:04.742[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:04.742[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:04.742[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0012392997741699219, (4.029273986816406e-05) +2025-05-11 05:01:58.217[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:58.217[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:58.218[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:58.218[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:58.218[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.001317739486694336, (4.220008850097656e-05) +2025-05-11 05:01:58.623[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:58.624[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:58.624[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:58.624[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:58.625[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0013256072998046875, (4.2438507080078125e-05) +2025-05-11 05:01:59.026[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:59.027[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:59.027[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:59.027[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:59.028[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0013391971588134766, (4.1961669921875e-05) +2025-05-11 05:01:59.436[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:59.436[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:59.437[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:59.437[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:59.437[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0013208389282226562, (4.267692565917969e-05) +2025-05-11 05:01:59.971[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:01:59.971[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:01:59.972[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:01:59.972[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:01:59.972[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0013022422790527344, (4.172325134277344e-05) +2025-05-11 05:07:21.945[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:07:21.947[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/43/115/45/34/OX2aIRxvyZDi1KjU2_AQ0.wav'}, args=[] +2025-05-11 05:07:21.947[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/43/115/45/34/OX2aIRxvyZDi1KjU2_AQ0.wav +2025-05-11 05:07:21.947[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/43/115/45/34/OX2aIRxvyZDi1KjU2_AQ0.wav', filename='OX2aIRxvyZDi1KjU2_AQ0.wav', download=False +2025-05-11 05:07:21.948[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(127.0.0.1) None access /idfile cost 0.0028145313262939453, (0.00011110305786132812) +2025-05-11 05:09:31.483[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:09:31.484[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:09:31.484[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:09:31.484[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:09:31.484[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0014545917510986328, (6.532669067382812e-05) +2025-05-11 05:09:31.931[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:09:31.932[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:09:31.932[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:09:31.932[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:09:31.932[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0012919902801513672, (4.124641418457031e-05) +2025-05-11 05:09:37.731[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:09:37.732[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:09:37.732[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:09:37.732[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:09:37.732[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0013322830200195312, (4.267692565917969e-05) +2025-05-11 05:09:38.114[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:09:38.114[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:09:38.115[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:09:38.115[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:09:38.115[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0012853145599365234, (4.172325134277344e-05) +2025-05-11 05:09:51.915[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:09:51.916[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav'}, args=[] +2025-05-11 05:09:51.916[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav +2025-05-11 05:09:51.916[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/65/111/122/10/4tXYHt5distM8RO3gpa2_.wav', filename='4tXYHt5distM8RO3gpa2_.wav', download=False +2025-05-11 05:09:51.916[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0012805461883544922, (4.291534423828125e-05) +2025-05-11 05:40:04.979[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/v1/generate' +2025-05-11 05:40:04.999[dia][debug][:2]/v1/generate:params_kw={'prompt': 'fueled by a ceaseless supply of Gauloises and vodka tonics.As a young man he had shown great promise as a fly-half on the rugby fieldbut it was a talent that was never to be fulfilled, his highly individualistic stylemaking him ill-suited for team games. “With him on the field,” complained hiscoach, “I’ve got two teams out there, Roger and fourteen others. Screw him.”And so Roger had been duly screwed, in many areas of his life, until Fortune hadsmiled and brought him to Smith Square. At the age of forty he sported anunruly shock of dark hair that was now perceptibly graying and his muscle tonehad long since gone, but O’Neill refused to acknowledge the evidence of hismiddle age, hiding it beneath a carefully selected wardrobe worn with adeliberate casualness that displayed the designers’ labels to their best advantage.His non-conformist approach and the lingering traces of an Irish accent hadn’talways endeared him to the Party’s grandees—“All bullshit and no bottom,” oneof them had loudly observed—but others were simply overwhelmed by hisunusual vigor.His path through the thicket had been made much easier by his secretary.'} +2025-05-11 05:40:04.999[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:41]prompt='fueled by a ceaseless supply of Gauloises and vodka tonics.As a young man he had shown great promise as a fly-half on the rugby fieldbut it was a talent that was never to be fulfilled, his highly individualistic stylemaking him ill-suited for team games. “With him on the field,” complained hiscoach, “I’ve got two teams out there, Roger and fourteen others. Screw him.”And so Roger had been duly screwed, in many areas of his life, until Fortune hadsmiled and brought him to Smith Square. At the age of forty he sported anunruly shock of dark hair that was now perceptibly graying and his muscle tonehad long since gone, but O’Neill refused to acknowledge the evidence of hismiddle age, hiding it beneath a carefully selected wardrobe worn with adeliberate casualness that displayed the designers’ labels to their best advantage.His non-conformist approach and the lingering traces of an Irish accent hadn’talways endeared him to the Party’s grandees—“All bullshit and no bottom,” oneof them had loudly observed—but others were simply overwhelmed by hisunusual vigor.His path through the thicket had been made much easier by his secretary.' +2025-05-11 05:40:54.264[dia][debug][/data/ymq/py/dia16b/app/diaapp.py:48]output.dtype.name='float32' +2025-05-11 05:40:54.267[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /v1/generate cost 49.2877471446991, (4.7206878662109375e-05) +2025-05-11 05:41:14.872[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:41:14.873[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav'}, args=[] +2025-05-11 05:41:14.873[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav +2025-05-11 05:41:14.873[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav', filename='WNDBlk-R6pyf9hhTt4bOc.wav', download=False +2025-05-11 05:41:14.873[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0012085437774658203, (9.441375732421875e-05) +2025-05-11 05:41:15.069[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:41:15.070[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav'}, args=[] +2025-05-11 05:41:15.070[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav +2025-05-11 05:41:15.070[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav', filename='WNDBlk-R6pyf9hhTt4bOc.wav', download=False +2025-05-11 05:41:15.070[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.001617431640625, (4.482269287109375e-05) +2025-05-11 05:41:15.191[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:41:15.192[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav'}, args=[] +2025-05-11 05:41:15.192[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav +2025-05-11 05:41:15.192[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav', filename='WNDBlk-R6pyf9hhTt4bOc.wav', download=False +2025-05-11 05:41:15.192[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0013206005096435547, (4.1484832763671875e-05) +2025-05-11 05:41:15.652[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:41:15.653[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav'}, args=[] +2025-05-11 05:41:15.653[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav +2025-05-11 05:41:15.653[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav', filename='WNDBlk-R6pyf9hhTt4bOc.wav', download=False +2025-05-11 05:41:15.653[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.00131988525390625, (4.076957702636719e-05) +2025-05-11 05:41:15.806[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/idfile' +2025-05-11 05:41:15.807[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/functionProcessor.py:40]params_kw={'path': '/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav'}, args=[] +2025-05-11 05:41:15.807[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav +2025-05-11 05:41:15.808[dia][debug][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/dia16b/files/170/44/45/80/WNDBlk-R6pyf9hhTt4bOc.wav', filename='WNDBlk-R6pyf9hhTt4bOc.wav', download=False +2025-05-11 05:41:15.808[dia][info][/data/ymq/py/dia16b/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.001260995864868164, (4.124641418457031e-05) diff --git a/wwwroot/v1/generate/index.dspy b/wwwroot/v1/generate/index.dspy new file mode 100644 index 0000000..36ce4b4 --- /dev/null +++ b/wwwroot/v1/generate/index.dspy @@ -0,0 +1,6 @@ +debug(f'{request.path}:{params_kw=}') +f = await etts_engine.generate(params_kw.prompt) +return { + 'audio_url':entire_url('/idfile') + f'?path={f}', + 'status': 'ok' +}