Skip to content

Add XPU profiler smoke tests#3741

Draft
mkucha wants to merge 1 commit into
intel:mainfrom
mkucha:xpu-profiler-smoke-tests
Draft

Add XPU profiler smoke tests#3741
mkucha wants to merge 1 commit into
intel:mainfrom
mkucha:xpu-profiler-smoke-tests

Conversation

@mkucha
Copy link
Copy Markdown

@mkucha mkucha commented May 22, 2026

test_xpu_profiler_use_cases.py adds four single-process tests on XPU: basic eager GEMM profiling, torch.compile + Inductor profiling , XPUGraph capture/replay .

test_xpu_profiler_distributed.py adds an XCCL all_reduce profiling test using MultiProcessTestCase, so it runs under pytest without an external torchrun launcher.

All kernel assertions match GEMM kernel names case-insensitively to cover both gemm_kernel (PT 2.12+) and xe4_gemm (older releases).

test_xpu_profiler_use_cases.py adds four single-process tests on XPU:
basic eager GEMM profiling, torch.compile + Inductor profiling (gated
on has_triton(), verified via the Dynamo Torch-Compiled Region
annotation), XPUGraph capture/replay with acc_events=True, and the
scope profiler experimental_config API surface.

test_xpu_profiler_distributed.py adds an XCCL all_reduce profiling test
using MultiProcessTestCase, so it runs under pytest without an external
torchrun launcher.

All kernel assertions match GEMM kernel names case-insensitively to
cover both gemm_kernel (PT 2.12+) and xe4_gemm (older releases).
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.

1 participant