Skip to content

feat: add more useful APIs for tokens - #313

Merged
grahamking merged 1 commit into
ai-dynamo:mainfrom
nora-coder-dot:feat-more-tokens-api
Mar 20, 2025
Merged

grahamking merged 1 commit into
ai-dynamo:mainfrom
nora-coder-dot:feat-more-tokens-api

Conversation

@nora-coder-dot

Copy link
Copy Markdown
Contributor

Overview:

I am using Dynamo related APIs in my project, and I have added some APIs about Token structures in this PR to simplify code writing. Thank you!

Details:

Add AsMut, DerefMut and IntoIterator trait impl for the Tokens structure.

Where should the reviewer start?

lib/llm/src/tokens.rs

Signed-off-by: nora-coder-dot <nora6677@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Mar 20, 2025

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi nora-coder-dot! Thank you for contributing to ai-dynamo/dynamo.

Just a reminder: The NVIDIA Test Github Validation CI runs an essential subset of the testing framework to quickly catch errors.Your PR reviewers may elect to test the changes comprehensively before approving your changes.

🚀

@grahamking
grahamking merged commit c4cccd9 into ai-dynamo:main Mar 20, 2025
@nora-coder-dot
nora-coder-dot deleted the feat-more-tokens-api branch March 20, 2025 13:46
@dmitry-tokarev-nv dmitry-tokarev-nv added the external-contribution Pull request is from an external contributor label Mar 20, 2025
kylehh pushed a commit to kylehh/dynamo that referenced this pull request Apr 11, 2025
Add `AsMut`, `DerefMut` and `IntoIterator` trait impl for the `Tokens` structure.

Signed-off-by: nora-coder-dot <nora6677@gmail.com>
Co-authored-by: nora-coder-dot <nora6677@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contribution Pull request is from an external contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants