Skip to content

Commit

Permalink
Internal.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 710787526
  • Loading branch information
maxwillzq authored and Google-ML-Automation committed Jan 6, 2025
1 parent 18b193c commit fa52f25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jax/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ load("@rules_python//python:defs.bzl", "py_library")
load(
"//jaxlib:jax.bzl",
"if_building_jaxlib",
"jax_export_file_visibility",
"jax_extend_internal_users",
"jax_extra_deps",
"jax_internal_export_back_compat_test_util_visibility",
Expand Down Expand Up @@ -62,6 +63,11 @@ exports_files([
"version.py",
])

exports_files(
["_src/export/serialization.fbs"],
visibility = jax_export_file_visibility,
)

# Packages that have access to JAX-internal implementation details.
package_group(
name = "internal",
Expand Down
2 changes: 2 additions & 0 deletions jaxlib/jax.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ def jax_wheel(name, wheel_binary, enable_cuda = False, platform_version = ""):

jax_test_file_visibility = []

jax_export_file_visibility = []

def xla_py_proto_library(*args, **kw): # buildifier: disable=unused-variable
pass

Expand Down

0 comments on commit fa52f25

Please sign in to comment.