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

Add Fp gemm and Softmax for Snitch platform #31

Open
wants to merge 5 commits into
base: devel
Choose a base branch
from

Conversation

tahaelbayad
Copy link
Contributor

@tahaelbayad tahaelbayad commented Jan 29, 2025

This PR adds two new float kernels for the Snitch platform: Gemm and Softmax.

Note that two Softmax functions have been added, but only one is used because the compiler does not support the optimized one.

Added

  • New templates for GEMM and Softmax.
  • Added GEMM and Softmax to TargetLibraries, including case for GEMM with a transposed B matrix.
  • Added new CI tests for GEMM and Softmax.

Changed

  • Adapted snitch Bindings and Platform files.

Fixed

  • Relaxed the error threshold between expected and actual values in deeploytest.

PR Merge Checklist

  1. The PR is rebased on the latest devel commit and pointing to devel.
  2. Your PR reviewed and approved.
  3. All checks are passing.
  4. The CHANGELOG.md file has been updated.

@tahaelbayad tahaelbayad changed the title Add Fp gemm and Softmax Add Fp gemm and Softmax for Snitch platform Jan 31, 2025
@tahaelbayad tahaelbayad marked this pull request as ready for review February 10, 2025 08:57
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.

1 participant