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 tensorflow/profiler as a dependency for tensorflow #1234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 19, 2025

Add tensorflow/profiler as a dependency for tensorflow

As part of an ongoing effort to decouple our ml profiler code from tensorflow, this PR lays the foundation for moving code into tensorflow/profiler.

This PR touches code within tensorflow/tensorflow, tensorflow/profiler, and openxla/xla. Here is an outline of the changes for each repo.
tensorflow/tensorflow:

  • Grant Visibility to //@org_xprof/xprof/(pywrap)

openxla/xla:

  • Functionally a no-op in OSS. Grants visibility to xprof, however all uses are wrapped in internal_visibility.

tensorflow/profiler:

  • Create xprof subdirectory

@copybara-service copybara-service bot force-pushed the test_728773582 branch 8 times, most recently from c0ca10d to 301b6e0 Compare February 25, 2025 10:29
@copybara-service copybara-service bot changed the title Internal code refactor, moving from tensorflow to profiler. Internal code refactor. Feb 28, 2025
@copybara-service copybara-service bot force-pushed the test_728773582 branch 7 times, most recently from feb3121 to 0dfb180 Compare March 6, 2025 21:14
@copybara-service copybara-service bot changed the title Internal code refactor. Move xprof code in tensorflow/python/profiler to xprof. Mar 6, 2025
As part of an ongoing effort to decouple our ml profiler code from tensorflow, this PR lays the foundation for moving code into tensorflow/profiler.

This PR touches code within tensorflow/tensorflow, tensorflow/profiler, and openxla/xla. Here is an outline of the changes for each repo.
tensorflow/tensorflow:
* Grant Visibility to //@org_xprof/xprof/(pywrap)

openxla/xla:
* Functionally a no-op in OSS. Grants visibility to xprof, however all uses are wrapped in `internal_visibility`.

tensorflow/profiler:
* Create xprof subdirectory

PiperOrigin-RevId: 728773582
@copybara-service copybara-service bot changed the title Move xprof code in tensorflow/python/profiler to xprof. Add tensorflow/profiler as a dependency for tensorflow Mar 7, 2025
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