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

[PJRT] Use TPU profiler plugin #5793

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Conversation

will-cromar
Copy link
Collaborator

@will-cromar will-cromar commented Nov 13, 2023

The tpu_tracer backend uses a static initializer that requires us to set TPU_LIBRARY_PATH, which required us to roll back #5731. Instead, use the new PJRT C API profiler extension API to register the TPU profiler.

Confirmed that TPU device traces still show up after this change.

image

cc @jyingl3

Copy link
Collaborator

@alanwaketan alanwaketan left a comment

Choose a reason for hiding this comment

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

LGTM.

@will-cromar will-cromar merged commit 3b34cb2 into master Nov 14, 2023
18 checks passed
@will-cromar will-cromar deleted the wcromar/tpu-profiler-plugin branch November 14, 2023 17:56
mbzomowski pushed a commit to mbzomowski-test-org/xla that referenced this pull request Nov 16, 2023
zpcore pushed a commit that referenced this pull request Nov 21, 2023
lsy323 pushed a commit to lsy323/xla that referenced this pull request Nov 28, 2023
chunnienc pushed a commit to chunnienc/xla that referenced this pull request Dec 14, 2023
golechwierowicz pushed a commit that referenced this pull request Jan 12, 2024
bhavya01 pushed a commit that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants