Skip to content

Comments

update with ROCm profiling tests with kernel_details#664

Open
cj401-amd wants to merge 1 commit intorocm-jaxlib-v0.9.0from
ci_cj_profiler_test_rocm-jaxlib-v0.9.0
Open

update with ROCm profiling tests with kernel_details#664
cj401-amd wants to merge 1 commit intorocm-jaxlib-v0.9.0from
ci_cj_profiler_test_rocm-jaxlib-v0.9.0

Conversation

@cj401-amd
Copy link

@cj401-amd cj401-amd commented Jan 28, 2026

Motivation

Technical Details

with rocm-plugin


python3 stack.py develop \
    --rebuild-makefile \
    --fix-bazel-symbols \
    --xla-dir=/work/xla \
    --kernel-jax-dir=/work/jax \
    --rocm-path=${ROCM_PATH}

cd jax_rocm_plugin
make refresh refresh_jaxlib

Test Plan

cd jax;
python3 tests/profiler_test.py

Test Result

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1769609753.588043  150718 session_manager.cc:50] device_tracer_level expects an i value.
W0000 00:00:1769609753.588095  150718 session_manager.cc:50] host_tracer_level expects an i value.
W0000 00:00:1769609753.588100  150718 session_manager.cc:50] python_tracer_level expects an i value.
Starting to trace for 500 ms. Remaining attempt(s): 2
W0128 14:15:53.594123  150715 profiler_session.cc:109] Profiling is late by 5966164 nanoseconds and will start immediately.
W0000 00:00:1769609754.312314  150718 derived_timeline.cc:590] Found derived XLine with clashing display ID: 1. This will cause rendering issues in Trace Viewer.
Dumped profiling information in: /tmp/absl_testing
[       OK ] ProfilerTest.test_remote_profiler
[ RUN      ] ProfilerTest.test_remote_profiler_gcs_path
[  SKIPPED ] ProfilerTest.test_remote_profiler_gcs_path - Profiler takes >30s on Cloud TPUs
[ RUN      ] ProfilerTest.test_rocm_kernel_details_in_trace_json
[       OK ] ProfilerTest.test_rocm_kernel_details_in_trace_json
[ RUN      ] ProfilerTest.test_rocm_profiling
[       OK ] ProfilerTest.test_rocm_profiling
----------------------------------------------------------------------
Ran 22 tests in 74.087s

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