Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings: tokinizer_info and runtimeStatsTest() #654

Open
hpssjellis opened this issue Jan 22, 2025 · 0 comments
Open

warnings: tokinizer_info and runtimeStatsTest() #654

hpssjellis opened this issue Jan 22, 2025 · 0 comments

Comments

@hpssjellis
Copy link

These two warnings are showing up. Has anyone @CharlieFRuan seen them before? I messed around with ChatCompletion.usage instead of runtimeStatsTest() but could not get it working.

My typically working demo is at https://hpssjellis.github.io/my-examples-of-ai-agents/public/web-llm/web-llm00.html

llm_chat.ts:165 Cannot find tokenizer_info or token_table_postproc_method in mlc-chat-config.json, using default token_postproc_method raw.
This field is only used for json mode.

engine.ts:1274 WARNING: runtimeStatsText() will soon be deprecated. Please use ChatCompletion.usage for non-streaming requests, or ChatCompletionChunk.usage for streaming requests, enabled by stream_options. The only flow that expects to use runtimeStatsText() as of now is forwardTokensAndSample().

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant