feat(fuzzer): add multi-kernel fuzzing framework#13
Open
wangqin1723-max wants to merge 1 commit intoluohuan19:mainfrom
Open
feat(fuzzer): add multi-kernel fuzzing framework#13wangqin1723-max wants to merge 1 commit intoluohuan19:mainfrom
wangqin1723-max wants to merge 1 commit intoluohuan19:mainfrom
Conversation
Add a standalone fuzzing framework for automatically generating and testing multi-kernel PyPTO programs. The framework generates random InCore kernel functions and combines them through Orchestration functions using different composition modes. Components: - Core fuzzer engine (fuzzer.py) for random test case generation - Kernel generator for InCore functions with operator chaining - Multi-kernel test generator with 3 composition modes: * Direct: Single kernel execution * Sequential: Kernel result chaining * Merge: Result aggregation - Orchestrator generator for kernel coordination Features: - Support for 20+ operators (binary, unary, scalar, advanced) - Configurable tensor shapes and operator weights - Memory hierarchy support (L1/L0A/L0B/L0C) - Automatic correctness verification with numpy reference - Shape alignment validation for block operations Documentation: - README.md: Usage guide and examples - OP_RULES.md: Operator rules and constraints - CHANGELOG.md: Development history Testing: - Generated test cases (test_fuzz_multi_kernel.py) - Example script (example_multi_kernel.py) - Test case for expand operations (test_expand.py)
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.
Add a standalone fuzzing framework for automatically generating and testing multi-kernel PyPTO programs. The framework generates random InCore kernel functions and combines them through Orchestration functions using different composition modes.
Components:
Features:
Documentation:
Testing: