Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_linearizer_correctness #4458

Merged
merged 4 commits into from May 11, 2024
Merged

Conversation

Qazalin
Copy link
Collaborator

@Qazalin Qazalin commented May 6, 2024

generalizes helper_linearizer_opt to be independent of scheduling with:

def helper_linearizer_ast(ast:Tuple[LazyOp, ...], inputs:List[Tensor],

factorized out.

This allows us to bypass scheduling for testing AST -> codegen correctness.

Copy link
Contributor

github-actions bot commented May 8, 2024

Changes

Name                            Lines    Diff    Tokens/Line    Diff
----------------------------  -------  ------  -------------  ------
tinygrad/runtime/ops_rhip.py       17      +2           13.3    -0.3


total lines changes: +2

@Qazalin Qazalin marked this pull request as ready for review May 11, 2024 10:02
@Qazalin Qazalin merged commit 3cba229 into tinygrad:master May 11, 2024
15 checks passed
@Qazalin Qazalin deleted the linearizer-test branch May 11, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant