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 XPU accelerator #2530

Merged
merged 4 commits into from
Jan 22, 2025
Merged

πŸš€ Add XPU accelerator #2530

merged 4 commits into from
Jan 22, 2025

Conversation

ashwinvaidya17
Copy link
Collaborator

πŸ“ Description

  • Add XPU accelerator
anomalib train --model Padim --data MVTec --trainer.accelerator xpu --trainer.strategy xpu_single

✨ Changes

Select what type of change your PR is:

  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • πŸ”¨ Refactor (non-breaking change which refactors the code base)
  • πŸš€ New feature (non-breaking change which adds functionality)
  • πŸ’₯ Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • πŸ“š Documentation update
  • πŸ”’ Security update

βœ… Checklist

Before you submit your pull request, please make sure you have completed the following steps:

  • πŸ“‹ I have summarized my changes in the CHANGELOG and followed the guidelines for my type of change (skip for minor changes, documentation updates, and test enhancements).
  • πŸ“š I have made the necessary updates to the documentation (if applicable).
  • πŸ§ͺ I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).

For more information about code review checklists, see the Code Review Checklist.

Signed-off-by: Ashwin Vaidya <[email protected]>
Signed-off-by: Ashwin Vaidya <[email protected]>
Signed-off-by: Ashwin Vaidya <[email protected]>
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 69.81132% with 16 lines in your changes missing coverage. Please review.

Project coverage is 79.06%. Comparing base (084331d) to head (33a0e0e).
Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
src/anomalib/engine/accelerator/xpu.py 61.29% 12 Missing ⚠️
src/anomalib/engine/strategy/xpu_single.py 73.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2530      +/-   ##
==========================================
+ Coverage   78.94%   79.06%   +0.11%     
==========================================
  Files         311      315       +4     
  Lines       13197    13253      +56     
==========================================
+ Hits        10419    10478      +59     
+ Misses       2778     2775       -3     
Flag Coverage Ξ”
integration_py3.10 64.52% <69.81%> (?)
unit_py3.10 64.72% <69.81%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

Signed-off-by: Ashwin Vaidya <[email protected]>
Copy link
Contributor

@samet-akcay samet-akcay left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@ashwinvaidya17 ashwinvaidya17 added this pull request to the merge queue Jan 22, 2025
@ashwinvaidya17 ashwinvaidya17 removed this pull request from the merge queue due to a manual request Jan 22, 2025
@ashwinvaidya17 ashwinvaidya17 added this pull request to the merge queue Jan 22, 2025
Merged via the queue into main with commit b37284e Jan 22, 2025
13 of 14 checks passed
@ashwinvaidya17 ashwinvaidya17 deleted the ashwin/add_xpu branch January 22, 2025 11:28
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