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

Progress Bar View #160

Open
1 of 6 tasks
CharlieJCJ opened this issue Nov 20, 2024 · 1 comment
Open
1 of 6 tasks

Progress Bar View #160

CharlieJCJ opened this issue Nov 20, 2024 · 1 comment

Comments

@CharlieJCJ
Copy link
Contributor

CharlieJCJ commented Nov 20, 2024

In curator-viewer

Features:

  • [Progress Bar] number of samples completed @DatasetViewer
    • doesn't need logging from curator
  • [Progress Bar] total cost estimation & total cost already spent @DatasetViewer
  • [Progress Bar] number of samples completed @RunsViewer
    • Requires additional logging logic
  • [Progress Bar] total cost estimation & total cost already spent @RunsViewer
    • Requires additional logging logic

In terminal logger

  • number of samples (in tqdm)
  • total cost estimation & total cost already spent

Things to consider:

  • Batch Mode cost estimation is quite different from online. Naive implementation for batch mode logging would have great delay time to get the first estimation. Need different logging strategies. Maybe do a separate thread of online and get token counts, just to get a rough sense of the cost for batch?
  • BTW estimation and monitor are two different concepts. different UX
@RyanMarten
Copy link
Contributor

Running average of cost / call
And then update in progress bar the already consumed + estimated cost

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

2 participants