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

Fix _TORCH_GREATER_EQUAL_1_12 with lightning_utilities #174

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

atremblay
Copy link
Contributor

torchmetrics no longer has _TORCH_GREATER_EQUAL_1_12. I simply added the initial implementation using lightning_utilities.

Even though lightning_utilities is a requirement of torchmetrics I figured we could make it explicit that we depend on that.

Furthermore, it looks like some styling was not properly applied. As far as I can tell, all the formatting done is correct.

Copy link

netlify bot commented Dec 2, 2024

Deploy Preview for poutyne ready!

Name Link
🔨 Latest commit 9040215
🔍 Latest deploy log https://app.netlify.com/sites/poutyne/deploys/674f2cea0dcc5d0007cdbb7d
😎 Deploy Preview https://deploy-preview-174--poutyne.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.20%. Comparing base (cadb831) to head (9040215).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   94.20%   94.20%           
=======================================
  Files          46       46           
  Lines        3276     3277    +1     
=======================================
+ Hits         3086     3087    +1     
  Misses        190      190           

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

@freud14
Copy link
Collaborator

freud14 commented Dec 2, 2024

You probably didn't ran the formatting correctly. It should be alright the way it was. Can you revert the formatting changes and I will merge the PR?

@atremblay
Copy link
Contributor Author

Allez hop cascade! Must have a setting in neovim that does some formatting. I simply reverted the file.

@freud14 freud14 changed the title Fix/torchmetrics Fix _TORCH_GREATER_EQUAL_1_12 with lightning_utilities Dec 3, 2024
@freud14 freud14 merged commit 43197bc into GRAAL-Research:master Dec 3, 2024
37 checks passed
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.

2 participants