Skip to content

Commit

Permalink
Delete sharded_jit
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 464081692
  • Loading branch information
yashk2810 authored and jax authors committed Jul 29, 2022
1 parent ff97e12 commit 9a5af23
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 1,016 deletions.
13 changes: 0 additions & 13 deletions jax/BUILD
Expand Up @@ -26,7 +26,6 @@ load(
"py_library_providing_imports_info",
"pytype_library",
"scipy_py_deps",
"sharded_jit_visibility",
)

licenses(["notice"])
Expand Down Expand Up @@ -97,7 +96,6 @@ py_library_providing_imports_info(
"_src/test_util.py",
"*_test.py",
"**/*_test.py",
"interpreters/sharded_jit.py",
],
) + [
# until new parallelism APIs are moved out of experimental
Expand Down Expand Up @@ -139,7 +137,6 @@ py_library_providing_imports_info(
visibility = ["//visibility:public"],
deps = [
":jax",
":sharded_jit",
] + absl_logging_py_deps + numpy_py_deps,
)

Expand All @@ -162,16 +159,6 @@ pytype_library(
deps = [":jax"],
)

# sharded_jit is deprecated. Please do not add any more projects to the visibility.
pytype_library(
name = "sharded_jit",
srcs = ["interpreters/sharded_jit.py"],
visibility = [
":internal",
] + sharded_jit_visibility,
deps = [":jax"],
)

pytype_library(
name = "optimizers",
srcs = [
Expand Down
4 changes: 0 additions & 4 deletions jax/experimental/__init__.py
Expand Up @@ -12,10 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from jax.interpreters.sharded_jit import (
sharded_jit as sharded_jit,
with_sharding_constraint as with_sharding_constraint,
)
from jax.interpreters.pxla import PartitionSpec as PartitionSpec
from jax.experimental.x64_context import (
enable_x64 as enable_x64,
Expand Down

0 comments on commit 9a5af23

Please sign in to comment.