Skip to content

[CI] Enable TENT runtime in T-One e2e as a parallel job - #3600

Merged
stmatengss merged 4 commits into
kvcache-ai:mainfrom
staryxchen:ci/tent-e2e-dual-job
Oct 27, 2026
Merged

stmatengss merged 4 commits into
kvcache-ai:mainfrom
staryxchen:ci/tent-e2e-dual-job

Conversation

@staryxchen

@staryxchen staryxchen commented Aug 23, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Run classic and TENT T-One e2e in parallel from one dual-engine cu13 wheel
(use-tent). Classic coverage is unchanged at runtime (MC_USE_TENT unset);
the new job sets MC_USE_TENT=1, fail-fasts if the wheel has no TENT, and
propagates USE_TENT to the remote node. Release wheels are not opted in.

Thanks to @TTThanos for the TENT e2e debug work
that unblocked this job.

Also in this PR: manylinux SYS_pidfd_* fallbacks so the TENT wheel builds on
older glibc; soft-disable TENT fabric when only libfabric headers are present;
recover truncated mooncake.pg JIT caches; raise hetero-TP
--mem-fraction-static to 0.73; point Tone sgl-eval installs at the Aliyun
PyPI mirror.

Suggested Merge Priority

  • P0 — Urgent
  • P1 — High
  • P2 — Normal
  • P3 — Low

Module

  • Transfer Engine (mooncake-transfer-engine)
  • Mooncake Store (mooncake-store)
  • Mooncake Conductor (mooncake-conductor)
  • Reshard (mooncake-reshard)
  • Mooncake EP (mooncake-ep)
  • Mooncake PG (mooncake-pg)
  • Integration (mooncake-integration)
  • P2P Store (mooncake-p2p-store)
  • Python Wheel (mooncake-wheel)
  • Common (mooncake-common)
  • Mooncake RL (mooncake-rl)
  • CI/CD
  • Docs
  • Other

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation update
  • Performance improvement
  • Other

How Has This Been Tested?

Test results:

Checklist

  • I have performed a self-review of my own code
  • I have formatted my code using ./scripts/code_format.sh
  • I have run pre-commit on the files changed in this PR and all hooks pass
  • I have updated the documentation (if applicable)
  • I have added tests to prove my changes are effective
  • For changes >500 LOC: I have filed an RFC issue

AI Assistance Disclosure

  • No AI tools were used
  • AI tools were used (specify below)

Cursor assisted with patches and PR drafting. The human submitter has reviewed
and can defend every changed line.

@Aionw Aionw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

USE_TENT=true is only present in the T-One controller shell. In the double-machine path, run_test.sh copies run/.shrc to the remote node and then SSHes there to source .shrc followed by common.sh; however, the generated .shrc does not export USE_TENT. As a result, the remote node defaults it to false in common.sh, so its container is launched without MC_USE_TENT=1.

This makes the 1P1D, EPD, and vLLM double-machine cases run with a TENT/classic mix or silently lose remote-side TENT coverage. Please persist/export USE_TENT in the generated .shrc, and include it in is_base_env_prepared's reuse check so a cached environment cannot retain the wrong runtime selection.

Also, the current E2E run (32634455804) was created for ee07ab8d and uses the base-branch pull_request_target workflow; its job list contains no integration-test-tent. Please rerun the dual job against the current head after fixing the propagation issue.

@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch 2 times, most recently from 5439163 to e0c8f57 Compare August 25, 2026 07:31
@staryxchen staryxchen changed the title [CI] Enable TENT runtime in T-One e2e as a parallel job [WIP][CI] Enable TENT runtime in T-One e2e as a parallel job Aug 25, 2026
@staryxchen
staryxchen marked this pull request as draft August 25, 2026 12:38
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch from e0c8f57 to b4f1c1b Compare August 31, 2026 06:48
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch 3 times, most recently from 1a4f264 to f1790db Compare September 1, 2026 15:12
@staryxchen

Copy link
Copy Markdown
Collaborator Author

Refresh PR head after rebase onto main + notify-mr + GDR debug (f1790db).

@staryxchen staryxchen closed this Sep 1, 2026
@staryxchen staryxchen reopened this Sep 1, 2026
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch from 28c3792 to 62c79d4 Compare October 12, 2026 11:13
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch 2 times, most recently from b797aa8 to baafa71 Compare October 18, 2026 06:48
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch 3 times, most recently from e9408d2 to db9d182 Compare October 23, 2026 03:21
Run classic and TENT T-One e2e in parallel from one dual-engine cu13
wheel (use-tent). Fail fast if the installed engine lacks TENT, propagate
USE_TENT to remote nodes, and use python3 in the tone image. Disable
shared TENT metrics HTTP until per-rank ports exist. Include the
manylinux2_28 SYS_pidfd_* fallback so the TENT wheel builds on older glibc.

Signed-off-by: staryxchen <staryxchen@tencent.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch from 339b757 to bc06667 Compare October 24, 2026 12:33
TTThanos and others added 2 commits October 24, 2026 12:34
… are provided

USE_EFA wheel builds provision headers only (classic engine dlopens the
library at runtime); TENT's configure fatally required a linkable
libfabric, breaking build-wheel-cu13 with use-tent. Keep FATAL_ERROR for
explicit USE_FABRIC=ON, soft-disable TENT fabric otherwise.
…ction

Tone A10 jobs were dying because SGLang now needs mem-fraction > 0.715
and a SIGKILL-truncated mooncake.pg .so was treated as a fatal JIT error.

Signed-off-by: staryxchen <staryxchen@tencent.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch from bc06667 to 6c393a0 Compare October 24, 2026 12:34
Signed-off-by: staryxchen <staryxchen@tencent.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@staryxchen
staryxchen force-pushed the ci/tent-e2e-dual-job branch from 6c393a0 to cdaf98a Compare October 24, 2026 12:35
@staryxchen staryxchen changed the title [WIP][CI] Enable TENT runtime in T-One e2e as a parallel job [CI] Enable TENT runtime in T-One e2e as a parallel job Oct 25, 2026
@staryxchen
staryxchen marked this pull request as ready for review October 25, 2026 11:01
@staryxchen

Copy link
Copy Markdown
Collaborator Author

@Aionw After some time spent identifying and fixing issues, TENT's e2e tests are now passing successfully. PR is ready for reviewing now, please take a look when you have bandwidth.

@staryxchen

Copy link
Copy Markdown
Collaborator Author

@stmatengss Could you take a look? Thanks

@stmatengss
stmatengss merged commit b730bba into kvcache-ai:main Oct 27, 2026
40 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants