Add ONNX playground for graph inspection, optimization, and benchmarking#33
Merged
Conversation
PR Summary by QodoAdd ONNX playground scaffolding with baseline MLP model artifact WalkthroughsDescription• Add a dedicated ONNX playground directory to support graph/IR exploration work. • Document intended workflows (export, inspect, optimize, benchmark) and folder layout. • Include a baseline ONNX MLP model artifact for initial experiments. Diagramgraph TD
A["Modeling/onnx"] --> B["README.md"] --> C[("mlp_baseline.onnx")]
High-Level AssessmentThe following are alternative approaches to this PR: 1. Generate ONNX artifacts via script (don’t commit binaries)
2. Store ONNX binaries using Git LFS
3. Publish artifacts as release assets (or separate data bucket)
Recommendation: The directory/README scaffolding is a good fit for an experimental playground, but committing ONNX binaries can become painful as the set grows. Prefer either (a) generating models from a small export script with pinned deps, or (b) using Git LFS if you want artifacts versioned in-repo. If this PR is intentionally minimal, consider adding a follow-up plan (LFS vs generation) before adding more model files. File ChangesEnhancement (1)
Documentation (1)
|
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
Adds a new
onnx/playground directory for exploring ONNX internals, graph transformations, and inference benchmarking.This PR introduces a standalone experimental environment for:
The goal is to build familiarity with low-level ONNX mechanics rather than treating ONNX as a black-box export format.
Intended Structure