-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 PiperOrigin-RevId: 728773582
- Loading branch information
1 parent
8e1277e
commit 321c39b
Showing
5 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/tensorflow/core/profiler/convert/BUILD | ||
+++ b/tensorflow/core/profiler/convert/BUILD | ||
@@ -4,7 +4,7 @@ | ||
|
||
package( | ||
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], | ||
- default_visibility = ["//tensorflow/core/profiler:internal"], | ||
+ default_visibility = ["//visibility:public"], | ||
licenses = ["notice"], | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/tensorflow/core/profiler/protobuf/BUILD | ||
+++ b/tensorflow/core/profiler/protobuf/BUILD | ||
@@ -33,7 +33,7 @@ | ||
protodeps = [ | ||
"@local_tsl//tsl/profiler/protobuf:xplane_proto", | ||
], | ||
- visibility = [":friends"], | ||
+ visibility = ["//visibility:public"], | ||
exports = [ | ||
"@local_tsl//tsl/profiler/protobuf:xplane_proto", | ||
], |
Empty file.
Empty file.