Skip to content

Migrate matmul autotune to macro and fix accelerated #2584

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

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

wingertge
Copy link
Contributor

Fix matmul autotune by checking for availability in should_run.

Pull Request Template

Checklist

  • Confirmed that run-checks all script has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

Should fix ArthurBrussee/brush#53

Changes

Migrates matmul autotune to the macro to clean up the code.
Implements a simple should_run to check for availability before running accelerated.

Testing

Tests passing.

Copy link
Member

@laggui laggui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

/edit: pinged @nathanielsimard in case I missed something

@ArthurBrussee
Copy link
Contributor

Would it be possible to merge this? I'm still hitting the panic on wasm so currently can't upgrade Burn.

@laggui laggui merged commit ebd7649 into tracel-ai:main Dec 11, 2024
9 checks passed
@laggui
Copy link
Member

laggui commented Dec 11, 2024

@ArthurBrussee should be good to go now!

@wingertge wingertge deleted the fix/matmul-tune branch December 20, 2024 18:14
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.

[Ubuntu 24.04 Crash] Cmma on inputs Float(F16) and outputs Float(F32) with shape m=16, n=16, k=16 not supported.
4 participants