demo(compute-mesh): add execution trace visualization to local_compute_mesh_demo#1077
Closed
Avi-47 wants to merge 1 commit intomofa-org:mainfrom
Closed
demo(compute-mesh): add execution trace visualization to local_compute_mesh_demo#1077Avi-47 wants to merge 1 commit intomofa-org:mainfrom
Avi-47 wants to merge 1 commit intomofa-org:mainfrom
Conversation
Contributor
Author
|
Hi @lijingrs and @BH3GEI, |
c6fba43 to
d687ae4
Compare
6 tasks
Contributor
Author
|
This change has been merged into a consolidated compute mesh demo PR #1248 that combines:
The goal is to keep the demo features together so reviewers can see the full compute mesh pipeline in a single runnable example. Closing this PR in favor of the consolidated version. Thanks! |
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.
Summary
Implements execution trace visualization for the local_compute_mesh_demo example. This adds observability to the Compute Mesh pipeline by recording and displaying how requests flow through workflow execution, routing, backend selection, streaming inference, and metrics collection.
🔗 Related Issues
Closes #1075
🧠 Context
The Compute Mesh pipeline lacked observability - contributors couldn't easily see how requests moved through the system. This demo showcases the full pipeline with trace instrumentation at each stage.
🛠️ Changes
examples/local_compute_mesh_demo/with:Cargo.toml- Package configurationsrc/main.rs- Demo implementation with execution tracelocal_compute_mesh_demotoexamples/Cargo.tomlworkspace🧪 How I Tested
cargo check- Verified code compilescargo run -p local_compute_mesh_demo -- "Explain photosynthesis"- Ran demo successfullyLogs
📸 Screenshots
🧹 Checklist
Code Quality
cargo fmtruncargo clippypasses without warningsTesting
cargo testpasses locally without any errorDocumentation
PR Hygiene
main🚀 Deployment Notes (if applicable)
None - this is a demo example.
🧩 Additional Notes for Reviewers
This change improves observability of the Compute Mesh pipeline by making the full inference request lifecycle visible in the demo.
The execution trace helps contributors understand how requests flow through workflow execution, routing, backend selection, streaming inference, and metrics collection.
Branch pushed to:
demo/compute-mesh-trace-visualizationRun command:
cargo run -p local_compute_mesh_demo -- "Explain photosynthesis"