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 possibility to run inference benchmarks on XPU device #7705

Merged

Conversation

DamianSzwichtenberg
Copy link
Member

@DamianSzwichtenberg DamianSzwichtenberg commented Jul 7, 2023

Add possibility to run inference benchmarks on XPU device.
Exemplary CMD:
python inference_benchmark.py --device xpu --datasets Reddit --models sage --eval-batch-sizes 1024 --num-layers 2 --num-hidden-channels 64 --profile

Co-authored-by: kgajdamo <kinga.gajdamowicz@intel.com>
benchmark/utils/utils.py Outdated Show resolved Hide resolved
@DamianSzwichtenberg DamianSzwichtenberg removed the request for review from wsad1 July 17, 2023 07:03
Copy link
Contributor

@kgajdamo kgajdamo left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #7705 (1d65f95) into master (6995c54) will decrease coverage by 0.38%.
The diff coverage is 53.84%.

❗ Current head 1d65f95 differs from pull request most recent head 639f058. Consider uploading reports for the commit 639f058 to get more accurate results

@@            Coverage Diff             @@
##           master    #7705      +/-   ##
==========================================
- Coverage   91.93%   91.56%   -0.38%     
==========================================
  Files         452      452              
  Lines       25537    25547      +10     
==========================================
- Hits        23478    23392      -86     
- Misses       2059     2155      +96     
Impacted Files Coverage Δ
torch_geometric/profile/__init__.py 100.00% <ø> (ø)
torch_geometric/testing/__init__.py 100.00% <ø> (ø)
torch_geometric/profile/profile.py 70.00% <28.57%> (-3.12%) ⬇️
torch_geometric/testing/decorators.py 91.66% <83.33%> (-0.76%) ⬇️

... and 20 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JakubPietrakIntel JakubPietrakIntel self-requested a review July 17, 2023 07:41
Copy link
Contributor

@JakubPietrakIntel JakubPietrakIntel left a comment

Choose a reason for hiding this comment

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

LGTM!

@DamianSzwichtenberg DamianSzwichtenberg merged commit c6f3a55 into pyg-team:master Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants