added visualization adapter for offline trace integration#74
Open
sherrylicodes wants to merge 2 commits into
Open
added visualization adapter for offline trace integration#74sherrylicodes wants to merge 2 commits into
sherrylicodes wants to merge 2 commits into
Conversation
|
I looked through the Streamlit upload and caching flow, and one thing I think would be worth checking is how the uploaded file is handled after it gets read for caching. Since the upload object is being used to build the cached reader, it might be safer to make sure the file state is reset afterward so it does not cause issues later in the session or on reruns. A small change like resetting the file pointer or using a less stateful way to access the uploaded contents could make this part more robust. I think adding a quick test for repeated uploads or reruns would also help confirm that the workflow behaves consistently. |
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.
This PR adds a visualization adapter layer for Issue #41.
It converts offline trace outputs into standardized visualization-ready data structures for the Streamlit UI. This includes flattening attention heads into residue-level connections and building a unified payload for visualization components.
This is intended to serve as the integration bridge between the reader/archive layer and the visualization UI.