diff --git a/.ci_support/linux_64_cuda_compiler_version12.8microarch_level1.yaml b/.ci_support/linux_64_cuda_compiler_version12.9microarch_level1.yaml similarity index 97% rename from .ci_support/linux_64_cuda_compiler_version12.8microarch_level1.yaml rename to .ci_support/linux_64_cuda_compiler_version12.9microarch_level1.yaml index 4ddb3ef3..de7cdabb 100644 --- a/.ci_support/linux_64_cuda_compiler_version12.8microarch_level1.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.9microarch_level1.yaml @@ -13,9 +13,9 @@ channel_targets: cuda_compiler: - cuda-nvcc cuda_compiler_version: -- '12.8' +- '12.9' cudnn: -- '9.10' +- '9' cxx_compiler: - gxx cxx_compiler_version: @@ -76,6 +76,5 @@ zip_keys: - cxx_compiler_version - c_stdlib_version - cuda_compiler_version - - cudnn zlib: - '1' diff --git a/.ci_support/linux_64_cuda_compiler_version12.8microarch_level3.yaml b/.ci_support/linux_64_cuda_compiler_version12.9microarch_level3.yaml similarity index 97% rename from .ci_support/linux_64_cuda_compiler_version12.8microarch_level3.yaml rename to .ci_support/linux_64_cuda_compiler_version12.9microarch_level3.yaml index 22e8c8cf..f7ff716c 100644 --- a/.ci_support/linux_64_cuda_compiler_version12.8microarch_level3.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.9microarch_level3.yaml @@ -13,9 +13,9 @@ channel_targets: cuda_compiler: - cuda-nvcc cuda_compiler_version: -- '12.8' +- '12.9' cudnn: -- '9.10' +- '9' cxx_compiler: - gxx cxx_compiler_version: @@ -76,6 +76,5 @@ zip_keys: - cxx_compiler_version - c_stdlib_version - cuda_compiler_version - - cudnn zlib: - '1' diff --git a/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level1.yaml b/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level1.yaml index 86a8d81c..cf3f3c57 100644 --- a/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level1.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level1.yaml @@ -76,6 +76,5 @@ zip_keys: - cxx_compiler_version - c_stdlib_version - cuda_compiler_version - - cudnn zlib: - '1' diff --git a/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level3.yaml b/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level3.yaml index 694c65f9..6e720a3f 100644 --- a/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level3.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonemicroarch_level3.yaml @@ -76,6 +76,5 @@ zip_keys: - cxx_compiler_version - c_stdlib_version - cuda_compiler_version - - cudnn zlib: - '1' diff --git a/.ci_support/linux_aarch64_cuda_compiler_versionNone.yaml b/.ci_support/linux_aarch64_c_compiler_version11cuda_compiler_versionNonecxx_compiler_version11.yaml similarity index 100% rename from .ci_support/linux_aarch64_cuda_compiler_versionNone.yaml rename to .ci_support/linux_aarch64_c_compiler_version11cuda_compiler_versionNonecxx_compiler_version11.yaml diff --git a/.ci_support/migrations/cuda128.yaml b/.ci_support/migrations/cuda128.yaml deleted file mode 100644 index c6fa8e4d..00000000 --- a/.ci_support/migrations/cuda128.yaml +++ /dev/null @@ -1,52 +0,0 @@ -migrator_ts: 1738229377 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 - paused: false - use_local: true - override_cbc_keys: - - cuda_compiler_stub - check_solvable: false - primary_key: cuda_compiler_version - ordering: - cuda_compiler_version: - - 11.8 - - 12.4 - - 12.6 - - None - - 12.8 - - 12.9 - - 13.0 - commit_message: | - Upgrade to CUDA 12.8 - - With CUDA 12.8, the following new architectures are added `sm_100`, `sm_101` and `sm_120`. - To build for these architectures, maintainers will need to add these to list of architectures - that their package builds for. - - ref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#new-features - -cuda_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12.8 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -c_stdlib_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 2.17 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -cudnn: # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 9 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11 # [linux and aarch64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 14 # [linux and x86_64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -cxx_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11 # [linux and aarch64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 14 # [linux and x86_64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -fortran_compiler_version: # [linux and (x86_64 or aarch64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11 # [linux and aarch64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 14 # [linux and x86_64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] diff --git a/.ci_support/migrations/cuda129.yaml b/.ci_support/migrations/cuda129.yaml new file mode 100644 index 00000000..a0d37757 --- /dev/null +++ b/.ci_support/migrations/cuda129.yaml @@ -0,0 +1,61 @@ +migrator_ts: 1738229377 +__migrator: + kind: + version + migration_number: + 1 + build_number: + 1 + paused: false + override_cbc_keys: + - cuda_compiler_stub + check_solvable: false + primary_key: cuda_compiler_version + ordering: + cuda_compiler_version: + - 12.4 + - 12.6 + - 12.8 + - None + - 12.9 + - 13.0 + # to allow manual opt-in for CUDA 11.8, see + # https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/7472 + # must be last due to how cuda_compiler ordering in that migrator works + - 11.8 + commit_message: | + Upgrade to CUDA 12.9 + + CUDA 12.8 added support for architectures `sm_100`, `sm_101` and `sm_120`, + while CUDA 12.9 further added `sm_103` and `sm_121`. To build for these, + maintainers will need to modify their existing list of specified architectures + (e.g. `CMAKE_CUDA_ARCHITECTURES`, `TORCH_CUDA_ARCH_LIST`, etc.) + for their package. A good balance between broad support and storage + footprint (resp. compilation time) is to add `sm_100` and `sm_120`. + + Since CUDA 12.8, the conda-forge nvcc package now sets `CUDAARCHS` + in its activation script to a string containing all + of the supported real architectures plus the virtual architecture of the + latest. Recipes for packages who use these variables to control their build + but do not want to build for all supported architectures will need to override + these variables in their build script. + + ref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#new-features + +cuda_compiler_version: # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12.9 # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +cuda_compiler_version_min: # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12.9 # [((linux and (x86_64 or aarch64)) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +c_stdlib_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 2.17 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +c_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +cxx_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + +fortran_compiler_version: # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 14 # [(linux and (x86_64 or aarch64)) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] diff --git a/.ci_support/migrations/cudnn910.yaml b/.ci_support/migrations/cudnn910.yaml deleted file mode 100644 index 0a657ef1..00000000 --- a/.ci_support/migrations/cudnn910.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# needs to be ordered before CUDA 13.0 migrator -migrator_ts: 1755016000 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 - ordering: - cudnn: - - None - - 9 - - 9.10 - commit_message: | - Rebuild for cudnn 9.10 - - Conda-forge assumed cudnn 9.x builds would stay compatible with each other. - This is the case for the API/ABI of the library, but nvidia dropped support - for older GPU architectures in cudnn 9.11. Since we have no package-level - metadata about compatibility with specific GPU architectures, this effectively - breaks all packages built atop cudnn for users on affected older GPUs. - - In order to remedy this situation, we need to rebuild all cudnn-dependent - feedstocks against cudnn 9.10 (the last version with full architecture support), - before we mark all those newer cudnn builds as broken. This only affects artefacts - for CUDA 12.x; those for CUDA 13.x are not affected, since CUDA 13 never supported - those older architectures in the first place. - - For more details see: https://github.com/conda-forge/cudnn-feedstock/issues/124 - -cudnn: - - None - - 9.10 # [((linux and not ppc64le) or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index f1205562..801e12b2 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -21,15 +21,15 @@ jobs: fail-fast: false matrix: include: - - CONFIG: linux_64_cuda_compiler_version12.8microarch_level1 + - CONFIG: linux_64_cuda_compiler_version12.9microarch_level1 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.8microa_hc8cea6d2', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.9microa_h28a6e8b1', 'linux', 'x64', 'self-hosted'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - - CONFIG: linux_64_cuda_compiler_version12.8microarch_level3 + - CONFIG: linux_64_cuda_compiler_version12.9microarch_level3 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.8microa_h82e5350b', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.9microa_h764a83b2', 'linux', 'x64', 'self-hosted'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_cuda_compiler_versionNonemicroarch_level1 UPLOAD_PACKAGES: True @@ -41,10 +41,10 @@ jobs: os: ubuntu runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_64_cuda_compiler_versionNonemicroa_hb1134425', 'linux', 'x64', 'self-hosted'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - - CONFIG: linux_aarch64_cuda_compiler_versionNone + - CONFIG: linux_aarch64_c_compiler_version11cuda_compiler_versionNonecxx_compiler_version11 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_aarch64_cuda_compiler_versionNone', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-cpu-2xlarge--${{ github.run_id }}-linux_aarch64_c_compiler_version11cuda_c_hde0bec76', 'linux', 'x64', 'self-hosted'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 steps: @@ -126,4 +126,4 @@ jobs: UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} - STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} + STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 10c5a24a..f57247f9 100644 --- a/README.md +++ b/README.md @@ -37,17 +37,17 @@ Current build status - + - + @@ -65,10 +65,10 @@ Current build status - + diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 8e4ff08b..fb5be67d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,6 @@ {% set version = "2.19.1" %} {% set estimator_version = "2.15.0" %} -{% set build = 1 %} +{% set build = 2 %} {% if cuda_compiler_version != "None" %} {% set build = build + 200 %} @@ -75,6 +75,8 @@ source: - patches/0041-Disable-profiler.patch - patches/0042-bump-h5py-req.patch # [aarch64] - patches/0043-cross-arch-config.patch # [aarch64 and target_platform != build_platform] + # backport https://github.com/tensorflow/tensorflow/pull/99364 + - patches/0044-Support-for-TFv2.20-to-compile-with-CUDA-v12.9.1.patch - url: https://github.com/tensorflow/estimator/archive/refs/tags/v{{ estimator_version.replace(".rc", "-rc") }}.tar.gz sha256: 2d7e100b1878084da34b5e23b49a0cbb5ee8a7add74b7dd189a82ada1cf85530 folder: tensorflow-estimator diff --git a/recipe/patches/0001-loosen-requirements.patch b/recipe/patches/0001-loosen-requirements.patch index 381efcd1..108813cd 100644 --- a/recipe/patches/0001-loosen-requirements.patch +++ b/recipe/patches/0001-loosen-requirements.patch @@ -1,7 +1,7 @@ -From ae4b01cd668c949c88872ba30e3ea44e0c43b633 Mon Sep 17 00:00:00 2001 +From 86b5ecb970a2893fa01360b830cb86c3c7d9fc75 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 30 Dec 2021 06:57:09 +0200 -Subject: [PATCH 01/41] loosen requirements +Subject: [PATCH 01/44] loosen requirements * Remove unused libclang requirement * Remove unecessary tensorflow-io-gcs-filesystem @@ -15,7 +15,7 @@ Co-authored-by: Uwe L. Korn 1 file changed, 4 deletions(-) diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py -index 8f2d06ec373..35290f2226c 100644 +index d83b45ea3cd..414b7df48b6 100644 --- a/tensorflow/tools/pip_package/setup.py +++ b/tensorflow/tools/pip_package/setup.py @@ -84,7 +84,6 @@ REQUIRED_PACKAGES = [ diff --git a/recipe/patches/0002-Add-additional-absl_synchronization-linkage-to-gRPC.patch b/recipe/patches/0002-Add-additional-absl_synchronization-linkage-to-gRPC.patch index 8c039c2e..57932124 100644 --- a/recipe/patches/0002-Add-additional-absl_synchronization-linkage-to-gRPC.patch +++ b/recipe/patches/0002-Add-additional-absl_synchronization-linkage-to-gRPC.patch @@ -1,7 +1,7 @@ -From c26ba3c6eb5a544a01dad89dbd726b0514ff2f2e Mon Sep 17 00:00:00 2001 +From e5601104fd788ee7912858e97f3f67fc297463af Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 30 Jun 2023 08:39:32 +0000 -Subject: [PATCH 02/41] Add additional absl_synchronization linkage to gRPC +Subject: [PATCH 02/44] Add additional absl_synchronization linkage to gRPC --- third_party/systemlibs/grpc.BUILD | 3 +++ diff --git a/recipe/patches/0003-Fix-missing-abseil-linkages.patch b/recipe/patches/0003-Fix-missing-abseil-linkages.patch index e38d0fab..abb722d1 100644 --- a/recipe/patches/0003-Fix-missing-abseil-linkages.patch +++ b/recipe/patches/0003-Fix-missing-abseil-linkages.patch @@ -1,7 +1,7 @@ -From 08d13175a8a97ed97de56b89f836d9a7624d677c Mon Sep 17 00:00:00 2001 +From 5f000fa6e71b9dbaaf8fc1ac691e3884106cb852 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 3 Jul 2023 04:45:46 +0000 -Subject: [PATCH 03/41] Fix missing abseil linkages +Subject: [PATCH 03/44] Fix missing abseil linkages --- third_party/absl/system.absl.strings.BUILD | 2 +- diff --git a/recipe/patches/0004-Fix-protobuf_python-for-systemlibs.patch b/recipe/patches/0004-Fix-protobuf_python-for-systemlibs.patch index 4567c27a..f084f170 100644 --- a/recipe/patches/0004-Fix-protobuf_python-for-systemlibs.patch +++ b/recipe/patches/0004-Fix-protobuf_python-for-systemlibs.patch @@ -1,7 +1,7 @@ -From 78fe26cde07460b7e2ebfe2b017398986ea8f10a Mon Sep 17 00:00:00 2001 +From 298c5e540ab03f75ab5ede906fbb21d54ee8dc8f Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 30 Aug 2023 16:58:41 +0200 -Subject: [PATCH 04/41] Fix protobuf_python for systemlibs +Subject: [PATCH 04/44] Fix protobuf_python for systemlibs --- tensorflow/workspace2.bzl | 1 + diff --git a/recipe/patches/0005-Add-absl_log-systemlib.patch b/recipe/patches/0005-Add-absl_log-systemlib.patch index 14e79c48..c846087e 100644 --- a/recipe/patches/0005-Add-absl_log-systemlib.patch +++ b/recipe/patches/0005-Add-absl_log-systemlib.patch @@ -1,7 +1,7 @@ -From 1bb1c61fa1e5a13e2db74dbc9c4aaf08d7a7e17f Mon Sep 17 00:00:00 2001 +From d49beaef49c52ea690f02de7cfbde0e6aef06490 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 30 Aug 2023 16:59:28 +0200 -Subject: [PATCH 05/41] Add absl_log systemlib +Subject: [PATCH 05/44] Add absl_log systemlib --- third_party/absl/system.absl.log.BUILD | 22 ++++++++++++++++++++++ diff --git a/recipe/patches/0006-Omit-linking-to-layout_proto_cc-if-protobuf-linkage-.patch b/recipe/patches/0006-Omit-linking-to-layout_proto_cc-if-protobuf-linkage-.patch index b87a2bcc..3ddd9614 100644 --- a/recipe/patches/0006-Omit-linking-to-layout_proto_cc-if-protobuf-linkage-.patch +++ b/recipe/patches/0006-Omit-linking-to-layout_proto_cc-if-protobuf-linkage-.patch @@ -1,7 +1,7 @@ -From 0d4bb8d059721a4969f8c0267ce92c753ba1e521 Mon Sep 17 00:00:00 2001 +From e449e51b042dac4e687fb9dd95cb472819ae0dba Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 15 Sep 2023 11:06:27 +0200 -Subject: [PATCH 06/41] Omit linking to layout_proto_cc if protobuf linkage is +Subject: [PATCH 06/44] Omit linking to layout_proto_cc if protobuf linkage is shared --- diff --git a/recipe/patches/0007-Fix-further-abseil-linkage.patch b/recipe/patches/0007-Fix-further-abseil-linkage.patch index 705789bf..75d0c8fe 100644 --- a/recipe/patches/0007-Fix-further-abseil-linkage.patch +++ b/recipe/patches/0007-Fix-further-abseil-linkage.patch @@ -1,7 +1,7 @@ -From 06977c1cf3f9af375fab69b189a3862e02774f44 Mon Sep 17 00:00:00 2001 +From 7010ed5f6b5832cebabee3ff33cd987dc003fcdc Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 18 Sep 2023 14:47:08 +0000 -Subject: [PATCH 07/41] Fix further abseil linkage +Subject: [PATCH 07/44] Fix further abseil linkage --- third_party/absl/system.absl.base.BUILD | 14 ++++++++++++-- diff --git a/recipe/patches/0008-Add-constraint-to-pybind11-systemlib.patch b/recipe/patches/0008-Add-constraint-to-pybind11-systemlib.patch index eaf52b22..915430dc 100644 --- a/recipe/patches/0008-Add-constraint-to-pybind11-systemlib.patch +++ b/recipe/patches/0008-Add-constraint-to-pybind11-systemlib.patch @@ -1,7 +1,7 @@ -From 2ca8630407e1761f3a1cad9e83ac62e5283cf24d Mon Sep 17 00:00:00 2001 +From 8d650f38d371a8ba2a48bf2caed5ec094a15a4c3 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 27 Oct 2023 11:20:12 +0200 -Subject: [PATCH 08/41] Add constraint to pybind11 systemlib +Subject: [PATCH 08/44] Add constraint to pybind11 systemlib --- third_party/systemlibs/pybind11.BUILD | 6 ++++++ diff --git a/recipe/patches/0009-Different-file-ending-for-flatbuffers-LICENSE.patch b/recipe/patches/0009-Different-file-ending-for-flatbuffers-LICENSE.patch index 2bf8c943..479df023 100644 --- a/recipe/patches/0009-Different-file-ending-for-flatbuffers-LICENSE.patch +++ b/recipe/patches/0009-Different-file-ending-for-flatbuffers-LICENSE.patch @@ -1,7 +1,7 @@ -From 98427157b56dcc5c1e785c5324c9fb0b3776fb3a Mon Sep 17 00:00:00 2001 +From 0a2b6ff411c387419807e50b9a4dc61118068d40 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 27 Oct 2023 11:21:11 +0200 -Subject: [PATCH 09/41] Different file ending for flatbuffers LICENSE +Subject: [PATCH 09/44] Different file ending for flatbuffers LICENSE --- third_party/flatbuffers/BUILD.system | 5 +++++ diff --git a/recipe/patches/0010-Use-correct-hermetic-python.patch b/recipe/patches/0010-Use-correct-hermetic-python.patch index a195a29e..fcff78b9 100644 --- a/recipe/patches/0010-Use-correct-hermetic-python.patch +++ b/recipe/patches/0010-Use-correct-hermetic-python.patch @@ -1,7 +1,7 @@ -From f8a71b341d0fa6442c7c05dd0c597b5d32bf39c0 Mon Sep 17 00:00:00 2001 +From 5097302c242f7640cfe9dc9c390f74e72e16f2db Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 27 Oct 2023 11:21:38 +0200 -Subject: [PATCH 10/41] Use correct, hermetic python +Subject: [PATCH 10/44] Use correct, hermetic python --- .../tensorflow/gen_quantized_function_library.py | 5 +++++ diff --git a/recipe/patches/0011-Add-well_known_types_py_pb2-to-protobuf-systemlib.patch b/recipe/patches/0011-Add-well_known_types_py_pb2-to-protobuf-systemlib.patch index a35f0864..559f977e 100644 --- a/recipe/patches/0011-Add-well_known_types_py_pb2-to-protobuf-systemlib.patch +++ b/recipe/patches/0011-Add-well_known_types_py_pb2-to-protobuf-systemlib.patch @@ -1,7 +1,7 @@ -From 795cb1ee4f72fd5e4cb85b54394bf0bc763a9694 Mon Sep 17 00:00:00 2001 +From 4c8a39682d2b46a28f18e8b229d28a979baf54f5 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 15 Nov 2023 09:18:28 +0100 -Subject: [PATCH 11/41] Add well_known_types_py_pb2 to protobuf systemlib +Subject: [PATCH 11/44] Add well_known_types_py_pb2 to protobuf systemlib --- third_party/systemlibs/protobuf.BUILD | 7 +++++++ diff --git a/recipe/patches/0012-Add-protobuf-toolchain.patch b/recipe/patches/0012-Add-protobuf-toolchain.patch index 83552a0a..cc974899 100644 --- a/recipe/patches/0012-Add-protobuf-toolchain.patch +++ b/recipe/patches/0012-Add-protobuf-toolchain.patch @@ -1,7 +1,7 @@ -From e6d327cbf0aaf7e60e92af92a68fb1962f5ad0bc Mon Sep 17 00:00:00 2001 +From f2e7bff21265718819306bb033aa6e3b2616cac0 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 15 Nov 2023 10:32:41 +0000 -Subject: [PATCH 12/41] Add protobuf toolchain +Subject: [PATCH 12/44] Add protobuf toolchain --- third_party/systemlibs/protobuf.BUILD | 14 ++++++++++++++ diff --git a/recipe/patches/0013-fix-genproto.patch b/recipe/patches/0013-fix-genproto.patch index 72ab369c..1f362c8e 100644 --- a/recipe/patches/0013-fix-genproto.patch +++ b/recipe/patches/0013-fix-genproto.patch @@ -1,7 +1,7 @@ -From 4d9acbf4fdf1387e43c7bab3ab4848552da3c995 Mon Sep 17 00:00:00 2001 +From e3180872dd6e3c4e43b41153e10d4972df76e0fe Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 16 Nov 2023 06:38:27 +0000 -Subject: [PATCH 13/41] fix genproto +Subject: [PATCH 13/44] fix genproto --- third_party/xla/xla/tsl/platform/default/build_config.bzl | 5 +---- diff --git a/recipe/patches/0014-Remove-some-usage-of-absl-str_format-in-CUDA.patch b/recipe/patches/0014-Remove-some-usage-of-absl-str_format-in-CUDA.patch index a339c3ee..781c3aae 100644 --- a/recipe/patches/0014-Remove-some-usage-of-absl-str_format-in-CUDA.patch +++ b/recipe/patches/0014-Remove-some-usage-of-absl-str_format-in-CUDA.patch @@ -1,7 +1,7 @@ -From 1754621db12ded408afaf34ce1a8dc239d7eb69f Mon Sep 17 00:00:00 2001 +From f3cd093d95bc29c6181c7c0e2d8b67cecfe41704 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 23 Nov 2023 09:05:37 +0000 -Subject: [PATCH 14/41] Remove some usage of absl::str_format in CUDA +Subject: [PATCH 14/44] Remove some usage of absl::str_format in CUDA nvcc from CUDA 11 is unable to correctly handle the new C++ features used in this template. We use a different implementation that should diff --git a/recipe/patches/0015-Adjust-relative-path-for-libdevice.patch b/recipe/patches/0015-Adjust-relative-path-for-libdevice.patch index 92216325..085835d7 100644 --- a/recipe/patches/0015-Adjust-relative-path-for-libdevice.patch +++ b/recipe/patches/0015-Adjust-relative-path-for-libdevice.patch @@ -1,7 +1,7 @@ -From 9fe67e66ea749fb4aa46e885c1a89db8af0e5560 Mon Sep 17 00:00:00 2001 +From 1d522f6512d35302e585f330fd2a7f6dace75cef Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sat, 27 Jan 2024 22:27:56 -0500 -Subject: [PATCH 15/41] Adjust relative path for libdevice +Subject: [PATCH 15/44] Adjust relative path for libdevice --- third_party/xla/xla/tsl/platform/default/cuda_root_path.cc | 2 +- diff --git a/recipe/patches/0016-Link-to-absl_log_flags-instead-of-absl_flags.patch b/recipe/patches/0016-Link-to-absl_log_flags-instead-of-absl_flags.patch index 5c526ce8..0806be35 100644 --- a/recipe/patches/0016-Link-to-absl_log_flags-instead-of-absl_flags.patch +++ b/recipe/patches/0016-Link-to-absl_log_flags-instead-of-absl_flags.patch @@ -1,7 +1,7 @@ -From 325185559fa8f5de25417644fc892c39fdbe2199 Mon Sep 17 00:00:00 2001 +From a019073e0a9bdda8b43809f2b9627da43c934f01 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Mon, 26 Feb 2024 22:30:08 -0500 -Subject: [PATCH 16/41] Link to absl_log_flags instead of absl_flags +Subject: [PATCH 16/44] Link to absl_log_flags instead of absl_flags --- third_party/absl/system.absl.flags.BUILD | 2 +- diff --git a/recipe/patches/0017-Update-ABSL-Log-Definition-for-libabsl_vlog_config_i.patch b/recipe/patches/0017-Update-ABSL-Log-Definition-for-libabsl_vlog_config_i.patch index dd5397b5..9e2da8d2 100644 --- a/recipe/patches/0017-Update-ABSL-Log-Definition-for-libabsl_vlog_config_i.patch +++ b/recipe/patches/0017-Update-ABSL-Log-Definition-for-libabsl_vlog_config_i.patch @@ -1,7 +1,7 @@ -From b027d8a7e8c257e50a8db2ef875f1fdf4b5276c0 Mon Sep 17 00:00:00 2001 +From 7f4410d060de5477f5ef3b6d95e9045bf141a0a4 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Tue, 27 Feb 2024 18:01:19 -0500 -Subject: [PATCH 17/41] Update ABSL Log Definition for +Subject: [PATCH 17/44] Update ABSL Log Definition for libabsl_vlog_config_internal.so --- diff --git a/recipe/patches/0018-add-absl_string_view-target.patch b/recipe/patches/0018-add-absl_string_view-target.patch index b944d9cc..75cdab0a 100644 --- a/recipe/patches/0018-add-absl_string_view-target.patch +++ b/recipe/patches/0018-add-absl_string_view-target.patch @@ -1,7 +1,7 @@ -From 9222ace0a6fd07bca537ea8bbe6f0bf3e1daafc0 Mon Sep 17 00:00:00 2001 +From d6340079592e35b7b6509a22380c707ba7e3a211 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 12 May 2024 18:45:03 +1100 -Subject: [PATCH 18/41] add absl_string_view target +Subject: [PATCH 18/44] add absl_string_view target --- third_party/absl/system.absl.strings.BUILD | 14 +++++++++++++- diff --git a/recipe/patches/0019-add-absl_nullability-target.patch b/recipe/patches/0019-add-absl_nullability-target.patch index 99c6a5fa..fa97841a 100644 --- a/recipe/patches/0019-add-absl_nullability-target.patch +++ b/recipe/patches/0019-add-absl_nullability-target.patch @@ -1,7 +1,7 @@ -From 53c5f176c1280b7e3207a28e6f3e65a5795c15a0 Mon Sep 17 00:00:00 2001 +From af586f3e99c1900f3d3682aa051e598b0dfc0655 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 12 May 2024 19:30:44 +1100 -Subject: [PATCH 19/41] add absl_nullability target +Subject: [PATCH 19/44] add absl_nullability target --- third_party/absl/system.absl.base.BUILD | 8 ++++++++ diff --git a/recipe/patches/0020-add-absl_prefetch-target.patch b/recipe/patches/0020-add-absl_prefetch-target.patch index 716b5628..59534427 100644 --- a/recipe/patches/0020-add-absl_prefetch-target.patch +++ b/recipe/patches/0020-add-absl_prefetch-target.patch @@ -1,7 +1,7 @@ -From b9df95b322f94fa8377f060e7ba4718e1fcaaaae Mon Sep 17 00:00:00 2001 +From efac5df326a3bbeb1c6d531186495720c95f93d7 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 12 May 2024 22:29:25 +1100 -Subject: [PATCH 20/41] add absl_prefetch target +Subject: [PATCH 20/44] add absl_prefetch target --- third_party/absl/system.absl.base.BUILD | 8 ++++++++ diff --git a/recipe/patches/0021-add-absl_die_if_null-target.patch b/recipe/patches/0021-add-absl_die_if_null-target.patch index 677708e0..a817f344 100644 --- a/recipe/patches/0021-add-absl_die_if_null-target.patch +++ b/recipe/patches/0021-add-absl_die_if_null-target.patch @@ -1,7 +1,7 @@ -From 98381356151907b49a5dec905d52ea523abbc5f3 Mon Sep 17 00:00:00 2001 +From 8e9d35b78cda40fedda6b689e8ce06f1d8ea9191 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 12 May 2024 22:46:04 +1100 -Subject: [PATCH 21/41] add absl_die_if_null target +Subject: [PATCH 21/44] add absl_die_if_null target --- third_party/absl/system.absl.log.BUILD | 16 ++++++++++++++++ diff --git a/recipe/patches/0022-add-absl_crc32c-targets.patch b/recipe/patches/0022-add-absl_crc32c-targets.patch index ebecfd55..0f737a4a 100644 --- a/recipe/patches/0022-add-absl_crc32c-targets.patch +++ b/recipe/patches/0022-add-absl_crc32c-targets.patch @@ -1,7 +1,7 @@ -From d062da2c65a8aab38325f1a02b253a668f7227a7 Mon Sep 17 00:00:00 2001 +From 1d94d4f352debab84e477765e739c644e77951d9 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 13 May 2024 09:41:09 +1100 -Subject: [PATCH 22/41] add absl_crc32c targets +Subject: [PATCH 22/44] add absl_crc32c targets --- third_party/absl/system.absl.crc.BUILD | 70 ++++++++++++++++++++++++++ diff --git a/recipe/patches/0023-add-kernel_timeout_internal-target.patch b/recipe/patches/0023-add-kernel_timeout_internal-target.patch index 6bbd64bb..064bba4e 100644 --- a/recipe/patches/0023-add-kernel_timeout_internal-target.patch +++ b/recipe/patches/0023-add-kernel_timeout_internal-target.patch @@ -1,7 +1,7 @@ -From 15e565f9a3ba59df7a36d32104e729483d552357 Mon Sep 17 00:00:00 2001 +From 2ed8ab6b39dfa68f5250c73b0ae618b627b3b6d4 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 13 May 2024 23:36:48 +1100 -Subject: [PATCH 23/41] add kernel_timeout_internal target +Subject: [PATCH 23/44] add kernel_timeout_internal target --- .../absl/system.absl.synchronization.BUILD | 15 +++++++++++++++ diff --git a/recipe/patches/0024-work-around-for-warning-that-clang-falsely-treats-as.patch b/recipe/patches/0024-work-around-for-warning-that-clang-falsely-treats-as.patch index 5a4df262..8f3b9d72 100644 --- a/recipe/patches/0024-work-around-for-warning-that-clang-falsely-treats-as.patch +++ b/recipe/patches/0024-work-around-for-warning-that-clang-falsely-treats-as.patch @@ -1,7 +1,7 @@ -From 5c601370b413359c22c2dfeca6ec76c64bd89880 Mon Sep 17 00:00:00 2001 +From 9f9cee3c5d744678c571a214961dc760d7a56699 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 19 May 2024 20:52:35 +1100 -Subject: [PATCH 24/41] work around for warning that clang falsely treats as +Subject: [PATCH 24/44] work around for warning that clang falsely treats as error see https://github.com/llvm/llvm-project/issues/92630 diff --git a/recipe/patches/0025-Hardcode-BUILD_PREFIX-in-build_pip_package.patch b/recipe/patches/0025-Hardcode-BUILD_PREFIX-in-build_pip_package.patch index aba5034c..3431e7aa 100644 --- a/recipe/patches/0025-Hardcode-BUILD_PREFIX-in-build_pip_package.patch +++ b/recipe/patches/0025-Hardcode-BUILD_PREFIX-in-build_pip_package.patch @@ -1,7 +1,7 @@ -From d9c7dd6bc48f7f894ea5179d014c176bdc1412a3 Mon Sep 17 00:00:00 2001 +From e6939ac299265f14f14e1c52b02bfcf410ff7860 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 12 Jul 2024 12:52:38 +0000 -Subject: [PATCH 25/41] Hardcode BUILD_PREFIX in build_pip_package +Subject: [PATCH 25/44] Hardcode BUILD_PREFIX in build_pip_package --- tensorflow/tools/pip_package/build_pip_package.py | 6 +++--- diff --git a/recipe/patches/0026-Only-link-to-sparse_core_layout_proto_cc-headers.patch b/recipe/patches/0026-Only-link-to-sparse_core_layout_proto_cc-headers.patch index 4b275cb7..f757d17c 100644 --- a/recipe/patches/0026-Only-link-to-sparse_core_layout_proto_cc-headers.patch +++ b/recipe/patches/0026-Only-link-to-sparse_core_layout_proto_cc-headers.patch @@ -1,7 +1,7 @@ -From 1510b19daaecd746d6b0bcbfbac16c8ef449ec01 Mon Sep 17 00:00:00 2001 +From 24d7281db5cba2c5d1221bf8aff532679fa14b52 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 16 Jul 2024 17:18:23 +0200 -Subject: [PATCH 26/41] Only link to sparse_core_layout_proto_cc headers +Subject: [PATCH 26/44] Only link to sparse_core_layout_proto_cc headers --- tensorflow/core/tpu/kernels/BUILD | 2 +- diff --git a/recipe/patches/0027-Protobuf-5-compatability.patch b/recipe/patches/0027-Protobuf-5-compatability.patch index ba0d39c5..1d21a7a2 100644 --- a/recipe/patches/0027-Protobuf-5-compatability.patch +++ b/recipe/patches/0027-Protobuf-5-compatability.patch @@ -1,7 +1,7 @@ -From c3fabee4eb7c2e420a31a37ad10cffb5c6cc426b Mon Sep 17 00:00:00 2001 +From 42c45204278fc1f3021bfff528664743a7bd81ac Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 10 Oct 2024 19:59:31 +0200 -Subject: [PATCH 27/41] Protobuf 5 compatability +Subject: [PATCH 27/44] Protobuf 5 compatability --- .../mlir/lite/python/jax_to_tfl_flatbuffer.cc | 2 +- diff --git a/recipe/patches/0028-Avoid-linking-with-internal-nvrtc.patch b/recipe/patches/0028-Avoid-linking-with-internal-nvrtc.patch index 90e19616..ce61a2ac 100644 --- a/recipe/patches/0028-Avoid-linking-with-internal-nvrtc.patch +++ b/recipe/patches/0028-Avoid-linking-with-internal-nvrtc.patch @@ -1,7 +1,7 @@ -From 34df27ad44fe2ede5cd85fe0bbd5d642544b8876 Mon Sep 17 00:00:00 2001 +From 034e5f1fe37e24c16ed60e6447bab1a3dd04f6f1 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 2 Feb 2025 08:32:46 -0500 -Subject: [PATCH 28/41] Avoid linking with internal nvrtc +Subject: [PATCH 28/44] Avoid linking with internal nvrtc --- third_party/gpus/cuda/hermetic/cuda_nvrtc.BUILD.tpl | 5 ----- diff --git a/recipe/patches/0029-remove-dependencies-to-libcuda.patch b/recipe/patches/0029-remove-dependencies-to-libcuda.patch index daca58f5..616e1b47 100644 --- a/recipe/patches/0029-remove-dependencies-to-libcuda.patch +++ b/recipe/patches/0029-remove-dependencies-to-libcuda.patch @@ -1,7 +1,7 @@ -From 8b730febbfa87d441e2e17a131f81bb4412f58bf Mon Sep 17 00:00:00 2001 +From 8c1ba879041b21f5ecc6b358e0cf27ec491e3b36 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Fri, 7 Feb 2025 03:41:29 -0500 -Subject: [PATCH 29/41] remove dependencies to libcuda +Subject: [PATCH 29/44] remove dependencies to libcuda --- third_party/gpus/cuda/hermetic/cuda_cudart.BUILD.tpl | 2 +- diff --git a/recipe/patches/0030-Fixup-pybind11_protobuf.patch b/recipe/patches/0030-Fixup-pybind11_protobuf.patch index ab32c90f..d3bec97c 100644 --- a/recipe/patches/0030-Fixup-pybind11_protobuf.patch +++ b/recipe/patches/0030-Fixup-pybind11_protobuf.patch @@ -1,7 +1,7 @@ -From 3e45daedd0fbd56d9ea2fca66a95b5e7561c4151 Mon Sep 17 00:00:00 2001 +From 5999590f2bb6bf895012f8777adcd289576beb8b Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 6 Jul 2025 16:45:03 -0400 -Subject: [PATCH 30/41] Fixup pybind11_protobuf +Subject: [PATCH 30/44] Fixup pybind11_protobuf --- tensorflow/workspace2.bzl | 8 +++++--- diff --git a/recipe/patches/0031-Update-linkages-for-new-absl-organization.patch b/recipe/patches/0031-Update-linkages-for-new-absl-organization.patch index dae0bf9a..373ca1f1 100644 --- a/recipe/patches/0031-Update-linkages-for-new-absl-organization.patch +++ b/recipe/patches/0031-Update-linkages-for-new-absl-organization.patch @@ -1,7 +1,7 @@ -From 0e7434e753fc57ae6aad9569b914cc82b5292870 Mon Sep 17 00:00:00 2001 +From 33f3d835747dcb83b9d63d6ae11327d5f67c947c Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 6 Jul 2025 17:32:42 -0400 -Subject: [PATCH 31/41] Update linkages for new absl organization +Subject: [PATCH 31/44] Update linkages for new absl organization --- third_party/absl/system.absl.random.BUILD | 1 - diff --git a/recipe/patches/0032-Remove-ambiguous-inherited-constructor-in-default_qu.patch b/recipe/patches/0032-Remove-ambiguous-inherited-constructor-in-default_qu.patch index 8f3f54c5..8d9d5294 100644 --- a/recipe/patches/0032-Remove-ambiguous-inherited-constructor-in-default_qu.patch +++ b/recipe/patches/0032-Remove-ambiguous-inherited-constructor-in-default_qu.patch @@ -1,7 +1,7 @@ -From 58ee9b5a3fdad20f827f9f0f2e94a228888f45ba Mon Sep 17 00:00:00 2001 +From 1d9ce9485bf23f4e5d801c34fe8eb594959e13b2 Mon Sep 17 00:00:00 2001 From: "Patrick J. LoPresti" Date: Thu, 3 Apr 2025 10:24:37 -0700 -Subject: [PATCH 32/41] Remove ambiguous inherited constructor in +Subject: [PATCH 32/44] Remove ambiguous inherited constructor in default_quant_params.cc. GCC complains about this (https://stackoverflow.com/q/79553477/). Fix is trivial and harmless. diff --git a/recipe/patches/0033-third_party-ducc-fix-ambiguous-failure.patch b/recipe/patches/0033-third_party-ducc-fix-ambiguous-failure.patch index 02e532f9..d85402b9 100644 --- a/recipe/patches/0033-third_party-ducc-fix-ambiguous-failure.patch +++ b/recipe/patches/0033-third_party-ducc-fix-ambiguous-failure.patch @@ -1,7 +1,7 @@ -From b53fc0aebaee09319e32161c2c7e7c0cd24d1d9f Mon Sep 17 00:00:00 2001 +From 83db53827ca3914f035fe10f7666c84d7cad41dd Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Mon, 14 Jul 2025 15:35:54 +0800 -Subject: [PATCH 33/41] third_party/ducc: fix ambiguous failure +Subject: [PATCH 33/44] third_party/ducc: fix ambiguous failure ... bazel-out/k8-opt/bin/external/ducc/_virtual_includes/fft/ducc/src/ducc0/fft/fftnd_impl.h:1393:20: error: call of '(ducc0::detail_mav::vmav, 2>) (long unsigned int&, size_t&)' is ambiguous diff --git a/recipe/patches/0034-third_party-tf_runtime-fix-compile-failure.patch b/recipe/patches/0034-third_party-tf_runtime-fix-compile-failure.patch index 04f6b252..04d97e90 100644 --- a/recipe/patches/0034-third_party-tf_runtime-fix-compile-failure.patch +++ b/recipe/patches/0034-third_party-tf_runtime-fix-compile-failure.patch @@ -1,7 +1,7 @@ -From e3ccc6eab6a708cf57bca45dcb8f7afc23156cfb Mon Sep 17 00:00:00 2001 +From f095eb76d7f32020f7cbc184aa7993d3f5d46abe Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Mon, 14 Jul 2025 16:13:33 +0800 -Subject: [PATCH 34/41] third_party/tf_runtime: fix compile failure +Subject: [PATCH 34/44] third_party/tf_runtime: fix compile failure ... In file included from external/tf_runtime/include/tfrt/support/crc32c.h:26, diff --git a/recipe/patches/0035-support-to-build-with-gcc-15.patch b/recipe/patches/0035-support-to-build-with-gcc-15.patch index e841b6d5..4f68d4c8 100644 --- a/recipe/patches/0035-support-to-build-with-gcc-15.patch +++ b/recipe/patches/0035-support-to-build-with-gcc-15.patch @@ -1,7 +1,7 @@ -From 32ce8d77beabcc754ec5ae2b446ff7f2f3378251 Mon Sep 17 00:00:00 2001 +From e71278601106b0f00fbd01f641055df87789e8b6 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 25 Mar 2025 22:38:37 -0700 -Subject: [PATCH 35/41] support to build with gcc 15 +Subject: [PATCH 35/44] support to build with gcc 15 Upstream-Status: Pending diff --git a/recipe/patches/0036-third_party-eigen_archive-workaround-ice-failure-whi.patch b/recipe/patches/0036-third_party-eigen_archive-workaround-ice-failure-whi.patch index 5cdd062d..875b2d6e 100644 --- a/recipe/patches/0036-third_party-eigen_archive-workaround-ice-failure-whi.patch +++ b/recipe/patches/0036-third_party-eigen_archive-workaround-ice-failure-whi.patch @@ -1,7 +1,7 @@ -From 98d2b8a662865334a04a46675ae3a4259e08b362 Mon Sep 17 00:00:00 2001 +From e930fab1defd8fab209044028e530d7e533c1ef4 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Mon, 16 May 2022 23:15:47 -0700 -Subject: [PATCH 36/41] third_party/eigen_archive:workaround ice failure while +Subject: [PATCH 36/44] third_party/eigen_archive:workaround ice failure while building from source with gcc 7.3.1 The root cause is gcc ice issue: diff --git a/recipe/patches/0037-add-absl_tracing_internal.patch b/recipe/patches/0037-add-absl_tracing_internal.patch index 7bf18822..b842a5b3 100644 --- a/recipe/patches/0037-add-absl_tracing_internal.patch +++ b/recipe/patches/0037-add-absl_tracing_internal.patch @@ -1,7 +1,7 @@ -From 26467a0a05242d0a46f5d3abdaaff9050bc06ad3 Mon Sep 17 00:00:00 2001 +From 1eecc2a532902a85a363f00f9e8126b144c63885 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 6 Aug 2025 15:36:13 +0000 -Subject: [PATCH 37/41] add absl_tracing_internal +Subject: [PATCH 37/44] add absl_tracing_internal --- tensorflow/core/kernels/batching_util/BUILD | 1 + diff --git a/recipe/patches/0038-Fix-building-different-python-wheels-from-one-python.patch b/recipe/patches/0038-Fix-building-different-python-wheels-from-one-python.patch index a789f9eb..dc33d946 100644 --- a/recipe/patches/0038-Fix-building-different-python-wheels-from-one-python.patch +++ b/recipe/patches/0038-Fix-building-different-python-wheels-from-one-python.patch @@ -1,7 +1,7 @@ -From 80841e060482db5645edd9db41aa2e5132dfe076 Mon Sep 17 00:00:00 2001 +From 1b093af46c2e1e0aa73b4e217ec96023bd8d778e Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 6 Aug 2025 17:50:08 +0000 -Subject: [PATCH 38/41] Fix building different python wheels from one python +Subject: [PATCH 38/44] Fix building different python wheels from one python --- tensorflow/tools/pip_package/build_pip_package.py | 11 ++++++++++- diff --git a/recipe/patches/0039-Fix-matmul-unused-result-error.patch b/recipe/patches/0039-Fix-matmul-unused-result-error.patch index 6077db64..190cdf66 100644 --- a/recipe/patches/0039-Fix-matmul-unused-result-error.patch +++ b/recipe/patches/0039-Fix-matmul-unused-result-error.patch @@ -1,7 +1,7 @@ -From 1f37dd0417cfe833272399a629bd208729e94d92 Mon Sep 17 00:00:00 2001 +From f27636f9d6ef3a4d623ece0236edaa2ac9db286e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Wed, 6 Aug 2025 18:16:06 +0000 -Subject: [PATCH 39/41] Fix matmul unused result error +Subject: [PATCH 39/44] Fix matmul unused result error --- .../toco/graph_transformations/resolve_tensorflow_matmul.cc | 2 +- diff --git a/recipe/patches/0040-Support-cuda-12.8.patch b/recipe/patches/0040-Support-cuda-12.8.patch index e914a531..b087d04e 100644 --- a/recipe/patches/0040-Support-cuda-12.8.patch +++ b/recipe/patches/0040-Support-cuda-12.8.patch @@ -1,7 +1,7 @@ -From 6e4e98cd941c790f5698ff0111ed632b676bbf7c Mon Sep 17 00:00:00 2001 +From f0bcaf0caa735d2a68b2f0d8c8baf8e8f4453b4f Mon Sep 17 00:00:00 2001 From: oqs <2227-loqs@users.noreply.gitlab.archlinux.org> Date: Wed, 6 Aug 2025 19:34:12 +0000 -Subject: [PATCH 40/41] Support cuda 12.8 +Subject: [PATCH 40/44] Support cuda 12.8 Co-authored-by: Isuru Fernando --- diff --git a/recipe/patches/0041-Disable-profiler.patch b/recipe/patches/0041-Disable-profiler.patch index 275c4299..aee405d1 100644 --- a/recipe/patches/0041-Disable-profiler.patch +++ b/recipe/patches/0041-Disable-profiler.patch @@ -1,7 +1,7 @@ -From 5e6f65f2fbcaef687cb91caa71ff6aea3448f584 Mon Sep 17 00:00:00 2001 +From 2d39b35a19ede081ccc78120df16c845bcba622c Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 13 Oct 2025 19:52:15 +0000 -Subject: [PATCH 41/41] Disable profiler +Subject: [PATCH 41/44] Disable profiler Enabling the profiler results in diff --git a/recipe/patches/0042-bump-h5py-req.patch b/recipe/patches/0042-bump-h5py-req.patch index 2ba51478..6de87bdd 100644 --- a/recipe/patches/0042-bump-h5py-req.patch +++ b/recipe/patches/0042-bump-h5py-req.patch @@ -1,7 +1,7 @@ -From ee4412361565a5c91225a5508211580f0b68092e Mon Sep 17 00:00:00 2001 +From e2c9291edfeac83893563ae0fcd90ab36a89af9e Mon Sep 17 00:00:00 2001 From: dslarm Date: Tue, 16 Sep 2025 19:41:25 +0000 -Subject: [PATCH 42/42] bump h5py req +Subject: [PATCH 42/44] bump h5py req h5py and psutil are not available as a binary for the versions of h5py in tensorflow 2.18's spec, but the @@ -9,11 +9,11 @@ system won't try to build it. Bump the version so we get ones that do exist. --- .../requirements_updater/requirements.in | 3 +- - requirements_lock_3_10.txt | 45 +------------------ - requirements_lock_3_11.txt | 45 +------------------ - requirements_lock_3_12.txt | 45 +------------------ - requirements_lock_3_9.txt | 44 +----------------- - 5 files changed, 10 insertions(+), 172 deletions(-) + requirements_lock_3_10.txt | 50 +------------------ + requirements_lock_3_11.txt | 50 +------------------ + requirements_lock_3_12.txt | 50 +------------------ + requirements_lock_3_9.txt | 49 +----------------- + 5 files changed, 10 insertions(+), 192 deletions(-) diff --git a/ci/official/requirements_updater/requirements.in b/ci/official/requirements_updater/requirements.in index 68871582683..145aab77a17 100644 @@ -37,35 +37,40 @@ index 68871582683..145aab77a17 100644 requests >= 2.31.0 packaging==23.2 diff --git a/requirements_lock_3_10.txt b/requirements_lock_3_10.txt -index 2466c99b550..b5ac15546b9 100644 +index 0bf28443588..b5ac15546b9 100644 --- a/requirements_lock_3_10.txt +++ b/requirements_lock_3_10.txt -@@ -185,31 +185,7 @@ grpcio==1.64.1 \ +@@ -185,36 +185,7 @@ grpcio==1.64.1 \ # via # -r ci/official/requirements_updater/requirements.in # tensorboard --h5py==3.11.0 \ -- --hash=sha256:083e0329ae534a264940d6513f47f5ada617da536d8dccbafc3026aefc33c90e \ -- --hash=sha256:1625fd24ad6cfc9c1ccd44a66dac2396e7ee74940776792772819fc69f3a3731 \ -- --hash=sha256:21dbdc5343f53b2e25404673c4f00a3335aef25521bd5fa8c707ec3833934892 \ -- --hash=sha256:52c416f8eb0daae39dabe71415cb531f95dce2d81e1f61a74537a50c63b28ab3 \ -- --hash=sha256:55106b04e2c83dfb73dc8732e9abad69d83a436b5b82b773481d95d17b9685e1 \ -- --hash=sha256:67462d0669f8f5459529de179f7771bd697389fcb3faab54d63bf788599a48ea \ -- --hash=sha256:6c4b760082626120031d7902cd983d8c1f424cdba2809f1067511ef283629d4b \ -- --hash=sha256:731839240c59ba219d4cb3bc5880d438248533366f102402cfa0621b71796b62 \ -- --hash=sha256:754c0c2e373d13d6309f408325343b642eb0f40f1a6ad21779cfa9502209e150 \ -- --hash=sha256:75bd7b3d93fbeee40860fd70cdc88df4464e06b70a5ad9ce1446f5f32eb84007 \ -- --hash=sha256:77b19a40788e3e362b54af4dcf9e6fde59ca016db2c61360aa30b47c7b7cef00 \ -- --hash=sha256:7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9 \ -- --hash=sha256:8ec9df3dd2018904c4cc06331951e274f3f3fd091e6d6cc350aaa90fa9b42a76 \ -- --hash=sha256:a76cae64080210389a571c7d13c94a1a6cf8cb75153044fd1f822a962c97aeab \ -- --hash=sha256:aa6ae84a14103e8dc19266ef4c3e5d7c00b68f21d07f2966f0ca7bdb6c2761fb \ -- --hash=sha256:bbd732a08187a9e2a6ecf9e8af713f1d68256ee0f7c8b652a32795670fb481ba \ -- --hash=sha256:c072655ad1d5fe9ef462445d3e77a8166cbfa5e599045f8aa3c19b75315f10e5 \ -- --hash=sha256:d9c944d364688f827dc889cf83f1fca311caf4fa50b19f009d1f2b525edd33a3 \ -- --hash=sha256:ef4e2f338fc763f50a8113890f455e1a70acd42a4d083370ceb80c463d803972 \ -- --hash=sha256:f3736fe21da2b7d8a13fe8fe415f1272d2a1ccdeff4849c1421d2fb30fd533bc \ -- --hash=sha256:f4e025e852754ca833401777c25888acb96889ee2c27e7e629a19aee288833f0 +-h5py==3.13.0 \ +- --hash=sha256:10894c55d46df502d82a7a4ed38f9c3fdbcb93efb42e25d275193e093071fade \ +- --hash=sha256:1870e46518720023da85d0895a1960ff2ce398c5671eac3b1a41ec696b7105c3 \ +- --hash=sha256:21daf38171753899b5905f3d82c99b0b1ec2cbbe282a037cad431feb620e62ec \ +- --hash=sha256:22ffe2a25770a2d67213a1b94f58006c14dce06933a42d2aaa0318c5868d1508 \ +- --hash=sha256:337af114616f3656da0c83b68fcf53ecd9ce9989a700b0883a6e7c483c3235d4 \ +- --hash=sha256:357e6dc20b101a805ccfd0024731fbaf6e8718c18c09baf3b5e4e9d198d13fca \ +- --hash=sha256:477c58307b6b9a2509c59c57811afb9f598aedede24a67da808262dfa0ee37b4 \ +- --hash=sha256:4f97ecde7ac6513b21cd95efdfc38dc6d19f96f6ca6f2a30550e94e551458e0a \ +- --hash=sha256:5540daee2b236d9569c950b417f13fd112d51d78b4c43012de05774908dff3f5 \ +- --hash=sha256:560e71220dc92dfa254b10a4dcb12d56b574d2d87e095db20466b32a93fec3f9 \ +- --hash=sha256:56dd172d862e850823c4af02dc4ddbc308f042b85472ffdaca67f1598dff4a57 \ +- --hash=sha256:57c4c74f627c616f02b7aec608a8c706fe08cb5b0ba7c08555a4eb1dde20805a \ +- --hash=sha256:782ff0ac39f455f21fd1c8ebc007328f65f43d56718a89327eec76677ebf238a \ +- --hash=sha256:82690e89c72b85addf4fc4d5058fb1e387b6c14eb063b0b879bf3f42c3b93c35 \ +- --hash=sha256:851ae3a8563d87a5a0dc49c2e2529c75b8842582ccaefbf84297d2cfceeacd61 \ +- --hash=sha256:8a8e38ef4ceb969f832cc230c0cf808c613cc47e31e768fd7b1106c55afa1cb8 \ +- --hash=sha256:9c82ece71ed1c2b807b6628e3933bc6eae57ea21dac207dca3470e3ceaaf437c \ +- --hash=sha256:be949b46b7388074c5acae017fbbe3e5ba303fd9daaa52157fdfef30bbdacadd \ +- --hash=sha256:c10f061764d8dce0a9592ce08bfd5f243a00703325c388f1086037e5d619c5f1 \ +- --hash=sha256:d2cf6a231a07c14acd504a945a6e9ec115e0007f675bde5e0de30a4dc8d86a31 \ +- --hash=sha256:d571644958c5e19a61c793d8d23cd02479572da828e333498c9acc463f4a3997 \ +- --hash=sha256:d6f13f9b5ce549448c01e4dfe08ea8d1772e6078799af2c1c8d09e941230a90d \ +- --hash=sha256:e520ec76de00943dd017c8ea3f354fa1d2f542eac994811943a8faedf2a7d5cb \ +- --hash=sha256:e79d8368cd9295045956bfb436656bea3f915beaa11d342e9f79f129f5178763 \ +- --hash=sha256:f35640e81b03c02a88b8bf99fb6a9d3023cc52f7c627694db2f379e0028f2868 \ +- --hash=sha256:fb267ce4b83f9c42560e9ff4d30f60f7ae492eacf9c7ede849edf8c1b860e16b - # via - # -r ci/official/requirements_updater/requirements.in - # keras @@ -73,7 +78,7 @@ index 2466c99b550..b5ac15546b9 100644 idna==3.7 \ --hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \ --hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 -@@ -582,24 +558,7 @@ protobuf==4.25.3 \ +@@ -587,24 +558,7 @@ protobuf==4.25.3 \ --hash=sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c \ --hash=sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2 # via tensorboard @@ -100,43 +105,48 @@ index 2466c99b550..b5ac15546b9 100644 --hash=sha256:c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99 \ --hash=sha256:f52de7b3c7e8c64c8abc04a79a1cf37ac5fb0b8a49809827130b858944840607 diff --git a/requirements_lock_3_11.txt b/requirements_lock_3_11.txt -index bf067084003..4a9166b8fdd 100644 +index b305e7e58f8..a6606206652 100644 --- a/requirements_lock_3_11.txt +++ b/requirements_lock_3_11.txt -@@ -185,31 +185,7 @@ grpcio==1.64.1 \ +@@ -185,36 +185,7 @@ grpcio==1.64.1 \ # via # -r ci/official/requirements_updater/requirements.in # tensorboard --h5py==3.11.0 \ -- --hash=sha256:083e0329ae534a264940d6513f47f5ada617da536d8dccbafc3026aefc33c90e \ -- --hash=sha256:1625fd24ad6cfc9c1ccd44a66dac2396e7ee74940776792772819fc69f3a3731 \ -- --hash=sha256:21dbdc5343f53b2e25404673c4f00a3335aef25521bd5fa8c707ec3833934892 \ -- --hash=sha256:52c416f8eb0daae39dabe71415cb531f95dce2d81e1f61a74537a50c63b28ab3 \ -- --hash=sha256:55106b04e2c83dfb73dc8732e9abad69d83a436b5b82b773481d95d17b9685e1 \ -- --hash=sha256:67462d0669f8f5459529de179f7771bd697389fcb3faab54d63bf788599a48ea \ -- --hash=sha256:6c4b760082626120031d7902cd983d8c1f424cdba2809f1067511ef283629d4b \ -- --hash=sha256:731839240c59ba219d4cb3bc5880d438248533366f102402cfa0621b71796b62 \ -- --hash=sha256:754c0c2e373d13d6309f408325343b642eb0f40f1a6ad21779cfa9502209e150 \ -- --hash=sha256:75bd7b3d93fbeee40860fd70cdc88df4464e06b70a5ad9ce1446f5f32eb84007 \ -- --hash=sha256:77b19a40788e3e362b54af4dcf9e6fde59ca016db2c61360aa30b47c7b7cef00 \ -- --hash=sha256:7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9 \ -- --hash=sha256:8ec9df3dd2018904c4cc06331951e274f3f3fd091e6d6cc350aaa90fa9b42a76 \ -- --hash=sha256:a76cae64080210389a571c7d13c94a1a6cf8cb75153044fd1f822a962c97aeab \ -- --hash=sha256:aa6ae84a14103e8dc19266ef4c3e5d7c00b68f21d07f2966f0ca7bdb6c2761fb \ -- --hash=sha256:bbd732a08187a9e2a6ecf9e8af713f1d68256ee0f7c8b652a32795670fb481ba \ -- --hash=sha256:c072655ad1d5fe9ef462445d3e77a8166cbfa5e599045f8aa3c19b75315f10e5 \ -- --hash=sha256:d9c944d364688f827dc889cf83f1fca311caf4fa50b19f009d1f2b525edd33a3 \ -- --hash=sha256:ef4e2f338fc763f50a8113890f455e1a70acd42a4d083370ceb80c463d803972 \ -- --hash=sha256:f3736fe21da2b7d8a13fe8fe415f1272d2a1ccdeff4849c1421d2fb30fd533bc \ -- --hash=sha256:f4e025e852754ca833401777c25888acb96889ee2c27e7e629a19aee288833f0 +-h5py==3.13.0 \ +- --hash=sha256:10894c55d46df502d82a7a4ed38f9c3fdbcb93efb42e25d275193e093071fade \ +- --hash=sha256:1870e46518720023da85d0895a1960ff2ce398c5671eac3b1a41ec696b7105c3 \ +- --hash=sha256:21daf38171753899b5905f3d82c99b0b1ec2cbbe282a037cad431feb620e62ec \ +- --hash=sha256:22ffe2a25770a2d67213a1b94f58006c14dce06933a42d2aaa0318c5868d1508 \ +- --hash=sha256:337af114616f3656da0c83b68fcf53ecd9ce9989a700b0883a6e7c483c3235d4 \ +- --hash=sha256:357e6dc20b101a805ccfd0024731fbaf6e8718c18c09baf3b5e4e9d198d13fca \ +- --hash=sha256:477c58307b6b9a2509c59c57811afb9f598aedede24a67da808262dfa0ee37b4 \ +- --hash=sha256:4f97ecde7ac6513b21cd95efdfc38dc6d19f96f6ca6f2a30550e94e551458e0a \ +- --hash=sha256:5540daee2b236d9569c950b417f13fd112d51d78b4c43012de05774908dff3f5 \ +- --hash=sha256:560e71220dc92dfa254b10a4dcb12d56b574d2d87e095db20466b32a93fec3f9 \ +- --hash=sha256:56dd172d862e850823c4af02dc4ddbc308f042b85472ffdaca67f1598dff4a57 \ +- --hash=sha256:57c4c74f627c616f02b7aec608a8c706fe08cb5b0ba7c08555a4eb1dde20805a \ +- --hash=sha256:782ff0ac39f455f21fd1c8ebc007328f65f43d56718a89327eec76677ebf238a \ +- --hash=sha256:82690e89c72b85addf4fc4d5058fb1e387b6c14eb063b0b879bf3f42c3b93c35 \ +- --hash=sha256:851ae3a8563d87a5a0dc49c2e2529c75b8842582ccaefbf84297d2cfceeacd61 \ +- --hash=sha256:8a8e38ef4ceb969f832cc230c0cf808c613cc47e31e768fd7b1106c55afa1cb8 \ +- --hash=sha256:9c82ece71ed1c2b807b6628e3933bc6eae57ea21dac207dca3470e3ceaaf437c \ +- --hash=sha256:be949b46b7388074c5acae017fbbe3e5ba303fd9daaa52157fdfef30bbdacadd \ +- --hash=sha256:c10f061764d8dce0a9592ce08bfd5f243a00703325c388f1086037e5d619c5f1 \ +- --hash=sha256:d2cf6a231a07c14acd504a945a6e9ec115e0007f675bde5e0de30a4dc8d86a31 \ +- --hash=sha256:d571644958c5e19a61c793d8d23cd02479572da828e333498c9acc463f4a3997 \ +- --hash=sha256:d6f13f9b5ce549448c01e4dfe08ea8d1772e6078799af2c1c8d09e941230a90d \ +- --hash=sha256:e520ec76de00943dd017c8ea3f354fa1d2f542eac994811943a8faedf2a7d5cb \ +- --hash=sha256:e79d8368cd9295045956bfb436656bea3f915beaa11d342e9f79f129f5178763 \ +- --hash=sha256:f35640e81b03c02a88b8bf99fb6a9d3023cc52f7c627694db2f379e0028f2868 \ +- --hash=sha256:fb267ce4b83f9c42560e9ff4d30f60f7ae492eacf9c7ede849edf8c1b860e16b - # via - # -r ci/official/requirements_updater/requirements.in - # keras -+h5py==3.11.0 ++h5py>=3.12.0 idna==3.7 \ --hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \ --hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 -@@ -582,24 +558,7 @@ protobuf==4.25.3 \ +@@ -587,24 +558,7 @@ protobuf==4.25.3 \ --hash=sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c \ --hash=sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2 # via tensorboard @@ -163,35 +173,40 @@ index bf067084003..4a9166b8fdd 100644 --hash=sha256:c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99 \ --hash=sha256:f52de7b3c7e8c64c8abc04a79a1cf37ac5fb0b8a49809827130b858944840607 diff --git a/requirements_lock_3_12.txt b/requirements_lock_3_12.txt -index c7b9317ee2b..1a803ef414f 100644 +index 179f77b4843..1a803ef414f 100644 --- a/requirements_lock_3_12.txt +++ b/requirements_lock_3_12.txt -@@ -185,31 +185,7 @@ grpcio==1.64.1 \ +@@ -185,36 +185,7 @@ grpcio==1.64.1 \ # via # -r ci/official/requirements_updater/requirements.in # tensorboard --h5py==3.11.0 \ -- --hash=sha256:083e0329ae534a264940d6513f47f5ada617da536d8dccbafc3026aefc33c90e \ -- --hash=sha256:1625fd24ad6cfc9c1ccd44a66dac2396e7ee74940776792772819fc69f3a3731 \ -- --hash=sha256:21dbdc5343f53b2e25404673c4f00a3335aef25521bd5fa8c707ec3833934892 \ -- --hash=sha256:52c416f8eb0daae39dabe71415cb531f95dce2d81e1f61a74537a50c63b28ab3 \ -- --hash=sha256:55106b04e2c83dfb73dc8732e9abad69d83a436b5b82b773481d95d17b9685e1 \ -- --hash=sha256:67462d0669f8f5459529de179f7771bd697389fcb3faab54d63bf788599a48ea \ -- --hash=sha256:6c4b760082626120031d7902cd983d8c1f424cdba2809f1067511ef283629d4b \ -- --hash=sha256:731839240c59ba219d4cb3bc5880d438248533366f102402cfa0621b71796b62 \ -- --hash=sha256:754c0c2e373d13d6309f408325343b642eb0f40f1a6ad21779cfa9502209e150 \ -- --hash=sha256:75bd7b3d93fbeee40860fd70cdc88df4464e06b70a5ad9ce1446f5f32eb84007 \ -- --hash=sha256:77b19a40788e3e362b54af4dcf9e6fde59ca016db2c61360aa30b47c7b7cef00 \ -- --hash=sha256:7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9 \ -- --hash=sha256:8ec9df3dd2018904c4cc06331951e274f3f3fd091e6d6cc350aaa90fa9b42a76 \ -- --hash=sha256:a76cae64080210389a571c7d13c94a1a6cf8cb75153044fd1f822a962c97aeab \ -- --hash=sha256:aa6ae84a14103e8dc19266ef4c3e5d7c00b68f21d07f2966f0ca7bdb6c2761fb \ -- --hash=sha256:bbd732a08187a9e2a6ecf9e8af713f1d68256ee0f7c8b652a32795670fb481ba \ -- --hash=sha256:c072655ad1d5fe9ef462445d3e77a8166cbfa5e599045f8aa3c19b75315f10e5 \ -- --hash=sha256:d9c944d364688f827dc889cf83f1fca311caf4fa50b19f009d1f2b525edd33a3 \ -- --hash=sha256:ef4e2f338fc763f50a8113890f455e1a70acd42a4d083370ceb80c463d803972 \ -- --hash=sha256:f3736fe21da2b7d8a13fe8fe415f1272d2a1ccdeff4849c1421d2fb30fd533bc \ -- --hash=sha256:f4e025e852754ca833401777c25888acb96889ee2c27e7e629a19aee288833f0 +-h5py==3.13.0 \ +- --hash=sha256:10894c55d46df502d82a7a4ed38f9c3fdbcb93efb42e25d275193e093071fade \ +- --hash=sha256:1870e46518720023da85d0895a1960ff2ce398c5671eac3b1a41ec696b7105c3 \ +- --hash=sha256:21daf38171753899b5905f3d82c99b0b1ec2cbbe282a037cad431feb620e62ec \ +- --hash=sha256:22ffe2a25770a2d67213a1b94f58006c14dce06933a42d2aaa0318c5868d1508 \ +- --hash=sha256:337af114616f3656da0c83b68fcf53ecd9ce9989a700b0883a6e7c483c3235d4 \ +- --hash=sha256:357e6dc20b101a805ccfd0024731fbaf6e8718c18c09baf3b5e4e9d198d13fca \ +- --hash=sha256:477c58307b6b9a2509c59c57811afb9f598aedede24a67da808262dfa0ee37b4 \ +- --hash=sha256:4f97ecde7ac6513b21cd95efdfc38dc6d19f96f6ca6f2a30550e94e551458e0a \ +- --hash=sha256:5540daee2b236d9569c950b417f13fd112d51d78b4c43012de05774908dff3f5 \ +- --hash=sha256:560e71220dc92dfa254b10a4dcb12d56b574d2d87e095db20466b32a93fec3f9 \ +- --hash=sha256:56dd172d862e850823c4af02dc4ddbc308f042b85472ffdaca67f1598dff4a57 \ +- --hash=sha256:57c4c74f627c616f02b7aec608a8c706fe08cb5b0ba7c08555a4eb1dde20805a \ +- --hash=sha256:782ff0ac39f455f21fd1c8ebc007328f65f43d56718a89327eec76677ebf238a \ +- --hash=sha256:82690e89c72b85addf4fc4d5058fb1e387b6c14eb063b0b879bf3f42c3b93c35 \ +- --hash=sha256:851ae3a8563d87a5a0dc49c2e2529c75b8842582ccaefbf84297d2cfceeacd61 \ +- --hash=sha256:8a8e38ef4ceb969f832cc230c0cf808c613cc47e31e768fd7b1106c55afa1cb8 \ +- --hash=sha256:9c82ece71ed1c2b807b6628e3933bc6eae57ea21dac207dca3470e3ceaaf437c \ +- --hash=sha256:be949b46b7388074c5acae017fbbe3e5ba303fd9daaa52157fdfef30bbdacadd \ +- --hash=sha256:c10f061764d8dce0a9592ce08bfd5f243a00703325c388f1086037e5d619c5f1 \ +- --hash=sha256:d2cf6a231a07c14acd504a945a6e9ec115e0007f675bde5e0de30a4dc8d86a31 \ +- --hash=sha256:d571644958c5e19a61c793d8d23cd02479572da828e333498c9acc463f4a3997 \ +- --hash=sha256:d6f13f9b5ce549448c01e4dfe08ea8d1772e6078799af2c1c8d09e941230a90d \ +- --hash=sha256:e520ec76de00943dd017c8ea3f354fa1d2f542eac994811943a8faedf2a7d5cb \ +- --hash=sha256:e79d8368cd9295045956bfb436656bea3f915beaa11d342e9f79f129f5178763 \ +- --hash=sha256:f35640e81b03c02a88b8bf99fb6a9d3023cc52f7c627694db2f379e0028f2868 \ +- --hash=sha256:fb267ce4b83f9c42560e9ff4d30f60f7ae492eacf9c7ede849edf8c1b860e16b - # via - # -r ci/official/requirements_updater/requirements.in - # keras @@ -199,7 +214,7 @@ index c7b9317ee2b..1a803ef414f 100644 idna==3.7 \ --hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \ --hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 -@@ -582,24 +558,7 @@ protobuf==4.25.3 \ +@@ -587,24 +558,7 @@ protobuf==4.25.3 \ --hash=sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c \ --hash=sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2 # via tensorboard @@ -226,35 +241,40 @@ index c7b9317ee2b..1a803ef414f 100644 --hash=sha256:c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99 \ --hash=sha256:f52de7b3c7e8c64c8abc04a79a1cf37ac5fb0b8a49809827130b858944840607 diff --git a/requirements_lock_3_9.txt b/requirements_lock_3_9.txt -index bf40d037b14..2d9911ac3c4 100644 +index a3d77545aed..2d9911ac3c4 100644 --- a/requirements_lock_3_9.txt +++ b/requirements_lock_3_9.txt -@@ -185,31 +185,7 @@ grpcio==1.64.1 \ +@@ -185,36 +185,7 @@ grpcio==1.64.1 \ # via # -r ci/official/requirements_updater/requirements.in # tensorboard --h5py==3.11.0 \ -- --hash=sha256:083e0329ae534a264940d6513f47f5ada617da536d8dccbafc3026aefc33c90e \ -- --hash=sha256:1625fd24ad6cfc9c1ccd44a66dac2396e7ee74940776792772819fc69f3a3731 \ -- --hash=sha256:21dbdc5343f53b2e25404673c4f00a3335aef25521bd5fa8c707ec3833934892 \ -- --hash=sha256:52c416f8eb0daae39dabe71415cb531f95dce2d81e1f61a74537a50c63b28ab3 \ -- --hash=sha256:55106b04e2c83dfb73dc8732e9abad69d83a436b5b82b773481d95d17b9685e1 \ -- --hash=sha256:67462d0669f8f5459529de179f7771bd697389fcb3faab54d63bf788599a48ea \ -- --hash=sha256:6c4b760082626120031d7902cd983d8c1f424cdba2809f1067511ef283629d4b \ -- --hash=sha256:731839240c59ba219d4cb3bc5880d438248533366f102402cfa0621b71796b62 \ -- --hash=sha256:754c0c2e373d13d6309f408325343b642eb0f40f1a6ad21779cfa9502209e150 \ -- --hash=sha256:75bd7b3d93fbeee40860fd70cdc88df4464e06b70a5ad9ce1446f5f32eb84007 \ -- --hash=sha256:77b19a40788e3e362b54af4dcf9e6fde59ca016db2c61360aa30b47c7b7cef00 \ -- --hash=sha256:7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9 \ -- --hash=sha256:8ec9df3dd2018904c4cc06331951e274f3f3fd091e6d6cc350aaa90fa9b42a76 \ -- --hash=sha256:a76cae64080210389a571c7d13c94a1a6cf8cb75153044fd1f822a962c97aeab \ -- --hash=sha256:aa6ae84a14103e8dc19266ef4c3e5d7c00b68f21d07f2966f0ca7bdb6c2761fb \ -- --hash=sha256:bbd732a08187a9e2a6ecf9e8af713f1d68256ee0f7c8b652a32795670fb481ba \ -- --hash=sha256:c072655ad1d5fe9ef462445d3e77a8166cbfa5e599045f8aa3c19b75315f10e5 \ -- --hash=sha256:d9c944d364688f827dc889cf83f1fca311caf4fa50b19f009d1f2b525edd33a3 \ -- --hash=sha256:ef4e2f338fc763f50a8113890f455e1a70acd42a4d083370ceb80c463d803972 \ -- --hash=sha256:f3736fe21da2b7d8a13fe8fe415f1272d2a1ccdeff4849c1421d2fb30fd533bc \ -- --hash=sha256:f4e025e852754ca833401777c25888acb96889ee2c27e7e629a19aee288833f0 +-h5py==3.13.0 \ +- --hash=sha256:10894c55d46df502d82a7a4ed38f9c3fdbcb93efb42e25d275193e093071fade \ +- --hash=sha256:1870e46518720023da85d0895a1960ff2ce398c5671eac3b1a41ec696b7105c3 \ +- --hash=sha256:21daf38171753899b5905f3d82c99b0b1ec2cbbe282a037cad431feb620e62ec \ +- --hash=sha256:22ffe2a25770a2d67213a1b94f58006c14dce06933a42d2aaa0318c5868d1508 \ +- --hash=sha256:337af114616f3656da0c83b68fcf53ecd9ce9989a700b0883a6e7c483c3235d4 \ +- --hash=sha256:357e6dc20b101a805ccfd0024731fbaf6e8718c18c09baf3b5e4e9d198d13fca \ +- --hash=sha256:477c58307b6b9a2509c59c57811afb9f598aedede24a67da808262dfa0ee37b4 \ +- --hash=sha256:4f97ecde7ac6513b21cd95efdfc38dc6d19f96f6ca6f2a30550e94e551458e0a \ +- --hash=sha256:5540daee2b236d9569c950b417f13fd112d51d78b4c43012de05774908dff3f5 \ +- --hash=sha256:560e71220dc92dfa254b10a4dcb12d56b574d2d87e095db20466b32a93fec3f9 \ +- --hash=sha256:56dd172d862e850823c4af02dc4ddbc308f042b85472ffdaca67f1598dff4a57 \ +- --hash=sha256:57c4c74f627c616f02b7aec608a8c706fe08cb5b0ba7c08555a4eb1dde20805a \ +- --hash=sha256:782ff0ac39f455f21fd1c8ebc007328f65f43d56718a89327eec76677ebf238a \ +- --hash=sha256:82690e89c72b85addf4fc4d5058fb1e387b6c14eb063b0b879bf3f42c3b93c35 \ +- --hash=sha256:851ae3a8563d87a5a0dc49c2e2529c75b8842582ccaefbf84297d2cfceeacd61 \ +- --hash=sha256:8a8e38ef4ceb969f832cc230c0cf808c613cc47e31e768fd7b1106c55afa1cb8 \ +- --hash=sha256:9c82ece71ed1c2b807b6628e3933bc6eae57ea21dac207dca3470e3ceaaf437c \ +- --hash=sha256:be949b46b7388074c5acae017fbbe3e5ba303fd9daaa52157fdfef30bbdacadd \ +- --hash=sha256:c10f061764d8dce0a9592ce08bfd5f243a00703325c388f1086037e5d619c5f1 \ +- --hash=sha256:d2cf6a231a07c14acd504a945a6e9ec115e0007f675bde5e0de30a4dc8d86a31 \ +- --hash=sha256:d571644958c5e19a61c793d8d23cd02479572da828e333498c9acc463f4a3997 \ +- --hash=sha256:d6f13f9b5ce549448c01e4dfe08ea8d1772e6078799af2c1c8d09e941230a90d \ +- --hash=sha256:e520ec76de00943dd017c8ea3f354fa1d2f542eac994811943a8faedf2a7d5cb \ +- --hash=sha256:e79d8368cd9295045956bfb436656bea3f915beaa11d342e9f79f129f5178763 \ +- --hash=sha256:f35640e81b03c02a88b8bf99fb6a9d3023cc52f7c627694db2f379e0028f2868 \ +- --hash=sha256:fb267ce4b83f9c42560e9ff4d30f60f7ae492eacf9c7ede849edf8c1b860e16b - # via - # -r ci/official/requirements_updater/requirements.in - # keras @@ -262,7 +282,7 @@ index bf40d037b14..2d9911ac3c4 100644 idna==3.7 \ --hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \ --hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 -@@ -578,23 +554,7 @@ protobuf==4.25.3 \ +@@ -583,23 +554,7 @@ protobuf==4.25.3 \ --hash=sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c \ --hash=sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2 # via tensorboard diff --git a/recipe/patches/0043-cross-arch-config.patch b/recipe/patches/0043-cross-arch-config.patch index ed851ae6..6baccecb 100644 --- a/recipe/patches/0043-cross-arch-config.patch +++ b/recipe/patches/0043-cross-arch-config.patch @@ -1,7 +1,7 @@ -From c0aad81257fd98c2a5dcfcba79cbde9a2a09c4b7 Mon Sep 17 00:00:00 2001 +From 2a4e3c49ce87c62dae261011b8d2b297f300695d Mon Sep 17 00:00:00 2001 From: dslarm Date: Tue, 14 Oct 2025 15:02:09 +0000 -Subject: [PATCH 43/43] cross arch config +Subject: [PATCH 43/44] cross arch config --- third_party/llvm/dirty.patch | 11 +++++++++++ diff --git a/recipe/patches/0044-Support-for-TFv2.20-to-compile-with-CUDA-v12.9.1.patch b/recipe/patches/0044-Support-for-TFv2.20-to-compile-with-CUDA-v12.9.1.patch new file mode 100644 index 00000000..0590b21b --- /dev/null +++ b/recipe/patches/0044-Support-for-TFv2.20-to-compile-with-CUDA-v12.9.1.patch @@ -0,0 +1,77 @@ +From 360ce4cf9f33f0567dd5e169e87950d0bafc5126 Mon Sep 17 00:00:00 2001 +From: aravindhbalaji1985 +Date: Mon, 25 Aug 2025 15:15:14 -0700 +Subject: [PATCH 44/44] Support for TFv2.20 to compile with CUDA v12.9.1 + +--- + tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc | 2 +- + .../core/kernels/dynamic_partition_op_gpu.cu.cc | 6 +++++- + tensorflow/core/kernels/split_lib_gpu.cu.cc | 2 +- + tensorflow/core/kernels/where_op_gpu.cu.h | 11 +++++++++++ + 4 files changed, 18 insertions(+), 3 deletions(-) + +diff --git a/tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc b/tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc +index 031464dfdd9..b4fe8ae6977 100644 +--- a/tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc ++++ b/tensorflow/core/kernels/concat_lib_gpu_impl.cu.cc +@@ -70,7 +70,7 @@ __global__ void concat_variable_kernel( + IntType num_inputs = input_ptr_data.size; + + // verbose declaration needed due to template +- GPU_DYNAMIC_SHARED_MEM_DECL(sizeof(T), unsigned char, smem); ++ GPU_DYNAMIC_SHARED_MEM_DECL(8, unsigned char, smem); + IntType* smem_col_scan = reinterpret_cast(smem); + + if (useSmem) { +diff --git a/tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc b/tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc +index ae3fe6d140f..737e22e5b9f 100644 +--- a/tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc ++++ b/tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc +@@ -410,7 +410,11 @@ class DynamicPartitionOpGPU : public AsyncOpKernel { + num_partitions_); + + #if GOOGLE_CUDA +- cub::ConstantInputIterator values_in(1); ++ #if THRUST_VERSION >= 200802 ++ thrust::constant_iterator values_in(1); ++ #else ++ cub::ConstantInputIterator values_in(1); ++ #endif + #elif TENSORFLOW_USE_ROCM + using ConstantInputIterator = + ::rocprim::constant_iterator; +diff --git a/tensorflow/core/kernels/split_lib_gpu.cu.cc b/tensorflow/core/kernels/split_lib_gpu.cu.cc +index 90b28292ac0..e395d4f12f5 100644 +--- a/tensorflow/core/kernels/split_lib_gpu.cu.cc ++++ b/tensorflow/core/kernels/split_lib_gpu.cu.cc +@@ -120,7 +120,7 @@ __global__ void split_v_kernel(const T* __restrict__ input_ptr, + int num_outputs = output_ptr_data.size; + + // verbose declaration needed due to template +- GPU_DYNAMIC_SHARED_MEM_DECL(sizeof(T), unsigned char, smem); ++ GPU_DYNAMIC_SHARED_MEM_DECL(2, unsigned char, smem); + IntType* smem_col_scan = reinterpret_cast(smem); + + if (useSmem) { +diff --git a/tensorflow/core/kernels/where_op_gpu.cu.h b/tensorflow/core/kernels/where_op_gpu.cu.h +index 5eb03ec60ad..3de25b7a82c 100644 +--- a/tensorflow/core/kernels/where_op_gpu.cu.h ++++ b/tensorflow/core/kernels/where_op_gpu.cu.h +@@ -233,6 +233,17 @@ class WhereOutputIterator { + return *(ptr_ + (valid ? (NDIM * n) : 0)); + } + ++ ++ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE reference operator*() const { ++ // Dereference the current pointer ++ return *ptr_; ++ } ++ ++ ++ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE self_type operator+(std::ptrdiff_t n) const { ++ return self_type(ptr_ + NDIM * n, max_row_); ++ } ++ + private: + int64* ptr_; + const Eigen::DenseIndex max_row_;
VariantStatus
linux_64_cuda_compiler_version12.8microarch_level1linux_64_cuda_compiler_version12.9microarch_level1 - variant + variant
linux_64_cuda_compiler_version12.8microarch_level3linux_64_cuda_compiler_version12.9microarch_level3 - variant + variant
linux_aarch64_cuda_compiler_versionNonelinux_aarch64_c_compiler_version11cuda_compiler_versionNonecxx_compiler_version11 - variant + variant