Skip to content

hotfix: disable RTC inference engine for ACT checkpoints - #100

Closed
Mokuroh54 wants to merge 2 commits into
stagingfrom
hotfix/disable-rtc-for-act
Closed

hotfix: disable RTC inference engine for ACT checkpoints#100
Mokuroh54 wants to merge 2 commits into
stagingfrom
hotfix/disable-rtc-for-act

Conversation

@Mokuroh54

Copy link
Copy Markdown

Summary

RTC (Real-Time Chunking) regenerates action chunks through lerobot's flow-matching processor — a path ACT checkpoints don't have — so an ACT run started under RTC breaks at rollout.

Both engine selectors (studio DeployPanel, landing InferenceModal) now force Sync whenever the selected checkpoint is ACT:

  • The RTC SelectItem is disabled, with a new hint explaining why (en + zh-CN keys added).
  • The submitted inference_engine is derived (isAct ? "sync" : selection), not a state reset, so a stale RTC selection from a previous checkpoint can never reach the backend — including across the policy-config fetch race.
  • Mirrors the existing ACT-only gating of temporal ensembling; no backend or schema change (the request carries no policy_type, and the backend default is already sync).

Why into main

Hotfix for released code — RTC + ACT is selectable on main today. sync_staging will carry it back into staging automatically.

Testing

  • npx tsc --noEmit -p tsconfig.app.json / -p tsconfig.node.json — pass
  • npm test — i18n catalog parity + dynamic-key tests pass; the one failing test (LanguageContext.test.tsx › switches back to English) fails identically on pristine origin/main (pre-existing)
  • npm run lint — 4 errors, all pre-existing in untouched files (baseline-identical)
  • npm run build — pass (dist not committed; CI rebuilds it)

🤖 Generated with Claude Code

RTC (Real-Time Chunking) regenerates action chunks through lerobot's
flow-matching processor — a path ACT checkpoints don't have — so an ACT
run started under RTC breaks at rollout. Both engine selectors
(DeployPanel, InferenceModal) now force sync for ACT: the RTC option is
disabled with an explanatory hint, and the submitted inference_engine is
derived (isAct ? "sync" : selection) so a stale selection can never
reach the backend. Mirrors the existing ACT-only gating of temporal
ensembling.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Mokuroh54
Mokuroh54 changed the base branch from main to staging September 1, 2026 22:26
…r-act

# Conflicts:
#	frontend/src/components/landing/InferenceModal.tsx
#	frontend/src/components/studio/DeployPanel.tsx
@Mokuroh54

Copy link
Copy Markdown
Author

Superseded by #113, which refuses RTC server-side for every policy that cannot run it (not only ACT) and disables the option in both dialogs from the checkpoint's supports_rtc field. Stacked on #108#107.

@Mokuroh54 Mokuroh54 closed this Sep 2, 2026
@Mokuroh54
Mokuroh54 deleted the hotfix/disable-rtc-for-act branch September 3, 2026 16:34
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.

1 participant