Repository navigation
[REFACTOR] Implement Hardware Abstraction Layer for Operator Wrappers - #37
Merged
Merged
Conversation
github-actions
Bot
requested review from
EthanZero2Hero,
bitborne and
inaniloquentee
May 31, 2026 08:23
…t hooks Signed-off-by: vensen <[email protected]>
Signed-off-by: vensen <[email protected]>
Flink-ddd
force-pushed
the
refactor/ops-hal-restructure
branch
from
May 31, 2026 08:45
0adc945 to
e902430
Compare
…lity Signed-off-by: vensen <[email protected]>
Signed-off-by: vensen <[email protected]>
Signed-off-by: vensen <[email protected]>
Collaborator
Author
|
cc @inaniloquentee @bitborne next some PR need trigger completely CI check |
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.
Purpose
Resolves #36
Motivation:
As Kernel-Align expands to support multiple heterogeneous backends (NVIDIA CUDA, AMD ROCm/Aiter, Triton), jamming all operator wrappers into a single cuda.py or pytorch.py file will lead to severe management issues and merge conflicts. To ensure the project remains scalable, clean, and cross-platform ready, we introduced a Hardware Abstraction Layer in the Python wrapper layer.
Architectural Changes:
Test Plan
Test Result
1. HAL CPU Fallback & Routing
2. pre-commit test