Skip to content

Generation framework should be tokens in tokens out #5

Closed

Description

@parthchadha

Describe the bug

To avoid discrepancies of different tokenizer versions between training and generation framework, generation framework should just get the tokens in, special token_id's (ex: stop, eos token) and it should return just tokens.

Steps/Code to reproduce bug

The current vllm implementation has reference to the tokenizer.

The fix for this issue should include a test which ensures we don't add tokenizer to any generation backend.

Activity

  1. added
    bug
    on Mar 20, 2025
  2. self-assigned this
    on Mar 20, 2025
  3. added this to the v0.2 release milestone on Mar 20, 2025
  4. added a commit that references this issue on Mar 21, 2025
    df7fdc3
  5. SahilJain314 commented on Apr 18, 2025

    @SahilJain314
    Contributor

    I believe we've more or less made peace with the amount of tokenizer involvement in vllm here. Can we close this @parthchadha ?

  6. parthchadha commented on Apr 18, 2025

    @parthchadha
    ContributorAuthor

    Yes, closing this issue.

  7. 1 remaining item

  8. added a commit that references this issue on Sep 17, 2026
  9. added 5 commits that reference this issue on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions