-
Notifications
You must be signed in to change notification settings - Fork 76
ci(tokenspeed): add CI install + GPU e2e coverage (Part 3/3) #1465
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
key4ng
wants to merge
24
commits into
main
Choose a base branch
from
feat/grpc-tokenspeed-ci-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6b696e5
feat(grpc): add TokenSpeed gRPC client and router wiring
key4ng 25375e5
refactor(grpc): extract OpenAI→sampling-params helpers to a common mo…
key4ng 76bf572
refactor(grpc): give TokenSpeed its own IR arms (drop SGLang imperson…
key4ng e400fab
revert(tokenizer): defer OpenAI tool-wrapper strip + strict:false inj…
key4ng 8478a63
style(grpc): trim verbose comments PR1 introduced
key4ng 656f1c2
style(grpc): clean up code comments
key4ng c478f1a
fix(grpc): apply model sampling defaults to TokenSpeed requests
key4ng e93dca9
style(grpc): tidy lib.rs comments
key4ng 6f84101
feat(grpc_servicer): add TokenSpeed servicer
key4ng 6bb18d2
refactor(grpc_servicer): tighten _finish_reason_to_dict
key4ng 93038d1
docs(grpc_servicer): use --model in tokenspeed entrypoint usage example
key4ng a812f5c
fix(grpc_servicer): handle ServerArgs ``_path`` → bare-name renames
key4ng 8a3e651
feat(grpc_servicer): wrap json_schema as structural_tag for reasoning…
key4ng c869ee9
ci(tokenspeed): add CI install + GPU e2e coverage
key4ng 7b152c0
ci(tokenspeed): drop private-repo auth now that tokenspeed is open-so…
key4ng 34747d2
ci(tokenspeed): run install inside the official build-env container
key4ng 7279401
ci(tokenspeed): revert job-level container; k8s runner can't use docker
key4ng 7e948c6
fix(e2e): pass --model to tokenspeed worker (upstream renamed --model…
key4ng 24d2f14
test(e2e): swap TestEnableThinking model to Qwen3.5-27B
key4ng 4f58c5c
fix(e2e): cap Qwen3.5-27B context at 16K for the 1×H100 KV-cache budget
key4ng 779445a
test(e2e): retarget TestEnableThinking at Qwen/Qwen3-4B
key4ng 5ab3671
add none reasoning parser
LorrinWWW 963baa4
ci(release): add dev wheel workflow → GitHub Releases (#1471)
key4ng 921a3d9
ci(release): publish dev wheels to whl index (#1473)
zhyncs 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| name: 'Setup TokenSpeed Backend' | ||
| description: 'Create Python venv and install TokenSpeed (engine + kernel + scheduler) from source.' | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Setup Python venv | ||
| shell: bash | ||
| run: bash scripts/ci_setup_python_venv.sh | ||
|
|
||
| - name: Install TokenSpeed | ||
| shell: bash | ||
| run: bash scripts/ci_install_tokenspeed.sh |
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.
🧩 Analysis chain
🏁 Script executed:
Repository: lightseekorg/smg
Length of output: 890
🏁 Script executed:
sed -n '429,455p' .github/workflows/pr-test-rust.ymlRepository: lightseekorg/smg
Length of output: 980
🏁 Script executed:
sed -n '551,575p' .github/workflows/pr-test-rust.ymlRepository: lightseekorg/smg
Length of output: 886
TokenSpeed matrix lanes are not guarded by secret availability.
The
tokenspeedentries at lines 452 and 567 will always schedule regardless of secret availability. Thee2e-1gpu-chatjob'sifcondition does not check forsecrets.TOKENSPEED_GITHUB_TOKEN, ande2e-2gpu-chathas noifcondition at all. These jobs will fail instead of being skipped when the required secret is unavailable.Add secret-based guards to skip tokenspeed runs when
TOKENSPEED_GITHUB_TOKENis missing:Proposed fix
e2e-1gpu-chat: @@ if: >- always() && !cancelled() && needs.build-wheel.result == 'success' + && (matrix.engine != 'tokenspeed' || secrets.TOKENSPEED_GITHUB_TOKEN != '') && (github.event_name != 'pull_request' || (needs.detect-changes.result == 'success' && (needs.detect-changes.outputs.common == 'true' || needs.detect-changes.outputs.chat-completions == 'true'))) @@ e2e-2gpu-chat: @@ + if: ${{ matrix.engine != 'tokenspeed' || secrets.TOKENSPEED_GITHUB_TOKEN != '' }}🤖 Prompt for AI Agents