Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

starpit
Copy link
Member

@starpit starpit commented Mar 15, 2025

This adds to the trace completion_tokens and prompt_tokens consumed during model call. Under pdl__model_stats

Not exposed in UI, yet. PR updated to show Tokens/sec in the UI.

Fixes #746

pdl-ui-tokens-per-second

@starpit starpit requested a review from mandel March 15, 2025 23:37
@starpit starpit force-pushed the stats branch 3 times, most recently from fd15814 to 7be22f2 Compare March 16, 2025 16:21
This also updates the ui demos/run.sh so that it generates the grade school math trace (demo9.json).

Signed-off-by: Nick Mitchell <[email protected]>
@starpit starpit merged commit 102a589 into IBM:main Mar 16, 2025
6 checks passed
@starpit starpit deleted the stats branch March 16, 2025 16:53
@starpit starpit restored the stats branch March 16, 2025 16:59
@starpit starpit deleted the stats branch March 16, 2025 17:42
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

Successfully merging this pull request may close these issues.

can model blocks expose tokens consumed data (request from user)
1 participant