Skip to content

llmapi usage: how to add callback after each step and embedding table in LLM.generate_async #4788

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

Open
bnuzhanyu opened this issue May 30, 2025 · 0 comments

Comments

@bnuzhanyu
Copy link

In llm-api, how can I achieve:

  1. do some callback logic after each sampling token (like stop strategy)
  2. pass embedding in generate_async
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