Repository navigation
[ATOM gRPC] atomesh: structured output to ATOM gRPC workers; answers as ATOM's HTTP routes give them #3677
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
Jasen2201
wants to merge
94
commits into
jasen/atom-grpc-e-mesh-discovery-pd
from
jasen/atom-grpc-f-mesh-chat-render
Open
[ATOM gRPC] atomesh: structured output to ATOM gRPC workers; answers as ATOM's HTTP routes give them #3677
Changes from 86 commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
7fbd6a7
[ATOM gRPC] atomesh: structured output to ATOM gRPC workers; answers …
Jasen2201 494bb93
Merge the Generate review fixes (#3673) into atomesh structured outpu…
Jasen2201 6c03d34
Merge Abort before submission (#3673) into atomesh structured output …
Jasen2201 da818c7
Merge the chat-template and top_logprobs review fixes (#3673) into at…
Jasen2201 c938e02
Merge the stop-string review fixes (#3675) into the chat render
Jasen2201 423f7c3
[ATOM gRPC] atomesh: refuse chat and /generate logprobs for ATOM gRPC…
Jasen2201 42ebfd5
Merge the step-flush ordering fix (#3673) into atomesh structured out…
Jasen2201 e497f58
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 1bb481c
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 33fe5a0
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 cc1098e
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 277e0a0
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 660cb90
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 4958086
Merge discovery and P/D (#3676) into structured output and render
Jasen2201 ee0397c
Merge main into atomesh structured output and render
Jasen2201 dfd8551
Merge atomesh discovery and P/D into atomesh structured output and re…
Jasen2201 657c3e7
Merge the E fixes into atomesh structured output and render
Jasen2201 48c7274
Merge the E fixes into atomesh structured output and render
Jasen2201 7586061
atomesh: read an ATOM worker's output as ATOM's servers read it
Jasen2201 8b17a0b
atomesh: parse an ATOM reply with the parsers its worker names
Jasen2201 8b6c400
atomesh: write ATOM's usage fields for an ATOM worker's reply only
Jasen2201 6d9b890
atomesh: give only an ATOM worker's chat reply ATOM's shape
Jasen2201 b4eb5dd
atomesh: stream the ids a Complete carries past the partials
Jasen2201 4dfcde5
atomesh: parse an ATOM worker's forced tool call in the model's syntax
Jasen2201 aa9e17a
atomesh: carry the tools a chat's messages declare, on any role
Jasen2201 48e878e
atomesh: answer an ATOM completion that asks for logprobs with null l…
Jasen2201 f33c3ea
atomesh: reconcile a gRPC response's cached tokens against the route …
Jasen2201 a3eefca
Merge the E fixes into atomesh structured output and render
Jasen2201 0d60579
atomesh: place an ATOM stream's usage where its model's HTTP chat does
Jasen2201 6d09550
atomesh: type a unary reply's tool arguments by the declared schemas
Jasen2201 2d5c242
atomesh: stream the logprobs of the ids a Complete carries past the p…
Jasen2201 0247234
atomesh: read an ATOM reply as starting in reasoning where ATOM's HTT…
Jasen2201 0440ae9
Merge the E fixes into atomesh structured output and render
Jasen2201 f7a5dc7
atomesh: give the SSE snapshot test's contexts usage_on_finish
Jasen2201 615a209
Merge the E fixes into atomesh structured output and render
Jasen2201 ac2c44a
atomesh: build the usage test's request in its initializer
Jasen2201 16fc424
Merge the E fixes into atomesh structured output and render
Jasen2201 a9553f1
Merge discovery and P/D's headers and replaced-rank fix into structur…
Jasen2201 8f8f7b1
Give structured output and render's new files the full source header
Jasen2201 c4e2307
atomesh: an ATOM reading skips special tokens whatever the request asks
Jasen2201 4a0f2f3
atomesh: a chat whose messages declare an empty tool list parses no t…
Jasen2201 ce25316
atomesh: import Tokenizer where only the AtomOutput tests use it
Jasen2201 a8eee1a
Merge discovery and P/D's tokenizer and prefill-info fixes into struc…
Jasen2201 6d49a7f
atomesh: a tool declared again is read with its last declaration
Jasen2201 b62691e
atomesh: a streamed /generate's final event carries every unstreamed id
Jasen2201 bf1c0ff
atomesh: a message's namespaced tool keeps its namespace
Jasen2201 2203ea7
Merge discovery and P/D's tokenizer, template and stream-release fixe…
Jasen2201 bc2d136
Merge discovery and P/D's test cleanup into structured output and render
Jasen2201 986569a
atomesh: read a completion's meta_info without decoding the body twice
Jasen2201 c6a1da0
atomesh: a namespaced top-level tool keeps its namespace
Jasen2201 44558e2
Merge discovery and P/D's prefill-info, tokenizer-gate, leg-refusal a…
Jasen2201 a260184
Merge discovery and P/D's template-readiness and greedy-n fixes into …
Jasen2201 545e673
atomesh: ATOM chat tests record the worker template their tokenizer c…
Jasen2201 546c85d
atomesh: a long unstreamed reply keeps a last "<" or "</"
Jasen2201 d120179
atomesh: an ATOM chat's reasoning_effort reaches its kwargs as ATOM's…
Jasen2201 0a70c21
atomesh: a streamed reply keeps a last "<" or "</" too
Jasen2201 f8fac35
atomesh: a long unstreamed reply keeps its answer's whitespace
Jasen2201 0026c5c
Merge discovery and P/D's template-precedence and seq_id-race fixes i…
Jasen2201 07fd4de
Merge discovery and P/D's template-file, prefill-marker and health fi…
Jasen2201 2294d89
atomesh: an ATOM chat's thinking control reaches its kwargs as on HTTP
Jasen2201 88aeced
atomesh: an ATOM reply cut off inside a native call keeps the call
Jasen2201 2d82d4a
atomesh: a streamed chat feeds a Complete's unstreamed ids in pieces
Jasen2201 d8e6bcd
atomesh: a streamed /generate records the Complete's token count
Jasen2201 aea2033
Merge discovery and P/D's merged delivery-time stamping into structur…
Jasen2201 74891c7
atomesh: a namespaced named tool_choice keeps its namespace
Jasen2201 06940ea
atomesh: a long reply closing an empty implicit reasoning block drops…
Jasen2201 c16fea9
atomesh: a streamed chat copies each replayed piece of a Complete alone
Jasen2201 9ce6027
atomesh: a streamed chat reads the text its Complete releases as a pa…
Jasen2201 55b3518
Merge discovery and P/D's one-template rule, review fixes and merge o…
Jasen2201 8b09945
atomesh: a cut-off ATOM tool call is closed by its own parser's rule
Jasen2201 07d169c
Merge discovery and P/D's template binding of tokenizer jobs and chat…
Jasen2201 821c8b3
atomesh: a bare Qwen XML function call is a call, as on ATOM's HTTP chat
Jasen2201 239e32c
atomesh: only an ATOM worker's reply reads a bare Qwen XML call as a …
Jasen2201 2a12025
atomesh: a bare Qwen XML call's text ends where the call starts
Jasen2201 f3246e5
atomesh: a bare Qwen XML call cut off after its name is closed at end…
Jasen2201 0c32cd8
atomesh: a streamed chat's reasoning parser reads each delta token by…
Jasen2201 1891b8a
Merge discovery and P/D's single tokenizer lookup and template-file p…
Jasen2201 348210a
atomesh: a streamed ATOM reply keeps a `<tool_call>` it quotes before…
Jasen2201 beb0963
atomesh: text a streamed ATOM reply holds at its end as a call's star…
Jasen2201 0c435ca
atomesh: a bare Qwen XML call cut off in a tag is kept, unary as stre…
Jasen2201 f0838d5
Merge discovery and P/D's template check while a model's tokenizer lo…
Jasen2201 95c6fad
atomesh: a streamed MiniMax reply's held partial marker is text at it…
Jasen2201 93394b3
atomesh: a bare Qwen XML call naming no declared tool is text, unary …
Jasen2201 2c38520
atomesh: an ATOM reply's text is all of it outside its calls, read unary
Jasen2201 584c705
Merge discovery and P/D's template ranking at admission into structur…
Jasen2201 22e0734
Merge discovery and P/D's one-step template admission into structured…
Jasen2201 5b5faa1
atomesh: each Qwen XML call in one delta streams its own arguments
Jasen2201 f544044
atomesh: a cut-off ATOM Qwen call is not closed past text after its <…
Jasen2201 4a26965
Merge discovery and P/D's tokenizer handover on a last worker's remov…
Jasen2201 a97e80e
atomesh: a bare header whose name runs into a `<` is text, as unary r…
Jasen2201 96c18b0
atomesh: /generate's stream decodes a chunk into one String
Jasen2201 f2453c2
atomesh: a timed /generate reply serializes its timing without a JSON…
Jasen2201 e2fe38d
Merge the engine's skip of a turned-off prefix chain store into atome…
Jasen2201 ffe1025
Merge main into atomesh structured output and chat render
Jasen2201 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 4dfcde5: a reply read as ATOM's (
ResponseContext.reads_as_atom, set for an ATOM producer) no longer takes the JSON path for a named or requiredtool_choice. Both renderers parse it with the model's tool parser, as ATOM's HTTP chat does; SGLang and vLLM keep the JSON path.h_atom_native_tool_callscovers a named and a required choice, unary and streamed.