Commit Graph

55 Commits

Author SHA1 Message Date
Fergus Henderson
6f3bab216d Update from flatbuffers 25.2.10 to 25.9.23.
PiperOrigin-RevId: 813955553
2025-10-01 16:25:25 -07:00
A. Unique TensorFlower
5feca55740 Put NVIDIA wheels in ci/official/requirements_updater/nvidia-requirements.txt to have central place defining wheel versions.
This change is made to have consistency in parsing NVIDIA dependencies with [JAX repository](https://github.com/jax-ml/jax/pull/30706)

`nvidia-requirements.txt` is used in Bazel hermetic python lock files and in the `tools/pip_package/setup.py` with the package requirements.

The file content is saved in the `nvidia_wheel_versions repository` and passed as an argument to `modify_setup_py.py` that populates `setup_py.tpl` script.

PiperOrigin-RevId: 802755816
2025-09-03 16:57:17 -07:00
A. Unique TensorFlower
46cf20bf28 [NCCL] Upgrade TF NCCL version to 2.27.7
PiperOrigin-RevId: 793761504
2025-08-11 12:57:36 -07:00
A. Unique TensorFlower
f4ee7a188e Remove local_config_nvshmem repository from XLA and Tensorflow WORKSPACE files.
Upgrading manylinux compliancy tag in [JAX PR](https://github.com/jax-ml/jax/pull/29672) enabled building targets with linked `nvshmem` libraries.

PiperOrigin-RevId: 786533277
2025-07-23 20:39:56 -07:00
A. Unique TensorFlower
30d53c63ba Update keras-nightly and typing-extensions versions in the lock files.
PiperOrigin-RevId: 786399568
2025-07-23 13:24:07 -07:00
A. Unique TensorFlower
026ccaa614 [NCCL] Upgrade TF NCCL version to 2.26.5
PiperOrigin-RevId: 784275018
2025-07-17 13:00:41 -07:00
TensorFlower Gardener
c582381837 Merge pull request #95621 from tensorflow:dependabot/pip/urllib3-2.5.0
PiperOrigin-RevId: 774658781
2025-06-23 01:14:08 -07:00
dependabot[bot]
8c39943a1a
Bump urllib3 from 2.2.2 to 2.5.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.2 to 2.5.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.2...2.5.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 08:37:32 +00:00
dependabot[bot]
a1242d8b85
Bump protobuf from 6.30.2 to 6.31.1
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 6.30.2 to 6.31.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v6.30.2...v6.31.1)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-version: 6.31.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 08:37:15 +00:00
Vadym Matsishevskyi
724f36e009 Major deps update:
-Protobuf 5.28.3
-Grpc 1.68.2
-Abseil: LTS 20240116.3
-Plus some other transitive/related deps, riegeli and pybind11 in particular.
-rules_python & rules_cc will be updated in a subsequent CL as they are their own can of worms, plus there are a few pending changes in rules_python which were not pushed yet.

This also switches default protobuf implementation we rely on for bazel builds from cpp to upb, meaning all projects dependin on htis one must be built with build --action_env=PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=upb.

PiperOrigin-RevId: 773586210
2025-06-20 01:35:16 -07:00
dependabot[bot]
a21a99afd7
Bump requests from 2.32.3 to 2.32.4
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 08:54:41 +00:00
TensorFlower Gardener
855a356fdc Merge pull request #93673 from tensorflow:dependabot/pip/setuptools-78.1.1
PiperOrigin-RevId: 763881548
2025-05-27 11:44:51 -07:00
A. Unique TensorFlower
f4860b5614 Upgrade the h5py version in requirement_lock files.
PiperOrigin-RevId: 763859858
2025-05-27 11:04:21 -07:00
dependabot[bot]
24761bd585
Bump setuptools from 70.0.0 to 78.1.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.0.0 to 78.1.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.0.0...v78.1.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 78.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 20:20:47 +00:00
A. Unique TensorFlower
28f5dde21e Add zstd support to DecodeCompressedOp
This only allows for zstd decompression of data produced by other tools, and
does so directly inline. It would be nice to add full zstd support for reading
and writing streams of data like
https://github.com/tensorflow/tensorflow/pull/58871 did, but DecodeCompressedOp
only needs a straightforward decompress implementation (even without streaming!)
since the end result is going to be an in-memory tensor anyway.

PiperOrigin-RevId: 731749205
2025-02-27 09:34:43 -08:00
A. Unique TensorFlower
cf389e5ab7 [NCCL] Upgrade TF NCCL version to 2.25.1
PiperOrigin-RevId: 725521622
2025-02-11 01:25:34 -08:00
Antonio Sanchez
c49fbe6cc0 Update ml_dtypes version and path.
The include paths for headers within the ml_dtypes package have changed.
We therefore need to adjust the TF/XLA build rules and paths to account
for this.  Also updated the pip ml_dtypes version to match.

The main ml_dtypes repo name needed to be changed to avoid
conflicts with the ml_dtypes subfolder.  The subfolder contains the main
python package that needs to be added to the PYTHON_PATH.

PiperOrigin-RevId: 723654395
2025-02-05 14:47:55 -08:00
A. Unique TensorFlower
d24c61b7bd Update py_import macros for the ability to unpack additional wheels in the same folder as the main wheel.
Usage example: provide NVIDIA wheel dependencies for ML wheels that have rpaths pointing to NVIDIA folders. When a user executes `pip install tensorflow[and_cuda]`, NVIDIA wheels are installed together with Tensorflow wheel. To reproduce this behavior in hermetic Python approach, we need to define `py_import` as follows (provided NVIDIA dependencies are defined in `requirements.in` and requirements lock files):

        py_import(
            name = "tf_py_import",
            wheel = ":wheel",
            deps = [
                "@pypi_absl_py//:pkg",
                "@pypi_astunparse//:pkg",
                "@pypi_flatbuffers//:pkg",
                "@pypi_gast//:pkg",
                "@pypi_ml_dtypes//:pkg",
                "@pypi_numpy//:pkg",
                "@pypi_opt_einsum//:pkg",
                "@pypi_packaging//:pkg",
                "@pypi_protobuf//:pkg",
                "@pypi_requests//:pkg",
                "@pypi_termcolor//:pkg",
                "@pypi_typing_extensions//:pkg",
                "@pypi_wrapt//:pkg",
            ],
            wheel_deps = [
                "@pypi_nvidia_cublas_cu12//:whl",
                "@pypi_nvidia_cuda_cupti_cu12//:whl",
                "@pypi_nvidia_cuda_nvcc_cu12//:whl",
                "@pypi_nvidia_cuda_nvrtc_cu12//:whl",
                "@pypi_nvidia_cuda_runtime_cu12//:whl",
                "@pypi_nvidia_cudnn_cu12//:whl",
                "@pypi_nvidia_cufft_cu12//:whl",
                "@pypi_nvidia_curand_cu12//:whl",
                "@pypi_nvidia_cusolver_cu12//:whl",
                "@pypi_nvidia_cusparse_cu12//:whl",
                "@pypi_nvidia_nccl_cu12//:whl",
                "@pypi_nvidia_nvjitlink_cu12//:whl",
            ],
        )

PiperOrigin-RevId: 705666137
2024-12-12 16:33:05 -08:00
A. Unique TensorFlower
5667b2dfa8 Add TF wheel compliance verification in Bazel build rule.
The compliance check is disabled by default, but can be turned on by `--@local_tsl//third_party/py:wheel_compliance=true` option.

PiperOrigin-RevId: 695870736
2024-11-12 14:33:28 -08:00
dependabot[bot]
f459c7f482
Bump werkzeug from 3.0.3 to 3.0.6
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 00:18:03 +00:00
Raviteja Gorijala
e551a7b9ab Update tb-nightly to 2.19.0a and keras-nightly >= 3.6.0.dev
PiperOrigin-RevId: 681101860
2024-10-01 11:46:13 -07:00
Kanglan Tang
c46888a695 Update support for NumPy 2.1
Note that NumPy 2.1 does not support Python 3.9 https://numpy.org/doc/stable/release/2.1.0-notes.html#numpy-2-1-0-release-notes

PiperOrigin-RevId: 678391800
2024-09-24 14:41:01 -07:00
A. Unique TensorFlower
55ca3b150c Add TF wheel API test.
This test verifies whether the API v2 packages can be imported from the
current build. It utilizes the `_api/v2/api_packages.txt` list of packages from
the local wheel file specified in the `requirements_lock_<python_version>.txt`.

The test should be executed after the TF wheel was built and put into `dist` dir inside Tensorflow repository.

PiperOrigin-RevId: 676893008
2024-09-20 10:43:17 -07:00
Kanglan Tang
0b1c40d424 [Numpy] Upgrade TF wheels to NumPy 2.0
To ensure compatibility with numpy>=2.0.0, the following dependencies have been upgraded as well: ml-dtype>=0.4.0, h5py>=3.11.0, and scipy>=1.13.0.

Maintain lock files and an env file for follow up numpy1 jobs as planned.

PiperOrigin-RevId: 676114036
2024-09-18 13:47:34 -07:00
TensorFlower Gardener
04f560fad9 Merge pull request #70906 from tensorflow:dependabot/pip/certifi-2024.7.4
PiperOrigin-RevId: 653120004
2024-07-17 00:31:29 -07:00
dependabot[bot]
21c53b126c
Bump setuptools from 68.2.2 to 70.0.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 68.2.2 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v68.2.2...v70.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 18:46:34 +00:00
dependabot[bot]
8603f6ae0a
Bump certifi from 2024.6.2 to 2024.7.4
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 17:04:16 +00:00
dependabot[bot]
06c9af1cbf
Bump urllib3 from 2.2.1 to 2.2.2
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 23:38:34 +00:00
Raviteja Gorijala
611e003aa4 Use tensorboard nightly 2.18.0a
PiperOrigin-RevId: 642677285
2024-06-12 12:00:33 -07:00
Michael Hudgins
8fde1f4381 Update TensorFlow ml_dtypes dependency to >= 0.3.1 < 0.5.0
PiperOrigin-RevId: 642337465
2024-06-11 12:11:49 -07:00
Michael Hudgins
2682fa3063 Update requirements lock post branch cut
PiperOrigin-RevId: 640937130
2024-06-06 10:43:54 -07:00
dependabot[bot]
803d7917db
Bump werkzeug from 3.0.1 to 3.0.3
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 19:21:12 +00:00
dependabot[bot]
194dc4684b
Bump idna from 3.6 to 3.7
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 04:38:53 +00:00
Raviteja Gorijala
104408481c Use tensorboard nightly 2.17.0a
PiperOrigin-RevId: 607222086
2024-02-14 23:17:18 -08:00
Ramesh Sampath
5e37afaff3 Remove the upperbound from wrapt
PiperOrigin-RevId: 605155728
2024-02-07 18:17:28 -08:00
A. Unique TensorFlower
0165166227 Add dm-tree hashes for 3.12
PiperOrigin-RevId: 604805806
2024-02-06 17:01:22 -08:00
A. Unique TensorFlower
aa35dc2761 Remove Estimator from Tensorflow.
The change was made public in TensorFlow 2.14 and 2.15 release notes: https://github.com/tensorflow/tensorflow/releases

PiperOrigin-RevId: 600623585
2024-01-22 18:14:00 -08:00
A. Unique TensorFlower
aa216a30eb Update Python requirements.
Mainly to update the Keras dep for 3.12.

PiperOrigin-RevId: 578248203
2023-10-31 11:35:52 -07:00
Francois Chollet
0fa88ccc34 Start switching tf-nightly to use Keras 3.
PiperOrigin-RevId: 574606796
2023-10-18 14:56:34 -07:00
A. Unique TensorFlower
5f7f05a80a Update Python packages' requirements for Python 3.12.
PiperOrigin-RevId: 574111451
2023-10-17 05:09:56 -07:00
A. Unique TensorFlower
75366c3996 Runs requirements updater to fix nightly Python 3.11 error.
Error is caused by pypi_wrapt hash mismatch. See https://github.com/tensorflow/tflite-micro/issues/2264.

PiperOrigin-RevId: 571775303
2023-10-08 14:16:19 -07:00
Marc Fisher II
6eac7a68a2 Update requirements. 2023-09-07 15:12:03 -07:00
Marc Fisher II
24b54dcd51 Update requirements for TF-related projects to 2.15 versions. 2023-09-07 15:10:44 -07:00
halseycamilla
f14168b2d4 Add back six pt 2 2023-08-17 20:35:02 +00:00
halseycamilla
10c1789ac9 removed extra six and updated lock files 2023-08-17 20:35:01 +00:00
halseycamilla
7224b2e421 Add back six pt 2 2023-08-17 19:12:14 +00:00
halseycamilla
b5a4bfe543 add @six back as dep pt 1 2023-08-17 17:40:59 +00:00
halseycamilla
b40bd5adc9 removed extra six and updated lock files 2023-08-15 17:36:28 +00:00
A. Unique TensorFlower
1c26b1cf98 update internal files for release
PiperOrigin-RevId: 551353292
2023-07-26 16:52:40 -07:00
A. Unique TensorFlower
231550c3b2 Update requirements_lock files with the newest versions
PiperOrigin-RevId: 550943032
2023-07-25 11:22:15 -07:00