Skip to content

Commit

Permalink
Move protobuf deps to be optional.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 466123822
  • Loading branch information
pschuh authored and jax authors committed Aug 8, 2022
1 parent 53f16b7 commit 022fedd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def generate_proto(source):
'scipy>=1.5',
'typing_extensions',
'etils[epath]',
'protobuf>=3.13,<4',
],
extras_require={
# Minimum jaxlib version; used in testing.
Expand All @@ -90,6 +89,9 @@ def generate_proto(source):
# Required by cloud_tpu_init.py
'requests'],

# $ pip install jax[australis]
'australis': ['protobuf>=3.13,<4'],

# CUDA installations require adding jax releases URL; e.g.
# Cuda installation defaulting to a CUDA and Cudnn version defined above.
# $ pip install jax[cuda] -f https://storage.googleapis.com/jax-releases/jax_releases.html
Expand Down

0 comments on commit 022fedd

Please sign in to comment.