Skip to content

feat: tokenspeed support - #146

Merged
yubofredwang merged 1 commit into
lightseekorg:mainfrom
Dogacel:tokenspeed-support
Jul 27, 2026
Merged

feat: tokenspeed support#146
yubofredwang merged 1 commit into
lightseekorg:mainfrom
Dogacel:tokenspeed-support

Conversation

@Dogacel

@Dogacel Dogacel commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Support training models with tokenspeed backend.

Tested both offline and online workload with Qwen3-8B, for more details check tokenspeed's main PR. [https://github.com/lightseekorg/tokenspeed/pull/798]

Signed-off-by: Dogac Eldenk <dogacel@gmail.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 42613a68a8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

return engines

if engine_type not in ("hf", "sgl", "vllm", "trtllm"):
if engine_type not in ("hf", "sgl", "vllm", "trtllm", "tokenspeed"):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Permit TokenSpeed in the DFlash backend validation

When a TokenSpeed run uses a DFlash or DSpark draft configuration, both normal training and offline materialization call _validate_and_configure_dflash, whose backend allowlist still excludes tokenspeed; the run therefore raises NotImplementedError before any TokenSpeed actor is created. Add this backend to that validation (or explicitly reject these algorithms in the new backend if unsupported) so the newly accepted engine type is usable with those training modes.

Useful? React with 👍 / 👎.

@yubofredwang
yubofredwang merged commit d70912e into lightseekorg:main Jul 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants