Repository navigation
feat(engines): lmdeploy adapter — Inference page metrics from the rol… - #114
Merged
reiase merged 3 commits intoNov 17, 2026
Merged
Conversation
VincentCheungKokomo
force-pushed
the
pr/lmdeploy-engine-adapter
branch
from
November 13, 2026 10:38
dd8d5c3 to
1b9b3d0
Compare
…lout log LMDeploy has no Prometheus endpoint and its TurboMind engines are native processes, so neither the HTTP scraper nor in-process hooks apply. Its server wrapper does print one stats line per data-parallel rank (~10 s cadence) which XTuner streams into the run log; the adapter tails that file, fans lines out to per-rank engines, maps them onto the shared normalized.* names and writes inference_engine_metric rows. Registry keys are stored prefixed (normalized.*) to match what the Inference page cards look up, and engines keep the last known values across empty polls. Verified on a 64-step PPO run with 4 ranks: subprocess-free, engines/cards/history all populate.
make lint-python fails on the one overlong update_scrape_result call; ruff format fixes it (ruff check was already clean).
VincentCheungKokomo
force-pushed
the
pr/lmdeploy-engine-adapter
branch
from
November 16, 2026 06:35
1b9b3d0 to
3b35190
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
Published after the previous triage; fixed in 6.6.1 (upgrade still tracked with the tornado bump). Gate re-verified: 17 advisories, 0 not allowlisted.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
LMDeploy has no Prometheus endpoint and its TurboMind engines are native processes, so neither the HTTP scraper nor in-process hooks apply. Its server wrapper does print one stats line per data-parallel rank (~10 s cadence) which XTuner streams into the run log; the adapter tails that file, fans lines out to per-rank engines, maps them onto the shared normalized.* names and writes inference_engine_metric rows. Registry keys are stored prefixed (normalized.*) to match what the Inference page cards look up, and engines keep the last known values across empty polls. Verified on a 64-step PPO run with 4 ranks: subprocess-free, engines/cards/history all populate.