Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 79b0582

Browse files
afrozenatorcopybara-github
authored andcommitted
Don't require installing trax dependencies (jax, jaxlib) since they
aren't available for Windows. PiperOrigin-RevId: 242481869
1 parent 3fb0eee commit 79b0582

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

oss_scripts/oss_pip_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ t2t-trainer --registry_help 2>&1 >/dev/null
2222
t2t-datagen 2>&1 | grep translate_ende 2>&1 >/dev/null && echo passed
2323

2424
# Then install the test dependencies
25-
pip install -q -e .[tests,allen]
25+
pip install -q -e .[tests,allen,trax]
2626
# Make sure to install the atari extras for gym
2727
pip install "gym[atari]"

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
'gunicorn',
4444
'gym',
4545
'h5py',
46-
'jax',
47-
'jaxlib',
4846
'kfac',
4947
'mesh-tensorflow',
5048
'numpy',
@@ -77,6 +75,10 @@
7775
# explicit pip install gym[atari] for the tests.
7876
# 'gym[atari]',
7977
],
78+
'trax': [
79+
'jax',
80+
'jaxlib',
81+
],
8082
'allen': ['Pillow==5.1.0', 'pandas==0.23.0'],
8183
},
8284
classifiers=[

0 commit comments

Comments
 (0)