You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: 127.0.0.1:37382 - "POST /v1/chat HTTP/1.1" 200 OK
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
return await self.app(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/kui/asgi/applications.py", line 163, in call
await self.app(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/kui/asgi/applications.py", line 118, in app
return await getattr(self, scope_type)(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/kui/asgi/applications.py", line 142, in http
return await response(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/baize/asgi/responses.py", line 167, in call
chunk = await generator.asend(None)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/baize/asgi/responses.py", line 191, in render_stream
async for chunk in self.iterable:
File "/mnt/d/fish-speech/tools/server/agent/init.py", line 37, in streaming_generator
for i in generator:
File "/mnt/d/fish-speech/tools/server/agent/init.py", line 16, in execute_request
prompt, im_end_id = prepare_messages(request, tokenizer, config)
File "/mnt/d/fish-speech/tools/server/agent/pre_generation_utils.py", line 44, in prepare_messages
im_end_id = tokenizer.get_token_id(IM_END_TOKEN)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1111, in getattr
raise AttributeError(f"{self.class.name} has no attribute {key}")
AttributeError: Qwen2TokenizerFast has no attribute get_token_id
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
INFO: 127.0.0.1:37382 - "POST /v1/chat HTTP/1.1" 200 OK
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
return await self.app(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/kui/asgi/applications.py", line 163, in call
await self.app(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/kui/asgi/applications.py", line 118, in app
return await getattr(self, scope_type)(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/kui/asgi/applications.py", line 142, in http
return await response(scope, receive, send)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/baize/asgi/responses.py", line 167, in call
chunk = await generator.asend(None)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/baize/asgi/responses.py", line 191, in render_stream
async for chunk in self.iterable:
File "/mnt/d/fish-speech/tools/server/agent/init.py", line 37, in streaming_generator
for i in generator:
File "/mnt/d/fish-speech/tools/server/agent/init.py", line 16, in execute_request
prompt, im_end_id = prepare_messages(request, tokenizer, config)
File "/mnt/d/fish-speech/tools/server/agent/pre_generation_utils.py", line 44, in prepare_messages
im_end_id = tokenizer.get_token_id(IM_END_TOKEN)
File "/home/rc6500/miniconda3/envs/fish-speech/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1111, in getattr
raise AttributeError(f"{self.class.name} has no attribute {key}")
AttributeError: Qwen2TokenizerFast has no attribute get_token_id
Beta Was this translation helpful? Give feedback.
All reactions