feat: sequence check vllm #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS ABOVE HAVE BEEN CONSIDERED.
Purpose
Add run_seed field to chat completion responses to enable sequence validation in decentralized inference
systems. This implements the foundation for Stage 1 sequence check validation as described in the inference
validation proposal.
When a user provides a seed parameter, vLLM now:
This allows validators to verify that generated tokens were sampled from the claimed model's probability
distribution.
Test Plan
Test Result
All tests pass:
Response now includes run_seed:
{ "choices": [{ "logprobs": { "content": [...], "run_seed": "4ef75adbd0ec3fba28ade0cf79ba5d4afea742e476567517d348836bb1876c9b" } }] }(Optional) Documentation Update
None required, this is an additive change that adds an optional field to existing responses
BEFORE SUBMITTING, PLEASE READ https://docs.vllm.ai/en/latest/contributing (anything written below this line will be removed by GitHub Actions)