mirror of
https://github.com/ROCm/jax.git
synced 2025-04-15 19:36:06 +00:00

This change introduces a uniform way of building the artifacts and controlling the filename version suffixes (see the changes for `jaxlib`, `jax-cuda-plugin` and `jax-cuda-pjrt` in https://github.com/jax-ml/jax/pull/25126) Previously `jax` wheel was built via `python3 -m build` command. The resulting wheel contained the python packages files in `jax` folder (e.g. the files in the subdirs that have `__init__.py` file). You can still build the `jax` wheel with `python3 -m build` command. Bazel `jax` wheel target: `//:jax_wheel` Environment variables combinations for creating wheels with different versions: * self-built wheel (default build rule behavior): `--repo_env=ML_WHEEL_TYPE=snapshot` * release: `--repo_env=ML_WHEEL_TYPE=release` * release candidate: `--repo_env=ML_WHEEL_TYPE=release --repo_env=ML_WHEEL_VERSION_SUFFIX=-rc1` * nightly build: `--repo_env=ML_WHEEL_TYPE=custom --repo_env=ML_WHEEL_BUILD_DATE=<YYYYmmdd> --repo_env=ML_WHEEL_GIT_HASH=$(git rev-parse HEAD)` PiperOrigin-RevId: 730916743
24 lines
504 B
Plaintext
24 lines
504 B
Plaintext
absl-py
|
|
build
|
|
cloudpickle
|
|
colorama>=0.4.4
|
|
filelock
|
|
flatbuffers
|
|
hypothesis
|
|
mpmath>=1.3
|
|
pillow>=10.4.0
|
|
# TODO(kanglan): Remove once psutil from portpicker supports python 3.13t
|
|
portpicker; python_version<"3.13"
|
|
pytest-xdist
|
|
wheel
|
|
rich
|
|
# TODO(ybaturina): remove setuptools version
|
|
setuptools<71.0.0
|
|
# matplotlib 3.9.0 pins NumPy 1.23, which is incompatible with the requirement
|
|
# below.
|
|
matplotlib~=3.8.4; python_version=="3.10"
|
|
matplotlib; python_version>="3.11"
|
|
opt-einsum
|
|
auditwheel
|
|
tensorstore==0.1.72
|