pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
20.54k stars 3.57k forks source link

Unit tests using `@onlyXPU` should only run on XPU devices #9396

Closed chaojun-zhang closed 3 weeks ago

chaojun-zhang commented 3 weeks ago

This PR ensure that unit tests annotated with @onlyXPU are only executed on XPU devices.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.86%. Comparing base (476e768) to head (d7889cb). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #9396 +/- ## ========================================== - Coverage 87.99% 86.86% -1.14% ========================================== Files 473 462 -11 Lines 30820 30503 -317 ========================================== - Hits 27120 26496 -624 - Misses 3700 4007 +307 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

zhouyu5 commented 3 weeks ago

LGTM