rocm_jax/docs/requirements.txt

25 lines
588 B
Plaintext
Raw Normal View History

absl-py
ipython>=8.8.0 # 8.7.0 has ipython3 lexer error
pydata-sphinx-theme==0.14.4 # v0.15 breaks sidebar toggling
sphinx>=7.3.2,<8.0 # 7.3.0 breaks sphinx-book-theme; 8.0 breaks myst-nb 1.1
sphinx-book-theme==1.1.1 # v1.1.2 requires pydata-sphinx-theme v0.15
sphinx-copybutton>=0.5.0
2022-07-11 14:08:53 -07:00
sphinx-remove-toctrees
sphinx-design
sphinxext-rediraffe
2023-11-20 11:22:29 -08:00
myst-nb>=1.0.0
2020-08-07 11:47:05 -07:00
2021-02-23 10:31:26 -08:00
# Packages used for CI tests.
[export] Add support for serialization and deserialization of Exported At the moment we can export a JAX function into an Exported and we can invoke an Exported from another JAX function, but there is no way to serialize an Exported to be able to use it in another process. Exported now has all the features we had in mind, so it is a reasonable time to add a serialization method. The intention is for the serialization to have backwards compatibility guarantees, meaning that we can deserialize an Exported that has been serialized with an older version of JAX. This PR does not add explicit support for versioning, nor backwards compatibility tests. Those will follow. Here we add serialization and deserialization to bytearray, using the flatbuffers package. We use flatbuffers because it is simple, it has backwards and forwards compatibility guarantees, it is a lightweight dependency that does not require additional build steps, and it is fast (deserialization simply indexes into the bytearray rather than creating a Python structure). In the process of implementing this we have done some small cleanup of the Exported structure: * renamed serialization_version to mlir_module_serialization_version * renamed disabled_checks to disabled_safety_checks This code is tested by changing export_test.py to interpose a serialization followed by a deserialization every time we export.export. There is a known bug with the serialization of effects, so I disabled one of the export tests. Will fix in a subsequent PR. PiperOrigin-RevId: 590078785
2023-12-11 23:22:16 -08:00
flatbuffers
2021-02-23 10:31:26 -08:00
pytest
pytest-xdist
2020-08-07 11:47:05 -07:00
2021-02-23 10:31:26 -08:00
# Packages used for notebook execution
matplotlib
scikit-learn
pooch
numpy
2023-12-21 23:13:29 +00:00
rich[jupyter]
cmake
.[ci] # Install jax from the current directory; jaxlib from pypi.