Skip to content

Floor Node #2792

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 8 commits into from
Feb 11, 2025
Merged

Floor Node #2792

merged 8 commits into from
Feb 11, 2025

Conversation

akshitgaur2005
Copy link
Contributor

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

#1714
#1544

Changes

Implemented Floor Node

Testing

Ran run_checks and checked the code separately too.

@akshitgaur2005 akshitgaur2005 marked this pull request as ready for review February 10, 2025 14:04
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.68%. Comparing base (6015823) to head (72fd024).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2792      +/-   ##
==========================================
+ Coverage   83.67%   83.68%   +0.01%     
==========================================
  Files         832      833       +1     
  Lines      109524   109605      +81     
==========================================
+ Hits        91643    91724      +81     
  Misses      17881    17881              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Thanks for the addition 🙏

Some minor comments, otherwise will be good to go!

We should also mark the op as supported here: https://github.com/tracel-ai/burn/blob/main/crates/burn-import/SUPPORTED-ONNX-OPS.md

Copy link
Collaborator

@antimora antimora left a comment

Choose a reason for hiding this comment

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

Thank you for taking up this task.

A couple of small changes needed:

  1. Update the supported ops doc for floor op: crates/burn-import/SUPPORTED-ONNX-OPS.md
  2. Remove unrelated changes (probably accidentally checked in):
  • crates/burn-import/onnx-tests/tests/relu/relu.onnx
  • crates/burn-import/onnx-tests/tests/one_hot/one_hot.onnx
  • crates/burn-import/onnx-tests/tests/one_hot/one_hot.py

@akshitgaur2005
Copy link
Contributor Author

Ran the tests this time. 🥲

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.

Thanks for contributing 🙏

@laggui laggui merged commit 3c12f5e into tracel-ai:main Feb 11, 2025
11 checks passed
@akshitgaur2005 akshitgaur2005 deleted the floor branch February 13, 2025 18:04
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.

3 participants