FreeBSD Bugzilla – Attachment 251990 Details for
Bug 280234
science/py-tensorflow: update 2.9.1 → 2.13.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update to 2.13.1
0001-science-py-tensorflow-Update-2.9.1-2.13.1.patch (text/plain), 127.74 KB, created by
Lars Herschke
on 2024-07-12 09:58:00 UTC
(
hide
)
Description:
update to 2.13.1
Filename:
MIME Type:
Creator:
Lars Herschke
Created:
2024-07-12 09:58:00 UTC
Size:
127.74 KB
patch
obsolete
>From 9e4b12e539a0a76e8e68eecf1602abfba9e2cc88 Mon Sep 17 00:00:00 2001 >From: Lars Herschke <lhersch@dssgmbh.de> >Date: Fri, 12 Jul 2024 11:55:28 +0200 >Subject: [PATCH] science/py-tensorflow: Update 2.9.1 -> 2.13.1 > >Sponsored by: DSS GmbH >--- > science/py-tensorflow/Makefile | 88 ++-- > science/py-tensorflow/Makefile.MASTER_SITES | 78 +-- > science/py-tensorflow/distinfo | 112 ++-- > .../files/bazel/fix-environ.patch | 32 +- > .../files/bazel/fix-pybind11_protobuf.patch | 116 +++++ > ...default-option.patch => fix-xnnpack.patch} | 31 +- > .../files/bazel/fix_cpuinfo.patch | 51 +- > .../files/bazel/freebsd_python_fix.patch | 11 - > .../py-tensorflow/files/bazel/set-c++17.patch | 11 - > science/py-tensorflow/files/patch-.bazelrc | 16 +- > science/py-tensorflow/files/patch-WORKSPACE | 18 - > science/py-tensorflow/files/patch-configure | 11 - > .../files/patch-tensorflow_BUILD | 31 +- > ...tch-tensorflow_compiler_mlir_hlo_WORKSPACE | 11 - > ...ompiler_mlir_quantization_tensorflow_BUILD | 11 - > .../files/patch-tensorflow_core_BUILD | 11 - > .../files/patch-tensorflow_core_lib_png_BUILD | 10 - > .../patch-tensorflow_core_platform_BUILD | 10 - > .../files/patch-tensorflow_java_BUILD | 10 - > .../files/patch-tensorflow_lite_BUILD | 10 - > .../files/patch-tensorflow_lite_build_def.bzl | 10 - > .../files/patch-tensorflow_lite_c_BUILD | 10 - > ...nsorflow_lite_delegates_flex_build_def.bzl | 10 - > ...ow_lite_delegates_hexagon_hexagon_nn_BUILD | 10 - > .../files/patch-tensorflow_python_BUILD | 10 + > .../files/patch-tensorflow_tensorflow.bzl | 26 - > ...sorflow_tf__framework__version__script.lds | 12 + > ...tensorflow_tf_framework_version_script.lds | 12 - > ..._tools_pip__package_build__pip__package.sh | 32 ++ > ...tch-tensorflow_tools_pip__package_setup.py | 34 -- > .../patch-tensorflow_tools_proto__text_BUILD | 10 - > ...low_tsl_platform_default_build__config.bzl | 25 + > ...patch-tensorflow_tsl_python_lib_core_BUILD | 11 + > .../files/patch-tensorflow_workspace2.bzl | 29 +- > ...h-third__party_absl_system.absl.base.BUILD | 17 + > ...d__party_absl_system.absl.functional.BUILD | 13 + > ...ch-third__party_absl_system.absl.log.BUILD | 13 + > ...hird__party_absl_system.absl.strings.BUILD | 19 +- > .../patch-third__party_absl_workspace.bzl | 10 + > .../patch-third__party_cpuinfo_cpuinfo.BUILD | 51 -- > .../patch-third__party_cpuinfo_workspace.bzl | 9 - > ...-third__party_llvm_macos__build__fix.patch | 11 - > .../patch-third__party_llvm_workspace.bzl | 12 +- > .../files/patch-third__party_py_BUILD.tpl | 17 - > ...tch-third__party_systemlibs_protobuf.BUILD | 25 - > science/py-tensorflow/pkg-plist | 490 ++++++++++++------ > 46 files changed, 872 insertions(+), 735 deletions(-) > create mode 100644 science/py-tensorflow/files/bazel/fix-pybind11_protobuf.patch > rename science/py-tensorflow/files/bazel/{add-default-option.patch => fix-xnnpack.patch} (62%) > delete mode 100644 science/py-tensorflow/files/bazel/freebsd_python_fix.patch > delete mode 100644 science/py-tensorflow/files/bazel/set-c++17.patch > delete mode 100644 science/py-tensorflow/files/patch-WORKSPACE > delete mode 100644 science/py-tensorflow/files/patch-configure > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_compiler_mlir_hlo_WORKSPACE > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_compiler_mlir_quantization_tensorflow_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_core_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_core_lib_png_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_core_platform_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_java_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_lite_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_lite_build_def.bzl > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_lite_c_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_lite_delegates_flex_build_def.bzl > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_lite_delegates_hexagon_hexagon_nn_BUILD > create mode 100644 science/py-tensorflow/files/patch-tensorflow_python_BUILD > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl > create mode 100644 science/py-tensorflow/files/patch-tensorflow_tf__framework__version__script.lds > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_tf_framework_version_script.lds > create mode 100644 science/py-tensorflow/files/patch-tensorflow_tools_pip__package_build__pip__package.sh > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_tools_pip__package_setup.py > delete mode 100644 science/py-tensorflow/files/patch-tensorflow_tools_proto__text_BUILD > create mode 100644 science/py-tensorflow/files/patch-tensorflow_tsl_platform_default_build__config.bzl > create mode 100644 science/py-tensorflow/files/patch-tensorflow_tsl_python_lib_core_BUILD > create mode 100644 science/py-tensorflow/files/patch-third__party_absl_system.absl.base.BUILD > create mode 100644 science/py-tensorflow/files/patch-third__party_absl_system.absl.functional.BUILD > create mode 100644 science/py-tensorflow/files/patch-third__party_absl_system.absl.log.BUILD > create mode 100644 science/py-tensorflow/files/patch-third__party_absl_workspace.bzl > delete mode 100644 science/py-tensorflow/files/patch-third__party_cpuinfo_cpuinfo.BUILD > delete mode 100644 science/py-tensorflow/files/patch-third__party_cpuinfo_workspace.bzl > delete mode 100644 science/py-tensorflow/files/patch-third__party_llvm_macos__build__fix.patch > delete mode 100644 science/py-tensorflow/files/patch-third__party_py_BUILD.tpl > delete mode 100644 science/py-tensorflow/files/patch-third__party_systemlibs_protobuf.BUILD > >diff --git a/science/py-tensorflow/Makefile b/science/py-tensorflow/Makefile >index 0dbb00230f..7d82f102e4 100644 >--- a/science/py-tensorflow/Makefile >+++ b/science/py-tensorflow/Makefile >@@ -1,12 +1,14 @@ > PORTNAME= tensorflow > DISTVERSIONPREFIX= v >-DISTVERSION= 2.9.1 >-PORTREVISION= 14 >+DISTVERSION= 2.13.1 > CATEGORIES= science python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > DIST_SUBDIR= ${PORTNAME} > EXTRACT_ONLY= ${DISTNAME}.tar.gz > >+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ >+PATCHFILES= ba7501696cc.patch:-p1 667cf3ed2d7.patch:-p1 >+ > MAINTAINER= amzo1337@gmail.com > COMMENT= Computation using data flow graphs for scalable machine learning > WWW= https://www.tensorflow.org >@@ -14,58 +16,53 @@ WWW= https://www.tensorflow.org > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-BROKEN= variable has incomplete type 'StateSaver' > ONLY_FOR_ARCHS= amd64 > > BUILD_DEPENDS= ${RUN_DEPENDS} \ > ${PYTHON_PKGNAMEPREFIX}grpcio-tools>=1.22.0:devel/py-grpcio-tools@${PY_FLAVOR} \ > bash:shells/bash \ >- cython:lang/cython \ >- swig:devel/swig \ > bazel:devel/bazel5 \ >- git:devel/git >+ cython:lang/cython \ >+ git:devel/git \ >+ patchelf:sysutils/patchelf \ >+ swig:devel/swig > LIB_DEPENDS= libnsync.so:devel/nsync \ > libgpr.so:devel/grpc \ > libpng.so:graphics/png \ > libsnappy.so:archivers/snappy \ >- liblmdb.so:databases/lmdb \ >+ libabsl_base.so:devel/abseil \ > libsqlite3.so:databases/sqlite3 \ > libicuio.so:devel/icu \ > libjsoncpp.so:devel/jsoncpp \ >- libpcre.so:devel/pcre \ >- libnsync.so:devel/nsync \ > libprotobuf.so:devel/protobuf \ >- libprotobuf-c.so:devel/protobuf-c \ >- libre2.so:devel/re2 \ > libgif.so:graphics/giflib \ > libcurl.so:ftp/curl \ >- libflatbuffers.so:devel/flatbuffers \ > libdouble-conversion.so:devel/double-conversion > RUN_DEPENDS= pybind11>=2.6.2:devel/pybind11 \ >- ${PYTHON_PKGNAMEPREFIX}absl-py>=1.0.0:devel/py-absl-py \ >- ${PYTHON_PKGNAMEPREFIX}astunparse>=1.6.3:devel/py-astunparse@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}absl-py>=1.0.0:devel/py-absl-py@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}astunparse>=1.6.0:devel/py-astunparse@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}flatbuffers>=23.1.21:devel/py-flatbuffers@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}gast>=0.2.1:devel/py-gast@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}google-pasta>=0.1.1:devel/py-google-pasta@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}h5py>=2.9.0:science/py-h5py@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}flatbuffers>=2.0:devel/py-flatbuffers@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}gast>=0.5.3:devel/py-gast@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}numpy>=1.20.0:math/py-numpy@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}google-pasta>=0.1.7:devel/py-google-pasta@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.1:devel/py-protobuf@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}grpcio>=1.22.0:devel/py-grpcio@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}keras-preprocessing>=1.1.1:math/py-keras-preprocessing@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}wrapt>=1.14.1:devel/py-wrapt@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}wheel>=0.30.0:devel/py-wheel@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}opt-einsum>=3.3.0:math/py-opt-einsum@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.22.0:math/py-numpy@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}opt-einsum>=2.3.2:math/py-opt-einsum@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ >- pybind11>=2.6.2:devel/pybind11 >+ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.3:devel/py-protobuf@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.6:devel/py-typing-extensions@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wrapt>=1.11.0:devel/py-wrapt@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}grpcio>=1.24.3:devel/py-grpcio@${PY_FLAVOR} > > USES= jpeg llvm:16 python shebangfix ssl >-USE_CXXSTD= c++17 >+USE_CXXSTD= c++17 > USE_GITHUB= yes >+USE_LDCONFIG= yes > USE_PYTHON= distutils > >+BINARY_ALIAS= python3=${PYTHON_CMD} > SHEBANG_GLOB= *.py > > BAZEL_BOOT= --output_user_root=${WRKDIR}/bazel_out >@@ -99,9 +96,7 @@ post-patch: > # Set up a local repository with our pre-downloaded packages > # This prevents bazel downloading the files without modifying > # the bzl files. >- @${MKDIR} ${WRKDIR}/bazel-cache > @${MKDIR} ${WRKDIR}/bazel-dist >- @${MKDIR} ${WRKDIR}/.bin > > .for file in ${DISTFILES:C/\:(.*)//} > @${ECHO} "Moving ${file} to ${WRKDIR}/bazel-dist" >@@ -112,24 +107,8 @@ post-patch: > @${CP} -R ${PATCHDIR}/bazel/* \ > ${WRKSRC}/third_party/ > >- @${LN} -s ${PYTHON_CMD} ${WRKDIR}/.bin/python3 >- >- @cd ${WRKSRC} && \ >- ${REINPLACE_CMD} "s#--batch#${BAZEL_BOOT}\', \'--batch#" \ >- configure.py >- >- ${REINPLACE_CMD} "s#%%PYTHON%%#${PYTHON_VERSION}#" ${WRKSRC}/configure \ >- ${WRKSRC}/third_party/freebsd_python_fix.patch \ >- ${WRKSRC}/tensorflow/compiler/mlir/quantization/tensorflow/BUILD >- > @${REINPLACE_CMD} "s#%%BAZEL_DIR%%#${WRKDIR}#" ${WRKDIR}/bazelrc > @${REINPLACE_CMD} "s#%%BAZEL_DIST%%#${WRKDIR}#" ${WRKDIR}/bazelrc >- @${REINPLACE_CMD} "s#%%MLIR_LLVM_PATCH%%#/${WRKSRC}/bazel/bazel_llvm-raw_utils_bazel_configure.bzl#" \ >- ${WRKSRC}/tensorflow/compiler/mlir/hlo/WORKSPACE >- >- # use system pybind11, but use sed to fix includes, too many to maintain with patches >- @${FIND} ${WRKSRC} -type f -name '*.cc' | ${XARGS} ${REINPLACE_CMD} "s#include\/pybind11#pybind11#" >- > > # copy the toolchain over > @${CP} -R ${PATCHDIR}/freebsd \ >@@ -137,21 +116,13 @@ post-patch: > > @${REINPLACE_CMD} "s#%%PATH%%#${PATH}#" ${WRKDIR}/bazelrc > >- @${REINPLACE_CMD} "s#%%PYTHON%%#${PYTHON_CMD}#" ${WRKSRC}/.bazelrc >- > @${REINPLACE_CMD} \ > -e "s#%%LOCALBASE%%#${LOCALBASE}#" \ > -e "s#%%LLVM_PREFIX%%#${LLVM_PREFIX}#g" \ > -e "s#%%LLVM_VERSION%%#${LLVM_VERSION}#g" \ > ${WRKDIR}/bazelrc \ >- ${WRKSRC}/third_party/absl/system.absl.strings.BUILD \ > ${WRKSRC}/freebsd/cc_toolchain_config.bzl \ >- ${WRKSRC}/.bazelrc \ >- ${WRKSRC}/tensorflow/tools/proto_text/BUILD \ >- ${WRKSRC}/tensorflow/BUILD \ >- ${WRKSRC}/tensorflow/core/BUILD \ >- ${WRKSRC}/third_party/systemlibs/protobuf.BUILD >- >+ ${WRKSRC}/.bazelrc > > do-configure: > @cd ${WRKSRC} && ${SETENV} \ >@@ -175,7 +146,7 @@ do-configure: > PREFIX="${LOCALBASE}" \ > TF_SYSTEM_LIBS="absl_py astor_archive astunparse_archive boringssl com_github_googlecloudplatform_google_cloud_cpp com_github_grpc_grpc \ > com_google_absl com_google_protobuf curl cython dill_archive double_conversion functools32_archive gast_archive \ >- gif hwloc icu jsoncpp_git libjpeg_turbo lmdb nasm nsync opt_einsum_archive org_sqlite pasta png pybind11 six_archive snappy \ >+ gif hwloc icu jsoncpp_git libjpeg_turbo nasm nsync opt_einsum_archive org_sqlite pasta png pybind11 six_archive snappy \ > tblib_archive termcolor_archive typing_extensions_archive wrapt zlib" \ > ./configure > >@@ -191,7 +162,6 @@ do-build: > //tensorflow:install_headers \ > //tensorflow/tools/pip_package:build_pip_package > >- > @cd ${WRKSRC} && ${SETENV} TMPDIR=${WRKDIR} \ > bazel-bin/tensorflow/tools/pip_package/build_pip_package \ > ${WRKDIR}/whl >@@ -228,6 +198,6 @@ do-install: > > post-install: # autoplist: thousands of files, all under ${PYTHON_SITELIBDIR} > @cd ${STAGEDIR}${PREFIX} && \ >- ${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | grep -v "egg-info/" >> ${TMPPLIST} >+ ${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | ${GREP} -v "egg-info/" >> ${TMPPLIST} > > .include <bsd.port.mk> >diff --git a/science/py-tensorflow/Makefile.MASTER_SITES b/science/py-tensorflow/Makefile.MASTER_SITES >index 35742be9ba..3cabc97f7c 100644 >--- a/science/py-tensorflow/Makefile.MASTER_SITES >+++ b/science/py-tensorflow/Makefile.MASTER_SITES >@@ -1,56 +1,63 @@ >-DISTFILES+= platforms-0.0.2.tar.gz:platforms \ >- apple_support.0.12.1.tar.gz:apple \ >- bazel-skylib-1.0.3.tar.gz:skylib \ >- dfc67056200b674accd08d8f9a21e328098c07e2.tar.gz:toolchain \ >+DISTFILES+= platforms-0.0.6.tar.gz:platforms \ >+ apple_support.1.1.0.tar.gz:apple \ >+ bazel-skylib-1.3.0.tar.gz:skylib \ >+ 8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz:toolchain \ > v0.1.1.zip:buildrules \ >- rules_apple.0.33.0.tar.gz:applerules \ >+ rules_apple.1.0.1.tar.gz:applerules \ > 081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz:rulescc \ > 308b05b2419edb5c8ee0471b67a40403df940149.tar.gz:closure \ >- rules_docker-v0.10.0.tar.gz:docker \ >+ 0.7.1.tar.gz:rulesforeigncc \ > 7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip:java \ >- rules_pkg-0.2.5.tar.gz:pkg \ >+ 4.3.zip:jvm \ >+ rules_pkg-0.7.1.tar.gz:pkg \ > 11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz:protolib \ > rules_python-0.0.1.tar.gz:pythonrules \ >- rules_swift.0.25.0.tar.gz:swift \ >- 790d7a083520398268d92d0bd61cf85dfa32ee98.tar.gz:dlpack \ >+ rules_swift.1.0.0.tar.gz:swift \ >+ 9351cf542ab478499294864ff3acfdab5c8c5f3d.tar.gz:dlpack \ >+ f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz:benchmark \ > 0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz:farmhash \ > e844ffd17118c1e17d94e1ba4354c075a4577b88.zip:gemmlowp \ >- fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz:highwayhash \ >- 506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz:re2 \ >- e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip:ruy \ >+ c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz:highwayhash \ >+ a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz:re2 \ >+ 3286a34cc8de6149ac6844107dfdffac91531e72.zip:ruy \ > 835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz:sobol \ > openmp-10.0.1.src.tar.xz:llvmorg \ >- 36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz:kiss \ >- v2.6.tar.gz:onednn \ >+ 131.1.0.tar.gz:kiss \ >+ v2.7.3.tar.gz:onednn \ >+ 43d81c6883ade82052920bd367c61f9e52f09954.zip:openxla \ > v1.0.tar.gz:ooura \ >- 5916273f79a21551890fd3d56fc5375a78d1598d.zip:cpuinfo \ >- d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz:cpuinfo2 \ >- 093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz:runtime \ >- eigen-008ff3483a8c5604639e1c4d204eae30ad737af6.tar.gz:eigen \ >- 11b2812d64e49bab9b6c489f79067fc94e69db9f.zip:xnnpack \ >+ 2c4932ed6f6204f1656e245838f4f5eae69d2e29.tar.gz:pybindabseil \ >+ 72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz:pybindbazel \ >+ 80f3440cd8fee124e077e2e47a8a17b78b451363.zip:pybindprotobuf \ >+ 3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip:cpuinfo \ >+ 7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz:runtime \ >+ eigen-b0f877f8e01e90a5b0f3a79d46ea234899f8b499.tar.gz:eigen \ >+ b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip:xnnpack \ > b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip:pthread \ > 4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip:fp16 \ > 63058eff77e11aa15bf531df5dd34395ec3017c8.zip:fxdiv \ >- 1cb299165c859533e22f2ed05eb2abd5071544df.tar.gz:llvm \ >- 541b1ded4abadcc38e8178680b0677f65594ea6f.zip:apis \ >- v1.12.0.tar.gz:flatbuffer \ >- 1200fe90bb174a6224a525ee60148671a786a71f.tar.gz:neon >+ dc275fd03254d67d29cc70a5a0569acf24d2280d.tar.gz:llvm \ >+ 6b3fdcea8bc5398be4e7e9930c693f0ea09316a0.tar.gz:apis \ >+ v23.1.21.tar.gz:flatbuffer \ >+ a15b489e1222b2087007546b4912e21293ea86ff.tar.gz:neon > >-MASTER_SITES+= https://github.com/bazelbuild/platforms/releases/download/0.0.2/:platforms \ >- https://github.com/bazelbuild/apple_support/releases/download/0.12.1/:apple \ >- https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/:skylib \ >+MASTER_SITES+= https://github.com/bazelbuild/platforms/releases/download/0.0.6/:platforms \ >+ https://github.com/bazelbuild/apple_support/releases/download/1.1.0/:apple \ >+ https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/:skylib \ > https://github.com/bazelbuild/bazel-toolchains/archive/:toolchain \ > https://github.com/bazelbuild/rules_android/archive/:buildrules \ >- https://github.com/bazelbuild/rules_apple/releases/download/0.33.0/:applerules \ >+ https://github.com/bazelbuild/rules_apple/releases/download/1.0.1/:applerules \ > https://github.com/bazelbuild/rules_cc/archive/:rulescc \ > https://github.com/bazelbuild/rules_closure/archive/:closure \ >- https://github.com/bazelbuild/rules_docker/releases/download/v0.10.0/:docker \ >+ https://github.com/bazelbuild/rules_foreign_cc/archive/:rulesforeigncc \ > https://github.com/bazelbuild/rules_java/archive/:java \ >- https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/:pkg \ >+ https://github.com/bazelbuild/rules_jvm_external/archive/:jvm \ >+ https://github.com/bazelbuild/rules_pkg/releases/download/0.7.1/:pkg \ > https://github.com/bazelbuild/rules_proto/archive/:protolib \ > https://github.com/bazelbuild/rules_python/releases/download/0.0.1/:pythonrules \ >- https://github.com/bazelbuild/rules_swift/releases/download/0.25.0/:swift \ >+ https://github.com/bazelbuild/rules_swift/releases/download/1.0.0/:swift \ > https://github.com/dmlc/dlpack/archive/:dlpack \ >+ https://github.com/google/benchmark/archive/:benchmark \ > https://github.com/google/farmhash/archive/:farmhash \ > https://github.com/google/gemmlowp/archive/:gemmlowp \ > https://github.com/google/highwayhash/archive/:highwayhash \ >@@ -58,18 +65,21 @@ MASTER_SITES+= https://github.com/bazelbuild/platforms/releases/download/0.0.2/: > https://github.com/google/ruy/archive/:ruy \ > https://github.com/joe-kuo/sobol_data/archive/:sobol \ > https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/:llvmorg \ >- https://github.com/mborgerding/kissfft/archive/:kiss \ >+ https://github.com/mborgerding/kissfft/archive/refs/tags/:kiss \ > https://github.com/oneapi-src/oneDNN/archive/refs/tags/:onednn \ >+ https://github.com/openxla/stablehlo/archive/:openxla \ > https://github.com/petewarden/OouraFFT/archive/:ooura \ >+ https://github.com/pybind/pybind11_abseil/archive/:pybindabseil \ >+ https://github.com/pybind/pybind11_bazel/archive/:pybindbazel \ >+ https://github.com/pybind/pybind11_protobuf/archive/:pybindprotobuf \ > https://github.com/pytorch/cpuinfo/archive/:cpuinfo \ >- https://github.com/pytorch/cpuinfo/archive/:cpuinfo2 \ > https://github.com/tensorflow/runtime/archive/:runtime \ >- https://gitlab.com/libeigen/eigen/-/archive/008ff3483a8c5604639e1c4d204eae30ad737af6/:eigen \ >+ https://gitlab.com/libeigen/eigen/-/archive/b0f877f8e01e90a5b0f3a79d46ea234899f8b499/:eigen \ > https://github.com/google/XNNPACK/archive/:xnnpack \ > https://github.com/Maratyszcza/pthreadpool/archive/:pthread \ > https://github.com/Maratyszcza/FP16/archive/:fp16 \ > https://github.com/Maratyszcza/FXdiv/archive/:fxdiv \ >- https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/:llvm \ >+ https://github.com/llvm/llvm-project/archive/:llvm \ > https://github.com/googleapis/googleapis/archive/:apis \ > https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/:flatbuffer \ > https://github.com/intel/ARM_NEON_2_x86_SSE/archive/:neon >diff --git a/science/py-tensorflow/distinfo b/science/py-tensorflow/distinfo >index d9d9a22548..c6eb7c9da8 100644 >--- a/science/py-tensorflow/distinfo >+++ b/science/py-tensorflow/distinfo >@@ -1,77 +1,91 @@ >-TIMESTAMP = 1662651809 >-SHA256 (tensorflow/platforms-0.0.2.tar.gz) = 48a2d8d343863989c232843e01afc8a986eb8738766bfd8611420a7db8f6f0c3 >-SIZE (tensorflow/platforms-0.0.2.tar.gz) = 5278 >-SHA256 (tensorflow/apple_support.0.12.1.tar.gz) = c604b75865c07f45828c7fffd5fdbff81415a9e84a68f71a9c1d8e3b2694e547 >-SIZE (tensorflow/apple_support.0.12.1.tar.gz) = 26708 >-SHA256 (tensorflow/bazel-skylib-1.0.3.tar.gz) = 1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c >-SIZE (tensorflow/bazel-skylib-1.0.3.tar.gz) = 30711 >-SHA256 (tensorflow/dfc67056200b674accd08d8f9a21e328098c07e2.tar.gz) = 77c2c3c562907a1114afde7b358bf3d5cc23dc61b3f2fd619bf167af0c9582a3 >-SIZE (tensorflow/dfc67056200b674accd08d8f9a21e328098c07e2.tar.gz) = 1056209 >+TIMESTAMP = 1720544054 >+SHA256 (tensorflow/platforms-0.0.6.tar.gz) = 5308fc1d8865406a49427ba24a9ab53087f17f5266a7aabbfc28823f3916e1ca >+SIZE (tensorflow/platforms-0.0.6.tar.gz) = 5537 >+SHA256 (tensorflow/apple_support.1.1.0.tar.gz) = ce1042cf936540eaa7b49c4549d7cd9b6b1492acbb6e765840a67a34b8e17a97 >+SIZE (tensorflow/apple_support.1.1.0.tar.gz) = 27105 >+SHA256 (tensorflow/bazel-skylib-1.3.0.tar.gz) = 74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506 >+SIZE (tensorflow/bazel-skylib-1.3.0.tar.gz) = 36103 >+SHA256 (tensorflow/8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz) = 294cdd859e57fcaf101d4301978c408c88683fbc46fbc1a3829da92afbea55fb >+SIZE (tensorflow/8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz) = 80728 > SHA256 (tensorflow/v0.1.1.zip) = cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806 > SIZE (tensorflow/v0.1.1.zip) = 14654 >-SHA256 (tensorflow/rules_apple.0.33.0.tar.gz) = a5f00fd89eff67291f6cd3efdc8fad30f4727e6ebb90718f3f05bbf3c3dd5ed7 >-SIZE (tensorflow/rules_apple.0.33.0.tar.gz) = 2168079 >+SHA256 (tensorflow/rules_apple.1.0.1.tar.gz) = 36072d4f3614d309d6a703da0dfe48684ec4c65a89611aeb9590b45af7a3e592 >+SIZE (tensorflow/rules_apple.1.0.1.tar.gz) = 2198467 > SHA256 (tensorflow/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz) = ff7876d80cd3f6b8c7a064bd9aa42a78e02096544cca2b22a9cf390a4397a53e > SIZE (tensorflow/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz) = 130803 > SHA256 (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9 > SIZE (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 464906 >-SHA256 (tensorflow/rules_docker-v0.10.0.tar.gz) = 7d453450e1eb70e238eea6b31f4115607ec1200e91afea01c25f9804f37e39c8 >-SIZE (tensorflow/rules_docker-v0.10.0.tar.gz) = 549649 >+SHA256 (tensorflow/0.7.1.tar.gz) = bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83 >+SIZE (tensorflow/0.7.1.tar.gz) = 215296 > SHA256 (tensorflow/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip) = bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598 > SIZE (tensorflow/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip) = 9422 >-SHA256 (tensorflow/rules_pkg-0.2.5.tar.gz) = 352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a >-SIZE (tensorflow/rules_pkg-0.2.5.tar.gz) = 29857 >+SHA256 (tensorflow/4.3.zip) = 6274687f6fc5783b589f56a2f1ed60de3ce1f99bc4e8f9edef3de43bdf7c6e74 >+SIZE (tensorflow/4.3.zip) = 3998031 >+SHA256 (tensorflow/rules_pkg-0.7.1.tar.gz) = 451e08a4d78988c06fa3f9306ec813b836b1d076d0f055595444ba4ff22b867f >+SIZE (tensorflow/rules_pkg-0.7.1.tar.gz) = 77334 > SHA256 (tensorflow/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz) = 20b240eba17a36be4b0b22635aca63053913d5c1ee36e16be36499d167a2f533 > SIZE (tensorflow/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz) = 14304 > SHA256 (tensorflow/rules_python-0.0.1.tar.gz) = aa96a691d3a8177f3215b14b0edc9641787abaaa30363a080165d06ab65e1161 > SIZE (tensorflow/rules_python-0.0.1.tar.gz) = 2302092 >-SHA256 (tensorflow/rules_swift.0.25.0.tar.gz) = 8a49da750560b185804a4bc95c82d3f9cc4c2caf788960b0e21945759155fdd9 >-SIZE (tensorflow/rules_swift.0.25.0.tar.gz) = 184783 >-SHA256 (tensorflow/790d7a083520398268d92d0bd61cf85dfa32ee98.tar.gz) = 147cc89904375dcd0b0d664a2b72dfadbb02058800ad8cba84516094bc406208 >-SIZE (tensorflow/790d7a083520398268d92d0bd61cf85dfa32ee98.tar.gz) = 45837 >+SHA256 (tensorflow/rules_swift.1.0.0.tar.gz) = 12057b7aa904467284eee640de5e33853e51d8e31aae50b3fb25d2823d51c6b8 >+SIZE (tensorflow/rules_swift.1.0.0.tar.gz) = 199181 >+SHA256 (tensorflow/9351cf542ab478499294864ff3acfdab5c8c5f3d.tar.gz) = 7aca112f2809b7e9523e9b47b04a393affeca38247861951f07c42dee10180e2 >+SIZE (tensorflow/9351cf542ab478499294864ff3acfdab5c8c5f3d.tar.gz) = 76170 >+SHA256 (tensorflow/f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz) = 552ca3d4d1af4beeb1907980f7096315aa24150d6baf5ac1e5ad90f04846c670 >+SIZE (tensorflow/f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz) = 204856 > SHA256 (tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz) = 18392cf0736e1d62ecbb8d695c31496b6507859e8c75541d7ad0ba092dc52115 > SIZE (tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz) = 467251 > SHA256 (tensorflow/e844ffd17118c1e17d94e1ba4354c075a4577b88.zip) = 522b7a82d920ebd0c4408a5365866a40b81d1c0d60b2369011d315cca03c6476 > SIZE (tensorflow/e844ffd17118c1e17d94e1ba4354c075a4577b88.zip) = 940590 >-SHA256 (tensorflow/fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz) = 9c3e0e87d581feeb0c18d814d98f170ff23e62967a2bd6855847f0b2fe598a37 >-SIZE (tensorflow/fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz) = 138574 >-SHA256 (tensorflow/506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz) = d070e2ffc5476c496a6a872a6f246bfddce8e7797d6ba605a7c8d72866743bf9 >-SIZE (tensorflow/506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz) = 316237 >-SHA256 (tensorflow/e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip) = fa9a0b9041095817bc3533f7b125c3b4044570c0b3ee6c436d2d29dae001c06b >-SIZE (tensorflow/e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip) = 375516 >+SHA256 (tensorflow/c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz) = c0e2b9931fbcce3bfbcd7999c3c114f404ac0f8b89775a5bbccbcaa501868e58 >+SIZE (tensorflow/c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz) = 160745 >+SHA256 (tensorflow/a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz) = b90430b2a9240df4459108b3e291be80ae92c68a47bc06ef2dc419c5724de061 >+SIZE (tensorflow/a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz) = 306766 >+SHA256 (tensorflow/3286a34cc8de6149ac6844107dfdffac91531e72.zip) = a22c42e80c7bb450db8492728e4742ee66f46d5458c45fe67ce2c9b61240630c >+SIZE (tensorflow/3286a34cc8de6149ac6844107dfdffac91531e72.zip) = 381045 > SHA256 (tensorflow/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz) = 583d7b975e506c076fc579d9139530596906b9195b203d42361417e9aad79b73 > SIZE (tensorflow/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz) = 2569603 > SHA256 (tensorflow/openmp-10.0.1.src.tar.xz) = d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44 > SIZE (tensorflow/openmp-10.0.1.src.tar.xz) = 955492 >-SHA256 (tensorflow/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz) = 42b7ef406d5aa2d57a7b3b56fc44e8ad3011581692458a69958a911071efdcf2 >-SIZE (tensorflow/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz) = 44744 >-SHA256 (tensorflow/v2.6.tar.gz) = 9695640f55acd833ddcef4776af15e03446c4655f9296e5074b1b178dd7a4fb2 >-SIZE (tensorflow/v2.6.tar.gz) = 5840464 >+SHA256 (tensorflow/131.1.0.tar.gz) = 76c1aac87ddb7258f34b08a13f0eebf9e53afa299857568346aa5c82bcafaf1a >+SIZE (tensorflow/131.1.0.tar.gz) = 52383 >+SHA256 (tensorflow/v2.7.3.tar.gz) = a50993aa6265b799b040fe745e0010502f9f7103cc53a9525d59646aef006633 >+SIZE (tensorflow/v2.7.3.tar.gz) = 6410473 >+SHA256 (tensorflow/43d81c6883ade82052920bd367c61f9e52f09954.zip) = 57a8a93e51211f990d760631f2bfdbba5257b22dda3d60e35a186bba988a2ace >+SIZE (tensorflow/43d81c6883ade82052920bd367c61f9e52f09954.zip) = 27954369 > SHA256 (tensorflow/v1.0.tar.gz) = 5f4dabc2ae21e1f537425d58a49cdca1c49ea11db0d6271e2a4b27e9697548eb > SIZE (tensorflow/v1.0.tar.gz) = 110531 >-SHA256 (tensorflow/5916273f79a21551890fd3d56fc5375a78d1598d.zip) = 2a160c527d3c58085ce260f34f9e2b161adc009b34186a2baf24e74376e89e6d >-SIZE (tensorflow/5916273f79a21551890fd3d56fc5375a78d1598d.zip) = 3787933 >-SHA256 (tensorflow/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz) = 3f2dc1970f397a0e59db72f9fca6ff144b216895c1d606f6c94a507c1e53a025 >-SIZE (tensorflow/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz) = 3489028 >-SHA256 (tensorflow/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz) = fce593c95eb508092c4a1752130868b6d2eae0fd4a5363b9d96195fd85b7cfec >-SIZE (tensorflow/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz) = 15323415 >-SHA256 (tensorflow/eigen-008ff3483a8c5604639e1c4d204eae30ad737af6.tar.gz) = e1dd31ce174c3d26fbe38388f64b09d2adbd7557a59e90e6f545a288cc1755fc >-SIZE (tensorflow/eigen-008ff3483a8c5604639e1c4d204eae30ad737af6.tar.gz) = 2733792 >-SHA256 (tensorflow/11b2812d64e49bab9b6c489f79067fc94e69db9f.zip) = 7e9ad45391e5158fd00e816022bda21d54a6180788af7c455c864a78cee252c6 >-SIZE (tensorflow/11b2812d64e49bab9b6c489f79067fc94e69db9f.zip) = 17103217 >+SHA256 (tensorflow/2c4932ed6f6204f1656e245838f4f5eae69d2e29.tar.gz) = 0223b647b8cc817336a51e787980ebc299c8d5e64c069829bf34b69d72337449 >+SIZE (tensorflow/2c4932ed6f6204f1656e245838f4f5eae69d2e29.tar.gz) = 28202 >+SHA256 (tensorflow/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz) = 516c1b3a10d87740d2b7de6f121f8e19dde2c372ecbfe59aef44cd1872c10395 >+SIZE (tensorflow/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz) = 8722 >+SHA256 (tensorflow/80f3440cd8fee124e077e2e47a8a17b78b451363.zip) = c7ab64b1ccf9a678694a89035a8c865a693e4e872803778f91f0965c2f281d78 >+SIZE (tensorflow/80f3440cd8fee124e077e2e47a8a17b78b451363.zip) = 76830 >+SHA256 (tensorflow/3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip) = ba668f9f8ea5b4890309b7db1ed2e152aaaf98af6f9a8a63dbe1b75c04e52cb9 >+SIZE (tensorflow/3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip) = 3812878 >+SHA256 (tensorflow/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz) = cfde5639b7c67c0edfa073b779b977aae744137c2b2fcb25a992f8d57bd033dd >+SIZE (tensorflow/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz) = 15228644 >+SHA256 (tensorflow/eigen-b0f877f8e01e90a5b0f3a79d46ea234899f8b499.tar.gz) = bdb1353ba33a5a7a5caadf822057ac1f0254ba2c5e70512dd1ec20cbb64e2f6c >+SIZE (tensorflow/eigen-b0f877f8e01e90a5b0f3a79d46ea234899f8b499.tar.gz) = 2833536 >+SHA256 (tensorflow/b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip) = c979b62e8b77af60dfd7567f22ade20d5a9d4d0888f8a2d60d155fc0d31b22ab >+SIZE (tensorflow/b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip) = 24168206 > SHA256 (tensorflow/b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip) = b96413b10dd8edaa4f6c0a60c6cf5ef55eebeef78164d5d69294c8173457f0ec > SIZE (tensorflow/b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip) = 61524 > SHA256 (tensorflow/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip) = d973501a40c55126b31accc2d9f08d931ec3cc190c0430309a5e341d3c0ce32a > SIZE (tensorflow/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip) = 91462 > SHA256 (tensorflow/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 3d7b0e9c4c658a84376a1086126be02f9b7f753caa95e009d9ac38d11da444db > SIZE (tensorflow/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 16646 >-SHA256 (tensorflow/1cb299165c859533e22f2ed05eb2abd5071544df.tar.gz) = 5a19ab6de4b0089fff456c0bc406b37ba5f95c76026e6bec294ec28dc28e4cb9 >-SIZE (tensorflow/1cb299165c859533e22f2ed05eb2abd5071544df.tar.gz) = 162307281 >-SHA256 (tensorflow/541b1ded4abadcc38e8178680b0677f65594ea6f.zip) = 7ebab01b06c555f4b6514453dc3e1667f810ef91d1d4d2d3aa29bb9fcb40a900 >-SIZE (tensorflow/541b1ded4abadcc38e8178680b0677f65594ea6f.zip) = 5498751 >-SHA256 (tensorflow/v1.12.0.tar.gz) = 62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45 >-SIZE (tensorflow/v1.12.0.tar.gz) = 1145348 >-SHA256 (tensorflow/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz) = 213733991310b904b11b053ac224fee2d4e0179e46b52fe7f8735b8831e04dcc >-SIZE (tensorflow/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz) = 100612 >-SHA256 (tensorflow/tensorflow-tensorflow-v2.9.1_GH0.tar.gz) = 6eaf86ead73e23988fe192da1db68f4d3828bcdd0f3a9dc195935e339c95dbdc >-SIZE (tensorflow/tensorflow-tensorflow-v2.9.1_GH0.tar.gz) = 66654318 >+SHA256 (tensorflow/dc275fd03254d67d29cc70a5a0569acf24d2280d.tar.gz) = 3e91127af59a6b07fea7901c80a7b8b9234eced42b0f14abbad5f9f7674dba69 >+SIZE (tensorflow/dc275fd03254d67d29cc70a5a0569acf24d2280d.tar.gz) = 182909064 >+SHA256 (tensorflow/6b3fdcea8bc5398be4e7e9930c693f0ea09316a0.tar.gz) = 249d83abc5d50bf372c35c49d77f900bff022b2c21eb73aa8da1458b6ac401fc >+SIZE (tensorflow/6b3fdcea8bc5398be4e7e9930c693f0ea09316a0.tar.gz) = 6091152 >+SHA256 (tensorflow/v23.1.21.tar.gz) = d84cb25686514348e615163b458ae0767001b24b42325f426fd56406fd384238 >+SIZE (tensorflow/v23.1.21.tar.gz) = 2181861 >+SHA256 (tensorflow/a15b489e1222b2087007546b4912e21293ea86ff.tar.gz) = 019fbc7ec25860070a1d90e12686fc160cfb33e22aa063c80f52b363f1361e9d >+SIZE (tensorflow/a15b489e1222b2087007546b4912e21293ea86ff.tar.gz) = 103972 >+SHA256 (tensorflow/tensorflow-tensorflow-v2.13.1_GH0.tar.gz) = 89c07aebd4f41fbe0d08cc88aef00305542134f2f16d3b62918dc3c1182f33e2 >+SIZE (tensorflow/tensorflow-tensorflow-v2.13.1_GH0.tar.gz) = 70663056 >+SHA256 (tensorflow/ba7501696cc.patch) = d06dda3f889d7ffcd9dcec16f7f96e8ac24ffd5f999307fe0ceb623e57c7fa9f >+SIZE (tensorflow/ba7501696cc.patch) = 740 >+SHA256 (tensorflow/667cf3ed2d7.patch) = dc3cc6c8b9bd6f4978904c1a28df61ab00634cb6cab461690a83c58fde55a0d9 >+SIZE (tensorflow/667cf3ed2d7.patch) = 960 >diff --git a/science/py-tensorflow/files/bazel/fix-environ.patch b/science/py-tensorflow/files/bazel/fix-environ.patch >index 2e38ce6054..d1437f1580 100644 >--- a/science/py-tensorflow/files/bazel/fix-environ.patch >+++ b/science/py-tensorflow/files/bazel/fix-environ.patch >@@ -1,18 +1,18 @@ >---- a/llvm/lib/Support/Unix/Program.inc 2022-09-06 21:14:28.808580000 +0100 >-+++ b/llvm/lib/Support/Unix/Program.inc 2022-09-06 21:16:15.007790000 +0100 >+--- a/llvm/lib/Support/Unix/Program.inc 2023-04-28 21:51:01.000000000 +0200 >++++ b/llvm/lib/Support/Unix/Program.inc 2024-07-02 11:12:41.645169000 +0200 > @@ -54,10 +54,8 @@ > #define USE_NSGETENVIRON 0 > #endif > > -#if !USE_NSGETENVIRON > +#if USE_NSGETENVIRON >- extern char **environ; >+ extern char **environ; > -#else > -#include <crt_externs.h> // _NSGetEnviron > #endif > #endif > >-@@ -240,14 +238,6 @@ >+@@ -238,14 +236,6 @@ > } > } > >@@ -27,16 +27,16 @@ > constexpr int maxRetries = 8; > int retries = 0; > pid_t PID; >-@@ -308,11 +298,7 @@ >+@@ -312,11 +302,7 @@ > >- // Execute! >- std::string PathStr = std::string(Program); >-- if (Envp != nullptr) >-- execve(PathStr.c_str(), const_cast<char **>(Argv), >-- const_cast<char **>(Envp)); >-- else >-- execv(PathStr.c_str(), const_cast<char **>(Argv)); >-+ execv(PathStr.c_str(), const_cast<char **>(Argv)); >- // If the execve() failed, we should exit. Follow Unix protocol and >- // return 127 if the executable was not found, and 126 otherwise. >- // Use _exit rather than exit so that atexit functions and static >+ // Execute! >+ std::string PathStr = std::string(Program); >+- if (Envp != nullptr) >+- execve(PathStr.c_str(), const_cast<char **>(Argv), >+- const_cast<char **>(Envp)); >+- else >+- execv(PathStr.c_str(), const_cast<char **>(Argv)); >++ execv(PathStr.c_str(), const_cast<char **>(Argv)); >+ // If the execve() failed, we should exit. Follow Unix protocol and >+ // return 127 if the executable was not found, and 126 otherwise. >+ // Use _exit rather than exit so that atexit functions and static >diff --git a/science/py-tensorflow/files/bazel/fix-pybind11_protobuf.patch b/science/py-tensorflow/files/bazel/fix-pybind11_protobuf.patch >new file mode 100644 >index 0000000000..80d30bf253 >--- /dev/null >+++ b/science/py-tensorflow/files/bazel/fix-pybind11_protobuf.patch >@@ -0,0 +1,116 @@ >+diff --git a/pybind11_protobuf/BUILD b/pybind11_protobuf/BUILD >+index b62eb91..1856ad3 100644 >+--- a/pybind11_protobuf/BUILD >++++ b/pybind11_protobuf/BUILD >+@@ -61,9 +61,11 @@ pybind_library( >+ "@com_google_absl//absl/container:flat_hash_map", >+ "@com_google_absl//absl/strings", >+ "@com_google_absl//absl/types:optional", >+- "@com_google_protobuf//:proto_api", >+ "@com_google_protobuf//:protobuf", >+- ], >++ ] + select({ >++ ":enable_pyproto_api_setting": ["@com_google_protobuf//:proto_api"], >++ "//conditions:default": [], >++ }), >+ ) >+ >+ pybind_library( >+diff --git a/pybind11_protobuf/proto_cast_util.cc b/pybind11_protobuf/proto_cast_util.cc >+index 52c57c9..771e688 100644 >+--- a/pybind11_protobuf/proto_cast_util.cc >++++ b/pybind11_protobuf/proto_cast_util.cc >+@@ -14,9 +14,12 @@ >+ >+ #include "google/protobuf/descriptor.pb.h" >+ #include "google/protobuf/descriptor.h" >++#include "google/protobuf/descriptor_database.h" >+ #include "google/protobuf/dynamic_message.h" >+ #include "google/protobuf/message.h" >++#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API) >+ #include "python/google/protobuf/proto_api.h" >++#endif >+ #include "absl/container/flat_hash_map.h" >+ #include "absl/strings/numbers.h" >+ #include "absl/strings/str_replace.h" >+@@ -35,8 +38,12 @@ using ::google::protobuf::FileDescriptor; >+ using ::google::protobuf::FileDescriptorProto; >+ using ::google::protobuf::Message; >+ using ::google::protobuf::MessageFactory; >++#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API) >+ using ::google::protobuf::python::PyProto_API; >+ using ::google::protobuf::python::PyProtoAPICapsuleName; >++#else >++struct PyProto_API; >++#endif >+ >+ namespace pybind11_protobuf { >+ namespace { >+@@ -321,6 +328,7 @@ py::object GlobalState::PyMessageInstance(const Descriptor* descriptor) { >+ module_name + "?"); >+ } >+ >++#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API) >+ std::pair<py::object, Message*> GlobalState::PyFastCppProtoMessageInstance( >+ const Descriptor* descriptor) { >+ assert(descriptor != nullptr); >+@@ -361,6 +369,7 @@ std::pair<py::object, Message*> GlobalState::PyFastCppProtoMessageInstance( >+ } >+ return {std::move(result), message}; >+ } >++#endif >+ >+ // Create C++ DescriptorPools based on Python DescriptorPools. >+ // The Python pool will provide message definitions when they are needed. >+@@ -500,6 +509,7 @@ class PythonDescriptorPoolWrapper { >+ private: >+ bool CopyToFileDescriptorProto(py::handle py_file_descriptor, >+ FileDescriptorProto* output) { >++#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API) >+ if (GlobalState::instance()->py_proto_api()) { >+ try { >+ py::object c_proto = py::reinterpret_steal<py::object>( >+@@ -518,6 +528,7 @@ class PythonDescriptorPoolWrapper { >+ PyErr_Print(); >+ } >+ } >++#endif >+ >+ py::object wire = py_file_descriptor.attr("serialized_pb"); >+ const char* bytes = PYBIND11_BYTES_AS_STRING(wire.ptr()); >+@@ -561,6 +572,9 @@ void ImportProtoDescriptorModule(const Descriptor* descriptor) { >+ >+ const Message* PyProtoGetCppMessagePointer(py::handle src) { >+ assert(PyGILState_Check()); >++#ifndef PYBIND11_PROTOBUF_ENABLE_PYPROTO_API >++ return nullptr; >++#else >+ if (!GlobalState::instance()->py_proto_api()) return nullptr; >+ auto* ptr = >+ GlobalState::instance()->py_proto_api()->GetMessagePointer(src.ptr()); >+@@ -571,6 +585,7 @@ const Message* PyProtoGetCppMessagePointer(py::handle src) { >+ return nullptr; >+ } >+ return ptr; >++#endif >+ } >+ >+ absl::optional<std::string> PyProtoDescriptorName(py::handle py_proto) { >+@@ -732,6 +747,9 @@ py::handle GenericPyProtoCast(Message* src, py::return_value_policy policy, >+ >+ py::handle GenericFastCppProtoCast(Message* src, py::return_value_policy policy, >+ py::handle parent, bool is_const) { >++#ifndef PYBIND11_PROTOBUF_ENABLE_PYPROTO_API >++ throw std::logic_error("Not implemented"); >++#else >+ assert(policy != pybind11::return_value_policy::automatic); >+ assert(policy != pybind11::return_value_policy::automatic_reference); >+ assert(src != nullptr); >+@@ -802,6 +820,7 @@ py::handle GenericFastCppProtoCast(Message* src, py::return_value_policy policy, >+ std::string message("pybind11_protobuf unhandled return_value_policy::"); >+ throw py::cast_error(message + ReturnValuePolicyName(policy)); >+ } >++#endif >+ } >+ >+ py::handle GenericProtoCast(Message* src, py::return_value_policy policy, >diff --git a/science/py-tensorflow/files/bazel/add-default-option.patch b/science/py-tensorflow/files/bazel/fix-xnnpack.patch >similarity index 62% >rename from science/py-tensorflow/files/bazel/add-default-option.patch >rename to science/py-tensorflow/files/bazel/fix-xnnpack.patch >index ce5c250608..7a995bbff7 100644 >--- a/science/py-tensorflow/files/bazel/add-default-option.patch >+++ b/science/py-tensorflow/files/bazel/fix-xnnpack.patch >@@ -1,6 +1,8 @@ >---- a/build_defs.bzl 2022-08-28 12:18:33.375130000 +0100 >-+++ b/build_defs.bzl 2022-08-28 12:21:40.701070000 +0100 >-@@ -173,7 +173,7 @@ >+diff --git a/build_defs.bzl b/build_defs.bzl >+index 01b436eb7..ca4abd54d 100644 >+--- a/build_defs.bzl >++++ b/build_defs.bzl >+@@ -146,7 +146,7 @@ def xnnpack_cc_library( > ":emscripten_wasm": wasm_srcs, > ":emscripten_wasmsimd": wasmsimd_srcs, > ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_srcs, >@@ -9,7 +11,7 @@ > }), > copts = [ > "-Iinclude", >-@@ -210,7 +210,7 @@ >+@@ -179,7 +179,7 @@ def xnnpack_cc_library( > ":emscripten_wasm": wasm_copts, > ":emscripten_wasmsimd": wasmsimd_copts, > ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_copts, >@@ -18,7 +20,7 @@ > }) + select({ > ":windows_x86_64_clang": ["/clang:" + opt for opt in gcc_copts], > ":windows_x86_64_mingw": gcc_copts, >-@@ -233,7 +233,7 @@ >+@@ -202,7 +202,7 @@ def xnnpack_cc_library( > ":linux_armv7a": ["-lpthread"], > ":linux_arm64": ["-lpthread"], > ":android": ["-lm"], >@@ -27,11 +29,24 @@ > }), > textual_hdrs = hdrs, > visibility = visibility, >-@@ -304,6 +304,7 @@ >- ":emscripten_wasm": wasm_deps, >+@@ -249,6 +249,7 @@ def xnnpack_aggregate_library( > ":emscripten_wasmsimd": wasmsimd_deps, > ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_deps, >+ ":riscv": riscv_deps, > + "//conditions:default": x86_deps, > }), >- ) >+ defines = defines, >+ compatible_with = compatible_with, >+diff --git a/src/runtime.c b/src/runtime.c >+index 0c4649017..29e74a85b 100644 >+--- a/src/runtime.c >++++ b/src/runtime.c >+@@ -4,7 +4,7 @@ >+ // LICENSE file in the root directory of this source tree. > >+ #ifndef __MACH__ >+-#define _POSIX_C_SOURCE 199309L >++#define _POSIX_C_SOURCE 199506L >+ #endif >+ >+ #include <assert.h> >diff --git a/science/py-tensorflow/files/bazel/fix_cpuinfo.patch b/science/py-tensorflow/files/bazel/fix_cpuinfo.patch >index 1041a23192..2861998592 100644 >--- a/science/py-tensorflow/files/bazel/fix_cpuinfo.patch >+++ b/science/py-tensorflow/files/bazel/fix_cpuinfo.patch >@@ -1,5 +1,48 @@ >---- a/src/mach/topology.c 2022-09-01 12:09:36.036365000 +0100 >-+++ b/src/mach/topology.c 2022-09-01 12:09:07.146529000 +0100 >+diff --git a/BUILD.bazel b/BUILD.bazel >+index 0c92064..23d3f16 100644 >+--- a/BUILD.bazel >++++ b/BUILD.bazel >+@@ -104,35 +104,7 @@ EMSCRIPTEN_SRCS = [ >+ cc_library( >+ name = "cpuinfo_impl", >+ srcs = select({ >+- ":linux_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS, >+- ":linux_arm": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >+- ":linux_armhf": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >+- ":linux_armv7a": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >+- ":linux_armeabi": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >+- ":linux_aarch64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS, >+- ":linux_mips64": COMMON_SRCS + LINUX_SRCS, >+- ":linux_riscv64": COMMON_SRCS + LINUX_SRCS, >+- ":linux_s390x": COMMON_SRCS + LINUX_SRCS, >+- ":macos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+- ":macos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":windows_x86_64": COMMON_SRCS + X86_SRCS + WINDOWS_X86_SRCS, >+- ":android_armv7": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS + ANDROID_ARM_SRCS, >+- ":android_arm64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS + ANDROID_ARM_SRCS, >+- ":android_x86": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS, >+- ":android_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS, >+- ":ios_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+- ":ios_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+- ":ios_armv7": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":ios_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":ios_arm64e": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":ios_sim_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":watchos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+- ":watchos_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+- ":watchos_armv7k": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":watchos_arm64_32": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":tvos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+- ":tvos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >+- ":emscripten_wasm": COMMON_SRCS + EMSCRIPTEN_SRCS, >++ "//conditions:default": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >+ }), >+ copts = select({ >+ ":windows_x86_64": [], >+diff --git a/src/mach/topology.c b/src/mach/topology.c >+index b56343b..5c1696a 100644 >+--- a/src/mach/topology.c >++++ b/src/mach/topology.c > @@ -1,5 +1,4 @@ > #include <string.h> > -#include <alloca.h> >@@ -11,8 +54,8 @@ > #include <mach/api.h> > > -#include <TargetConditionals.h> >- > - >+ > struct cpuinfo_mach_topology cpuinfo_mach_detect_topology(void) { > int cores = 1; > size_t sizeof_cores = sizeof(cores); >@@ -51,7 +94,7 @@ > > cpuinfo_log_debug("mach topology: packages = %d, cores = %d, threads = %d", packages, (int) cores, (int) threads); > struct cpuinfo_mach_topology topology = { >-@@ -48,26 +36,5 @@ >+@@ -48,26 +36,5 @@ struct cpuinfo_mach_topology cpuinfo_mach_detect_topology(void) { > .threads = (uint32_t) threads > }; > >diff --git a/science/py-tensorflow/files/bazel/freebsd_python_fix.patch b/science/py-tensorflow/files/bazel/freebsd_python_fix.patch >deleted file mode 100644 >index e6bcae9950..0000000000 >--- a/science/py-tensorflow/files/bazel/freebsd_python_fix.patch >+++ /dev/null >@@ -1,11 +0,0 @@ >---- a/utils/bazel/configure.bzl 2022-08-27 19:11:41.138993000 +0100 >-+++ b/utils/bazel/configure.bzl 2022-08-27 19:12:07.525186000 +0100 >-@@ -37,7 +37,7 @@ >- overlay_path = bazel_path.get_child("llvm-project-overlay") >- script_path = bazel_path.get_child("overlay_directories.py") >- >-- python_bin = repository_ctx.which("python3") >-+ python_bin = repository_ctx.which("%%PYTHON%%") >- if not python_bin: >- # Windows typically just defines "python" as python3. The script itself >- # contains a check to ensure python3. >diff --git a/science/py-tensorflow/files/bazel/set-c++17.patch b/science/py-tensorflow/files/bazel/set-c++17.patch >deleted file mode 100644 >index aef1f6c384..0000000000 >--- a/science/py-tensorflow/files/bazel/set-c++17.patch >+++ /dev/null >@@ -1,11 +0,0 @@ >---- a/cc/private/toolchain/freebsd_cc_toolchain_config.bzl 2022-08-28 16:31:59.271838000 +0100 >-+++ b/cc/private/toolchain/freebsd_cc_toolchain_config.bzl 2022-08-28 16:32:10.096301000 +0100 >-@@ -159,7 +159,7 @@ >- ), >- flag_set( >- actions = all_cpp_compile_actions + [ACTION_NAMES.lto_backend], >-- flag_groups = [flag_group(flags = ["-std=c++0x"])], >-+ flag_groups = [flag_group(flags = ["-std=c++17"])], >- ), >- ], >- ) >diff --git a/science/py-tensorflow/files/patch-.bazelrc b/science/py-tensorflow/files/patch-.bazelrc >index 49784e41f3..89766ee6f2 100644 >--- a/science/py-tensorflow/files/patch-.bazelrc >+++ b/science/py-tensorflow/files/patch-.bazelrc >@@ -1,8 +1,8 @@ >---- .bazelrc.orig 2022-05-22 22:28:22 UTC >+--- .bazelrc.orig 2023-09-12 16:46:28 UTC > +++ .bazelrc >-@@ -151,6 +151,19 @@ build --experimental_cc_shared_library >- >- # Default options should come above this line. >+@@ -166,6 +166,19 @@ build:libc++ --linkopt -fuse-ld=lld >+ build:libc++ --define force_libcpp=enabled >+ build:libc++ --linkopt -fuse-ld=lld > > +# Use our custom-configured c++ toolchain. > +# Use --cpu as a differentiator. >@@ -13,10 +13,10 @@ > +build:freebsd --crosstool_top=//freebsd:freebsd_clang > +build:freebsd --linkopt=-L%%LOCALBASE%%/lib > + >-+build:freebsd --python_path="%%PYTHON%%" >++build:freebsd --define build_with_onednn_v2=true > +build:freebsd --define force_libcpp=enabled > +build:freebsd --action_env=CXXFLAGS=-stdlib=libc++ > + >- # Allow builds using libc++ as a linker library >- # This is mostly for OSSFuzz, so we also pass in the flags from environment to clean build file >- build:libc++ --action_env=CC >+ # Android configs. Bazel needs to have --cpu and --fat_apk_cpu both set to the >+ # target CPU to build transient dependencies correctly. See >+ # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu >diff --git a/science/py-tensorflow/files/patch-WORKSPACE b/science/py-tensorflow/files/patch-WORKSPACE >deleted file mode 100644 >index d037b07857..0000000000 >--- a/science/py-tensorflow/files/patch-WORKSPACE >+++ /dev/null >@@ -1,18 +0,0 @@ >---- WORKSPACE.orig 2022-05-22 22:28:22 UTC >-+++ WORKSPACE >-@@ -1,4 +1,15 @@ >- workspace(name = "org_tensorflow") >-+register_toolchains("//freebsd:freebsd_py_toolchain") >-+ >-+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") >-+http_archive( >-+ name = "io_bazel_rules_docker", >-+ sha256 = "7d453450e1eb70e238eea6b31f4115607ec1200e91afea01c25f9804f37e39c8", >-+ strip_prefix = "rules_docker-0.10.0", >-+ urls = [ >-+ "https://github.com/bazelbuild/rules_docker/releases/download/v0.10.0/rules_docker-v0.10.0.tar.gz", >-+ ], >-+) >- >- # Initialize the TensorFlow repository and all dependencies. >- # >diff --git a/science/py-tensorflow/files/patch-configure b/science/py-tensorflow/files/patch-configure >deleted file mode 100644 >index bf95a05716..0000000000 >--- a/science/py-tensorflow/files/patch-configure >+++ /dev/null >@@ -1,11 +0,0 @@ >---- configure.orig 2022-05-22 22:28:22 UTC >-+++ configure >-@@ -4,7 +4,7 @@ set -e >- set -o pipefail >- >- if [ -z "$PYTHON_BIN_PATH" ]; then >-- PYTHON_BIN_PATH=$(which python3 || which python || true) >-+ PYTHON_BIN_PATH=$(which %%PYTHON%% || which python || true) >- fi >- >- # Set all env variables >diff --git a/science/py-tensorflow/files/patch-tensorflow_BUILD b/science/py-tensorflow/files/patch-tensorflow_BUILD >index 1dfdce1c7d..0cfc32114c 100644 >--- a/science/py-tensorflow/files/patch-tensorflow_BUILD >+++ b/science/py-tensorflow/files/patch-tensorflow_BUILD >@@ -1,31 +1,12 @@ >---- tensorflow/BUILD.orig 2022-05-23 00:28:22.000000000 +0200 >-+++ tensorflow/BUILD 2023-03-30 17:47:04.211287000 +0200 >-@@ -938,8 +938,11 @@ >+--- tensorflow/BUILD.orig 2023-09-12 16:46:28 UTC >++++ tensorflow/BUILD >+@@ -1290,7 +1293,8 @@ tf_cc_shared_library( > ], >- "//tensorflow:windows": [], >- "//tensorflow:freebsd": [ >-+ "-Wl,--unresolved-symbols=ignore-all", >-+ "-Wl,--undefined-version", >- "-Wl,--version-script,$(location //tensorflow:tf_framework_version_script.lds)", >- "-lexecinfo", >-+ "-L/usr/local/lib", >- ], >- "//conditions:default": [ >- "-Wl,--version-script,$(location //tensorflow:tf_framework_version_script.lds)", >-@@ -1021,7 +1024,7 @@ >- # copybara:uncomment_end >- "//conditions:default": [ >- "-z defs", >-- "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)", >-+ "-L/lib,-L/usr/lib,--unresolved-symbols=ignore-all,-Wl,--undefined-version,-Wl,--version-script,$(location //tensorflow/c:version_script.lds)", >- ], >- }), >- per_os_targets = True, >-@@ -1054,6 +1057,7 @@ > "//tensorflow:windows": [], > "//conditions:default": [ >- "-z defs", >-+ "-Wl,--undefined-version", >+- "-z defs", >++ "-Wl,-z,defs", >++ "-lnsync_cpp", > "-Wl,--version-script,$(location //tensorflow:tf_version_script.lds)", > ], > }), >diff --git a/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_hlo_WORKSPACE b/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_hlo_WORKSPACE >deleted file mode 100644 >index 876a4cd2a5..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_hlo_WORKSPACE >+++ /dev/null >@@ -1,11 +0,0 @@ >---- tensorflow/compiler/mlir/hlo/WORKSPACE.orig 2022-05-22 22:28:22 UTC >-+++ tensorflow/compiler/mlir/hlo/WORKSPACE >-@@ -34,6 +34,8 @@ http_archive( >- name = "llvm-raw", >- build_file_content = "# empty", >- sha256 = LLVM_SHA256, >-+ patch_args = ["-p0"], >-+ patches = ["@%%MLIR_LLVM_PATCH%%"], >- strip_prefix = "llvm-project-" + LLVM_COMMIT, >- urls = ["https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT)], >- ) >diff --git a/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_quantization_tensorflow_BUILD b/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_quantization_tensorflow_BUILD >deleted file mode 100644 >index 50bc0af36e..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_quantization_tensorflow_BUILD >+++ /dev/null >@@ -1,11 +0,0 @@ >---- tensorflow/compiler/mlir/quantization/tensorflow/BUILD.orig 2022-09-06 21:29:53 UTC >-+++ tensorflow/compiler/mlir/quantization/tensorflow/BUILD >-@@ -32,7 +32,7 @@ genrule( >- outs = [ >- "passes/quantized_function_library.h", >- ], >-- cmd = "$(location gen_quantized_function_library) --output_file $(RULEDIR)/passes/quantized_function_library.h --src $(SRCS)", >-+ cmd = "%%PYTHON%% $(location gen_quantized_function_library) --output_file $(RULEDIR)/passes/quantized_function_library.h --src $(SRCS)", >- exec_tools = ["gen_quantized_function_library"], >- ) >- >diff --git a/science/py-tensorflow/files/patch-tensorflow_core_BUILD b/science/py-tensorflow/files/patch-tensorflow_core_BUILD >deleted file mode 100644 >index 91f1f88aee..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_core_BUILD >+++ /dev/null >@@ -1,11 +0,0 @@ >---- tensorflow/core/BUILD.orig 2022-05-22 22:28:22 UTC >-+++ tensorflow/core/BUILD >-@@ -1284,7 +1284,7 @@ cc_library( >- hdrs = [":lib_internal_public_headers"], >- copts = tf_copts(), >- linkopts = select({ >-- "//tensorflow:freebsd": [], >-+ "//tensorflow:freebsd": ["-L%%LOCALBASE%%/lib"], >- "//tensorflow:windows": [], >- "//tensorflow:android": [], >- "//conditions:default": [ >diff --git a/science/py-tensorflow/files/patch-tensorflow_core_lib_png_BUILD b/science/py-tensorflow/files/patch-tensorflow_core_lib_png_BUILD >deleted file mode 100644 >index 76a365c9a6..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_core_lib_png_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/core/lib/png/BUILD.orig 2022-08-28 14:35:19 UTC >-+++ tensorflow/core/lib/png/BUILD >-@@ -23,6 +23,7 @@ cc_library( >- "@com_google_absl//absl/base", >- "@zlib", >- ], >-+ copts = ["-std=c++17"], >- ) >- >- alias( >diff --git a/science/py-tensorflow/files/patch-tensorflow_core_platform_BUILD b/science/py-tensorflow/files/patch-tensorflow_core_platform_BUILD >deleted file mode 100644 >index dc2a75c1da..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_core_platform_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/core/platform/BUILD.orig 2022-08-29 08:52:22 UTC >-+++ tensorflow/core/platform/BUILD >-@@ -680,6 +680,7 @@ cc_library( >- ":str_util", >- ":stringpiece", >- ], >-+ copts = ["-std=c++17"], >- ) >- >- cc_library( >diff --git a/science/py-tensorflow/files/patch-tensorflow_java_BUILD b/science/py-tensorflow/files/patch-tensorflow_java_BUILD >deleted file mode 100644 >index 33b7db687b..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_java_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/java/BUILD.orig 2023-03-30 17:51:23.641040000 +0200 >-+++ tensorflow/java/BUILD 2023-03-30 17:51:34.802406000 +0200 >-@@ -446,6 +446,7 @@ >- "//tensorflow:windows": [], >- "//conditions:default": [ >- "-z defs", >-+ "-Wl,--undefined-version", >- "-s", >- "-Wl,--version-script,$(location {})".format(LINKER_VERSION_SCRIPT), >- ], >diff --git a/science/py-tensorflow/files/patch-tensorflow_lite_BUILD b/science/py-tensorflow/files/patch-tensorflow_lite_BUILD >deleted file mode 100644 >index 8d54d284e5..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_lite_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/lite/BUILD.orig 2023-03-30 18:04:54.206396000 +0200 >-+++ tensorflow/lite/BUILD 2023-03-30 18:04:24.422539000 +0200 >-@@ -1204,6 +1204,7 @@ >- "//tensorflow:windows": [], >- "//conditions:default": [ >- "-Wl,-z,defs", >-+ "-Wl,--undefined-version", >- "-Wl,--version-script,$(location //tensorflow/lite:tflite_version_script.lds)", >- ], >- }), >diff --git a/science/py-tensorflow/files/patch-tensorflow_lite_build_def.bzl b/science/py-tensorflow/files/patch-tensorflow_lite_build_def.bzl >deleted file mode 100644 >index 58d62b5e5d..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_lite_build_def.bzl >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/lite/build_def.bzl.orig 2023-03-30 17:56:40.338369000 +0200 >-+++ tensorflow/lite/build_def.bzl 2023-03-30 17:56:50.244995000 +0200 >-@@ -172,6 +172,7 @@ >- ], >- clean_dep("//tensorflow:windows"): [], >- "//conditions:default": [ >-+ "-Wl,--undefined-version", >- "-Wl,--version-script,$(location {})".format(linkscript), >- "-Wl,-soname," + name, >- ], >diff --git a/science/py-tensorflow/files/patch-tensorflow_lite_c_BUILD b/science/py-tensorflow/files/patch-tensorflow_lite_c_BUILD >deleted file mode 100644 >index c88f9a6c9a..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_lite_c_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/lite/c/BUILD.orig 2023-03-30 18:05:35.316884000 +0200 >-+++ tensorflow/lite/c/BUILD 2023-03-30 18:05:48.639862000 +0200 >-@@ -29,6 +29,7 @@ >- "//tensorflow:windows": [], >- "//conditions:default": [ >- "-z defs", >-+ "-Wl,--undefined-version", >- "-Wl,--version-script,$(location //tensorflow/lite/c:version_script.lds)", >- ], >- }), >diff --git a/science/py-tensorflow/files/patch-tensorflow_lite_delegates_flex_build_def.bzl b/science/py-tensorflow/files/patch-tensorflow_lite_delegates_flex_build_def.bzl >deleted file mode 100644 >index 9b207ba77c..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_lite_delegates_flex_build_def.bzl >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/lite/delegates/flex/build_def.bzl.orig 2023-03-30 17:57:26.322444000 +0200 >-+++ tensorflow/lite/delegates/flex/build_def.bzl 2023-03-30 17:58:45.005163000 +0200 >-@@ -223,6 +223,7 @@ >- "//tensorflow:windows": [], >- "//conditions:default": [ >- "-Wl,-z,defs", >-+ "-Wl,--undefined-version", >- "-Wl,--version-script,$(location //tensorflow/lite/delegates/flex:version_script.lds)", >- ], >- }), >diff --git a/science/py-tensorflow/files/patch-tensorflow_lite_delegates_hexagon_hexagon_nn_BUILD b/science/py-tensorflow/files/patch-tensorflow_lite_delegates_hexagon_hexagon_nn_BUILD >deleted file mode 100644 >index 010da725e1..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_lite_delegates_hexagon_hexagon_nn_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/lite/delegates/hexagon/hexagon_nn/BUILD.orig 2023-03-30 17:50:25.801299000 +0200 >-+++ tensorflow/lite/delegates/hexagon/hexagon_nn/BUILD 2023-03-30 17:50:38.457225000 +0200 >-@@ -76,6 +76,7 @@ >- name = "libhexagon_interface.so", >- linkopts = [ >- "-Wl,-soname=libhexagon_interface.so", >-+ "-Wl,--undefined-version", >- "-z defs", >- "-Wl,--version-script,$(location //tensorflow/lite/delegates/hexagon/hexagon_nn:version_scripts.lds)", >- ] + select({ >diff --git a/science/py-tensorflow/files/patch-tensorflow_python_BUILD b/science/py-tensorflow/files/patch-tensorflow_python_BUILD >new file mode 100644 >index 0000000000..571aaeb6f5 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-tensorflow_python_BUILD >@@ -0,0 +1,10 @@ >+--- tensorflow/python/BUILD.orig 2023-09-12 16:46:28 UTC >++++ tensorflow/python/BUILD >+@@ -5043,7 +5043,6 @@ tf_python_pybind_extension( >+ features = ["-layering_check"], >+ deps = [ >+ ":pywrap_densor_device_headers", >+- "//tensorflow/dtensor/proto:layout_proto_cc", >+ "//tensorflow/python/lib/core:pybind11_lib", >+ "//tensorflow/python/lib/core:pybind11_status_headers", >+ "//third_party/python_runtime:headers", # buildcleaner: keep >diff --git a/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl b/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl >deleted file mode 100644 >index a630a8fa1d..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl >+++ /dev/null >@@ -1,26 +0,0 @@ >---- tensorflow/tensorflow.bzl.orig 2023-03-30 17:54:35.641567000 +0200 >-+++ tensorflow/tensorflow.bzl 2023-03-30 17:56:12.747346000 +0200 >-@@ -2305,6 +2305,7 @@ >- ], >- clean_dep("//tensorflow:windows"): [], >- "//conditions:default": [ >-+ "-Wl,--undefined-version", >- "-Wl,--version-script", >- "$(location %s.lds)" % vscriptname, >- ], >-@@ -2975,6 +2976,7 @@ >- "/ignore:4070", >- ] if win_def_file else [], >- "//conditions:default": [ >-+ "-Wl,--undefined-version", >- "-Wl,--version-script", >- "$(location %s)" % version_script_file, >- ], >-@@ -3035,6 +3037,7 @@ >- ], >- clean_dep("//tensorflow:windows"): [], >- "//conditions:default": [ >-+ "-Wl,--undefined-version", >- "-Wl,--version-script", >- "$(location %s)" % version_script_file, >- ], >diff --git a/science/py-tensorflow/files/patch-tensorflow_tf__framework__version__script.lds b/science/py-tensorflow/files/patch-tensorflow_tf__framework__version__script.lds >new file mode 100644 >index 0000000000..e20aa6bda7 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-tensorflow_tf__framework__version__script.lds >@@ -0,0 +1,12 @@ >+--- tensorflow/tf_framework_version_script.lds.orig 2023-09-12 16:46:28 UTC >++++ tensorflow/tf_framework_version_script.lds >+@@ -3,9 +3,6 @@ VERS_1.0 { >+ local: >+ jpeg_*; >+ jinit_*; >+- jdiv_round_up; >+- jround_up; >+- jzero_far; >+ jcopy_*; >+ jsimd_*; >+ hwloc_*; >diff --git a/science/py-tensorflow/files/patch-tensorflow_tf_framework_version_script.lds b/science/py-tensorflow/files/patch-tensorflow_tf_framework_version_script.lds >deleted file mode 100644 >index 890e1456b9..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_tf_framework_version_script.lds >+++ /dev/null >@@ -1,12 +0,0 @@ >---- tensorflow/tf_framework_version_script.lds.orig 2023-03-30 17:42:11.255357000 +0200 >-+++ tensorflow/tf_framework_version_script.lds 2023-03-30 17:42:18.431845000 +0200 >-@@ -3,9 +3,6 @@ >- local: >- jpeg_*; >- jinit_*; >-- jdiv_round_up; >-- jround_up; >-- jzero_far; >- jcopy_*; >- jsimd_*; >- hwloc_*; >diff --git a/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_build__pip__package.sh b/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_build__pip__package.sh >new file mode 100644 >index 0000000000..643344bac9 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_build__pip__package.sh >@@ -0,0 +1,32 @@ >+--- tensorflow/tools/pip_package/build_pip_package.sh.orig 2023-09-12 16:46:28 UTC >++++ tensorflow/tools/pip_package/build_pip_package.sh >+@@ -183,9 +183,9 @@ function prepare_src() { >+ bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/org_tensorflow \ >+ "${XLA_AOT_RUNTIME_SOURCES}" >+ # Copy MKL libs over so they can be loaded at runtime >+- # TODO(b/271299337): shared libraries that depend on libbfloat16.so.so have >++ # TODO(b/271299337): shared libraries that depend on libbfloat16.so have >+ # their NEEDED and RUNPATH set corresponding to a dependency on >+- # RUNFILES/_solib_local/libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so, >++ # RUNFILES/_solib_local/libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so, >+ # which is a symlink to tensorflow/tsl/python/lib/core/libbfloat16.so in >+ # the Bazel build tree. We do not export the file in _solib_local (nor >+ # symlinks in general, I think Python wheels have poor support for them?) >+@@ -193,13 +193,13 @@ function prepare_src() { >+ if is_macos; then >+ chmod +rw ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >+ chmod +rw ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >+- install_name_tool -change "@loader_path/../../../../../${so_lib_dir}//libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so" "@loader_path/libbfloat16.so.so" ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >+- install_name_tool -change "@loader_path/../../${so_lib_dir}//libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so" "@loader_path/../tsl/python/lib/core/libbfloat16.so.so" ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >++ install_name_tool -change "@loader_path/../../../../../${so_lib_dir}//libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so" "@loader_path/libbfloat16.so" ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >++ install_name_tool -change "@loader_path/../../${so_lib_dir}//libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so" "@loader_path/../tsl/python/lib/core/libbfloat16.so" ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >+ else >+ chmod +rw ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >+ chmod +rw ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >+- patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so libbfloat16.so.so ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >+- patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so libbfloat16.so.so ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >++ patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so libbfloat16.so ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >++ patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so libbfloat16.so ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >+ patchelf --set-rpath $(patchelf --print-rpath ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so):\$ORIGIN ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >+ patchelf --set-rpath $(patchelf --print-rpath ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so):\$ORIGIN/../tsl/python/lib/core ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so >+ patchelf --shrink-rpath ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so >diff --git a/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_setup.py b/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_setup.py >deleted file mode 100644 >index 76ac3facf9..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_setup.py >+++ /dev/null >@@ -1,34 +0,0 @@ >---- tensorflow/tools/pip_package/setup.py.orig 2022-09-07 19:29:52 UTC >-+++ tensorflow/tools/pip_package/setup.py >-@@ -77,13 +77,12 @@ REQUIRED_PACKAGES = [ >- 'astunparse >= 1.6.0', >- # TODO(b/187981032): remove the constraint for 2.0 once the incompatibile >- # issue is resolved. >-- 'flatbuffers >= 1.12, <2', >-+ 'flatbuffers', >- # TODO(b/213222745) gast versions above 0.4.0 break TF's tests >-- 'gast >= 0.2.1, <= 0.4.0', >-+ 'gast', >- 'google_pasta >= 0.1.1', >- 'h5py >= 2.9.0', >-- 'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7 >-- 'libclang >= 13.0.0', >-+ 'keras_preprocessing >= 1.1.0', # 1.1.0 needs tensorflow==1.7 >- 'numpy >= 1.20', >- 'opt_einsum >= 2.3.2', >- 'packaging', >-@@ -94,13 +93,12 @@ REQUIRED_PACKAGES = [ >- # See also: https://github.com/protocolbuffers/protobuf/issues/9954 >- # See also: https://github.com/tensorflow/tensorflow/issues/56077 >- # This is a temporary patch for now, to patch previous TF releases. >-- 'protobuf >= 3.9.2, < 3.20', >-+ 'protobuf', >- 'setuptools', >- 'six >= 1.12.0', >- 'termcolor >= 1.1.0', >- 'typing_extensions >= 3.6.6', >- 'wrapt >= 1.11.0', >-- 'tensorflow-io-gcs-filesystem >= 0.23.1', >- # grpcio does not build correctly on big-endian machines due to lack of >- # BoringSSL support. >- # See https://github.com/tensorflow/tensorflow/issues/17882. >diff --git a/science/py-tensorflow/files/patch-tensorflow_tools_proto__text_BUILD b/science/py-tensorflow/files/patch-tensorflow_tools_proto__text_BUILD >deleted file mode 100644 >index 8cdff520c7..0000000000 >--- a/science/py-tensorflow/files/patch-tensorflow_tools_proto__text_BUILD >+++ /dev/null >@@ -1,10 +0,0 @@ >---- tensorflow/tools/proto_text/BUILD.orig 2022-05-22 22:28:22 UTC >-+++ tensorflow/tools/proto_text/BUILD >-@@ -60,6 +60,7 @@ cc_library( >- "-lm", >- "-lpthread", >- "-lrt", >-+ "-L%%LOCALBASE%%/lib", >- ], >- }), >- deps = [ >diff --git a/science/py-tensorflow/files/patch-tensorflow_tsl_platform_default_build__config.bzl b/science/py-tensorflow/files/patch-tensorflow_tsl_platform_default_build__config.bzl >new file mode 100644 >index 0000000000..2df204c53e >--- /dev/null >+++ b/science/py-tensorflow/files/patch-tensorflow_tsl_platform_default_build__config.bzl >@@ -0,0 +1,25 @@ >+--- tensorflow/tsl/platform/default/build_config.bzl.orig 2023-09-12 16:46:28 UTC >++++ tensorflow/tsl/platform/default/build_config.bzl >+@@ -401,13 +401,6 @@ def py_proto_library( >+ # is not explicitly listed in py_libs. Instead, host system is assumed to >+ # have grpc installed. >+ >+- genproto_deps = [] >+- for dep in deps: >+- if dep != "@com_google_protobuf//:protobuf_python": >+- genproto_deps.append(dep + "_genproto") >+- else: >+- genproto_deps.append("@com_google_protobuf//:well_known_types_py_pb2_genproto") >+- >+ proto_gen( >+ name = name + "_genproto", >+ srcs = srcs, >+@@ -418,7 +411,7 @@ def py_proto_library( >+ plugin_language = "grpc", >+ protoc = protoc, >+ visibility = ["//visibility:public"], >+- deps = genproto_deps, >++ deps = [s + "_genproto" for s in deps], >+ ) >+ >+ if default_runtime and not default_runtime in py_libs + deps: >diff --git a/science/py-tensorflow/files/patch-tensorflow_tsl_python_lib_core_BUILD b/science/py-tensorflow/files/patch-tensorflow_tsl_python_lib_core_BUILD >new file mode 100644 >index 0000000000..4d6d8c57b0 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-tensorflow_tsl_python_lib_core_BUILD >@@ -0,0 +1,11 @@ >+--- tensorflow/tsl/python/lib/core/BUILD.orig 2023-09-12 16:46:28 UTC >++++ tensorflow/tsl/python/lib/core/BUILD >+@@ -50,7 +50,7 @@ cc_shared_library( >+ roots = [":bfloat16_lib"], >+ # TODO(tlongeri): If this is not explicitly specified, dependent DLLs will expect "bfloat16.so" >+ # and we will generate "bfloat16.so.dll", for some reason >+- shared_lib_name = if_windows("bfloat16.so", None), >++ shared_lib_name = if_windows("bfloat16.so", "libbfloat16.so"), >+ static_deps = [ >+ # TODO(ddunleavy): If cc_shared_library is ever not a noop in g3, change >+ # this to be more specific. >diff --git a/science/py-tensorflow/files/patch-tensorflow_workspace2.bzl b/science/py-tensorflow/files/patch-tensorflow_workspace2.bzl >index 207894ee3c..77e6116b62 100644 >--- a/science/py-tensorflow/files/patch-tensorflow_workspace2.bzl >+++ b/science/py-tensorflow/files/patch-tensorflow_workspace2.bzl >@@ -1,10 +1,27 @@ >---- tensorflow/workspace2.bzl.orig 2022-05-22 22:28:22 UTC >+--- tensorflow/workspace2.bzl.orig 2023-09-12 16:46:28 UTC > +++ tensorflow/workspace2.bzl >-@@ -137,6 +137,7 @@ def _tf_repositories(): >+@@ -145,6 +145,7 @@ def _tf_repositories(): > name = "XNNPACK", >- sha256 = "7e9ad45391e5158fd00e816022bda21d54a6180788af7c455c864a78cee252c6", >- strip_prefix = "XNNPACK-11b2812d64e49bab9b6c489f79067fc94e69db9f", >-+ patch_file=["//third_party:add-default-option.patch"], >- urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/11b2812d64e49bab9b6c489f79067fc94e69db9f.zip"), >+ sha256 = "c979b62e8b77af60dfd7567f22ade20d5a9d4d0888f8a2d60d155fc0d31b22ab", >+ strip_prefix = "XNNPACK-b9d4073a6913891ce9cbd8965c8d506075d2a45a", >++ patch_file=["//third_party:fix-xnnpack.patch"], >+ urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip"), > ) > # LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/xnnpack.cmake) >+@@ -167,6 +168,7 @@ def _tf_repositories(): >+ name = "cpuinfo", >+ strip_prefix = "cpuinfo-3dc310302210c1891ffcfb12ae67b11a3ad3a150", >+ sha256 = "ba668f9f8ea5b4890309b7db1ed2e152aaaf98af6f9a8a63dbe1b75c04e52cb9", >++ patch_file = ["//third_party:fix_cpuinfo.patch"], >+ urls = tf_mirror_urls("https://github.com/pytorch/cpuinfo/archive/3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip"), >+ ) >+ >+@@ -875,7 +877,7 @@ def _tf_repositories(): >+ urls = tf_mirror_urls("https://github.com/pybind/pybind11_protobuf/archive/80f3440cd8fee124e077e2e47a8a17b78b451363.zip"), >+ sha256 = "c7ab64b1ccf9a678694a89035a8c865a693e4e872803778f91f0965c2f281d78", >+ strip_prefix = "pybind11_protobuf-80f3440cd8fee124e077e2e47a8a17b78b451363", >+- patch_file = ["//third_party/pybind11_protobuf:remove_license.patch"], >++ patch_file = ["//third_party/pybind11_protobuf:remove_license.patch","//third_party:fix-pybind11_protobuf.patch"], >+ ) >+ >+ tf_http_archive( >diff --git a/science/py-tensorflow/files/patch-third__party_absl_system.absl.base.BUILD b/science/py-tensorflow/files/patch-third__party_absl_system.absl.base.BUILD >new file mode 100644 >index 0000000000..59fb33d662 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-third__party_absl_system.absl.base.BUILD >@@ -0,0 +1,17 @@ >+--- third_party/absl/system.absl.base.BUILD.orig 2023-09-12 16:46:28 UTC >++++ third_party/absl/system.absl.base.BUILD >+@@ -17,7 +17,13 @@ cc_library( >+ >+ cc_library( >+ name = "log_severity", >+- linkopts = ["-labsl_log_severity"], >++ linkopts = [ >++ "-labsl_log_severity", >++ "-labsl_log_internal_check_op", >++ "-labsl_log_internal_conditions", >++ "-labsl_log_internal_message", >++ "-labsl_log_internal_nullguard", >++ ], >+ ) >+ >+ cc_library( >diff --git a/science/py-tensorflow/files/patch-third__party_absl_system.absl.functional.BUILD b/science/py-tensorflow/files/patch-third__party_absl_system.absl.functional.BUILD >new file mode 100644 >index 0000000000..2946aa0a5e >--- /dev/null >+++ b/science/py-tensorflow/files/patch-third__party_absl_system.absl.functional.BUILD >@@ -0,0 +1,13 @@ >+--- third_party/absl/system.absl.functional.BUILD.orig 2023-09-12 16:46:28 UTC >++++ third_party/absl/system.absl.functional.BUILD >+@@ -3,6 +3,10 @@ cc_library( >+ package(default_visibility = ["//visibility:public"]) >+ >+ cc_library( >++ name = "any_invocable", >++) >++ >++cc_library( >+ name = "bind_front", >+ ) >+ >diff --git a/science/py-tensorflow/files/patch-third__party_absl_system.absl.log.BUILD b/science/py-tensorflow/files/patch-third__party_absl_system.absl.log.BUILD >new file mode 100644 >index 0000000000..b148e84242 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-third__party_absl_system.absl.log.BUILD >@@ -0,0 +1,13 @@ >+--- third_party/absl/system.absl.log.BUILD.orig 2024-06-26 12:02:28 UTC >++++ third_party/absl/system.absl.log.BUILD >+@@ -0,0 +1,10 @@ >++load("@rules_cc//cc:defs.bzl", "cc_library") >++ >++package(default_visibility = ["//visibility:public"]) >++ >++[cc_library( >++ name = n, >++) for n in [ >++ "log", >++ "check", >++]] >diff --git a/science/py-tensorflow/files/patch-third__party_absl_system.absl.strings.BUILD b/science/py-tensorflow/files/patch-third__party_absl_system.absl.strings.BUILD >index 5db2e76aff..dca3d2c501 100644 >--- a/science/py-tensorflow/files/patch-third__party_absl_system.absl.strings.BUILD >+++ b/science/py-tensorflow/files/patch-third__party_absl_system.absl.strings.BUILD >@@ -1,15 +1,6 @@ >---- third_party/absl/system.absl.strings.BUILD.orig 2022-05-22 22:28:22 UTC >+--- third_party/absl/system.absl.strings.BUILD.orig 2023-09-12 16:46:28 UTC > +++ third_party/absl/system.absl.strings.BUILD >-@@ -4,7 +4,7 @@ package(default_visibility = ["//visibility:public"]) >- >- cc_library( >- name = "strings", >-- linkopts = ["-labsl_strings"], >-+ linkopts = ["-L%%LOCALBASE%%/lib", "-labsl_strings"], >- deps = [ >- ":internal", >- "//absl/base", >-@@ -26,7 +26,13 @@ cc_library( >+@@ -26,7 +26,11 @@ cc_library( > > cc_library( > name = "cord", >@@ -17,10 +8,8 @@ > + linkopts = [ > + "-labsl_cord", > + "-labsl_cord_internal", >-+ "-labsl_cordz_functions", >-+ "-labsl_cordz_handle", >-+ "-labsl_cordz_info", >-+ "-labsl_cordz_sample_token",], >++ "-labsl_cordz_info" >++ ], > deps = [ > ":str_format", > "//absl/container:compressed_tuple", >diff --git a/science/py-tensorflow/files/patch-third__party_absl_workspace.bzl b/science/py-tensorflow/files/patch-third__party_absl_workspace.bzl >new file mode 100644 >index 0000000000..199a886862 >--- /dev/null >+++ b/science/py-tensorflow/files/patch-third__party_absl_workspace.bzl >@@ -0,0 +1,10 @@ >+--- third_party/absl/workspace.bzl.orig 2023-09-12 16:46:28 UTC >++++ third_party/absl/workspace.bzl >+@@ -20,6 +20,7 @@ def repo(): >+ "flags", >+ "functional", >+ "hash", >++ "log", >+ "memory", >+ "meta", >+ "numeric", >diff --git a/science/py-tensorflow/files/patch-third__party_cpuinfo_cpuinfo.BUILD b/science/py-tensorflow/files/patch-third__party_cpuinfo_cpuinfo.BUILD >deleted file mode 100644 >index 738e8bc2ab..0000000000 >--- a/science/py-tensorflow/files/patch-third__party_cpuinfo_cpuinfo.BUILD >+++ /dev/null >@@ -1,51 +0,0 @@ >---- third_party/cpuinfo/cpuinfo.BUILD.orig 2022-05-22 22:28:22 UTC >-+++ third_party/cpuinfo/cpuinfo.BUILD >-@@ -100,35 +100,7 @@ EMSCRIPTEN_SRCS = [ >- cc_library( >- name = "cpuinfo_impl", >- srcs = select({ >-- ":linux_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS, >-- ":linux_arm": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >-- ":linux_armhf": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >-- ":linux_armv7a": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >-- ":linux_armeabi": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS, >-- ":linux_aarch64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS, >-- ":linux_mips64": COMMON_SRCS + LINUX_SRCS, >-- ":linux_riscv64": COMMON_SRCS + LINUX_SRCS, >-- ":linux_s390x": COMMON_SRCS + LINUX_SRCS, >-- ":macos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >-- ":macos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":windows_x86_64": COMMON_SRCS + X86_SRCS + WINDOWS_X86_SRCS, >-- ":android_armv7": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS + ANDROID_ARM_SRCS, >-- ":android_arm64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS + ANDROID_ARM_SRCS, >-- ":android_x86": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS, >-- ":android_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS, >-- ":ios_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >-- ":ios_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >-- ":ios_armv7": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":ios_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":ios_arm64e": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":ios_sim_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":watchos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >-- ":watchos_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >-- ":watchos_armv7k": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":watchos_arm64_32": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":tvos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >-- ":tvos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS, >-- ":emscripten_wasm": COMMON_SRCS + EMSCRIPTEN_SRCS, >-+ "//conditions:default": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS, >- }), >- copts = select({ >- ":windows_x86_64": [], >-@@ -187,6 +159,11 @@ cc_library( >- ) >- >- ############################# Build configurations ############################# >-+ >-+config_setting( >-+ name = "default", >-+ values = {"cpu": "k8"}, >-+) >- >- config_setting( >- name = "linux_x86_64", >diff --git a/science/py-tensorflow/files/patch-third__party_cpuinfo_workspace.bzl b/science/py-tensorflow/files/patch-third__party_cpuinfo_workspace.bzl >deleted file mode 100644 >index aa701dbd58..0000000000 >--- a/science/py-tensorflow/files/patch-third__party_cpuinfo_workspace.bzl >+++ /dev/null >@@ -1,9 +0,0 @@ >---- third_party/cpuinfo/workspace.bzl.orig 2022-08-29 16:23:14 UTC >-+++ third_party/cpuinfo/workspace.bzl >-@@ -8,5 +8,6 @@ def repo(): >- strip_prefix = "cpuinfo-5916273f79a21551890fd3d56fc5375a78d1598d", >- sha256 = "2a160c527d3c58085ce260f34f9e2b161adc009b34186a2baf24e74376e89e6d", >- urls = tf_mirror_urls("https://github.com/pytorch/cpuinfo/archive/5916273f79a21551890fd3d56fc5375a78d1598d.zip"), >-+ patch_file = ["//third_party:fix_cpuinfo.patch"], >- build_file = "//third_party/cpuinfo:cpuinfo.BUILD", >- ) >diff --git a/science/py-tensorflow/files/patch-third__party_llvm_macos__build__fix.patch b/science/py-tensorflow/files/patch-third__party_llvm_macos__build__fix.patch >deleted file mode 100644 >index 772ba624a8..0000000000 >--- a/science/py-tensorflow/files/patch-third__party_llvm_macos__build__fix.patch >+++ /dev/null >@@ -1,11 +0,0 @@ >---- third_party/llvm/macos_build_fix.patch.orig 2022-09-06 16:15:49 UTC >-+++ third_party/llvm/macos_build_fix.patch >-@@ -38,7 +38,7 @@ index ff64df694048..c9c35b01711c 100644 >- - "@bazel_tools//src/conditions:darwin_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), >- - "@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"), >- + "//llvm:macos_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), >--+ "@bazel_tools//src/conditions:darwin": native_arch_defines("X86", "x86_64-unknown-darwin"), >-++ "@bazel_tools//src/conditions:freebsd": native_arch_defines("X86", "x86_64-unknown-freebsd13.0"), >- "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), >- "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"), >- }) + [ >diff --git a/science/py-tensorflow/files/patch-third__party_llvm_workspace.bzl b/science/py-tensorflow/files/patch-third__party_llvm_workspace.bzl >index e43914b131..418755c586 100644 >--- a/science/py-tensorflow/files/patch-third__party_llvm_workspace.bzl >+++ b/science/py-tensorflow/files/patch-third__party_llvm_workspace.bzl >@@ -1,10 +1,10 @@ >---- third_party/llvm/workspace.bzl.orig 2022-05-22 22:28:22 UTC >+--- third_party/llvm/workspace.bzl.orig 2023-09-12 16:46:28 UTC > +++ third_party/llvm/workspace.bzl >-@@ -16,6 +16,6 @@ def repo(name): >- "https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT), >+@@ -21,6 +21,7 @@ def repo(name): >+ "//third_party/llvm:build.patch", >+ "//third_party/llvm:mathextras.patch", >+ "//third_party/llvm:zstd.patch", >++ "//third_party:fix-environ.patch" > ], >- build_file = "//third_party/llvm:llvm.BUILD", >-- patch_file = ["//third_party/llvm:macos_build_fix.patch"], >-+ patch_file = ["//third_party/llvm:macos_build_fix.patch", "//third_party:freebsd_python_fix.patch", "//third_party:fix-environ.patch"], > link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"}, > ) >diff --git a/science/py-tensorflow/files/patch-third__party_py_BUILD.tpl b/science/py-tensorflow/files/patch-third__party_py_BUILD.tpl >deleted file mode 100644 >index 664828c179..0000000000 >--- a/science/py-tensorflow/files/patch-third__party_py_BUILD.tpl >+++ /dev/null >@@ -1,17 +0,0 @@ >---- third_party/py/BUILD.tpl.orig 2022-09-07 10:53:01 UTC >-+++ third_party/py/BUILD.tpl >-@@ -9,12 +9,14 @@ load("@bazel_tools//tools/python:toolchain.bzl", "py_r >- py_runtime( >- name = "py2_runtime", >- interpreter_path = "%{PYTHON_BIN_PATH}", >-+ stub_shebang = "#!%{PYTHON_BIN_PATH}", >- python_version = "PY2", >- ) >- >- py_runtime( >- name = "py3_runtime", >- interpreter_path = "%{PYTHON_BIN_PATH}", >-+ stub_shebang = "#!%{PYTHON_BIN_PATH}", >- python_version = "PY3", >- ) >- >diff --git a/science/py-tensorflow/files/patch-third__party_systemlibs_protobuf.BUILD b/science/py-tensorflow/files/patch-third__party_systemlibs_protobuf.BUILD >deleted file mode 100644 >index 212f48248e..0000000000 >--- a/science/py-tensorflow/files/patch-third__party_systemlibs_protobuf.BUILD >+++ /dev/null >@@ -1,25 +0,0 @@ >---- third_party/systemlibs/protobuf.BUILD.orig 2022-09-01 05:13:59 UTC >-+++ third_party/systemlibs/protobuf.BUILD >-@@ -61,19 +61,19 @@ genrule( >- >- cc_library( >- name = "protobuf", >-- linkopts = ["-lprotobuf"], >-+ linkopts = ["-L%%LOCALBASE%%/lib", "-lprotobuf"], >- visibility = ["//visibility:public"], >- ) >- >- cc_library( >- name = "protobuf_headers", >-- linkopts = ["-lprotobuf"], >-+ linkopts = ["-L%%LOCALBASE%%/lib", "-lprotobuf"], >- visibility = ["//visibility:public"], >- ) >- >- cc_library( >- name = "protoc_lib", >-- linkopts = ["-lprotoc"], >-+ linkopts = ["-L%%LOCALBASE%%/lib", "-lprotoc"], >- visibility = ["//visibility:public"], >- ) >- >diff --git a/science/py-tensorflow/pkg-plist b/science/py-tensorflow/pkg-plist >index a7dbf5fad4..59666ab549 100644 >--- a/science/py-tensorflow/pkg-plist >+++ b/science/py-tensorflow/pkg-plist >@@ -8,6 +8,7 @@ include/tensorflow/c/eager/dlpack.h > include/tensorflow/c/ops.h > include/tensorflow/c/tensor_interface.h > include/tensorflow/c/tf_attrtype.h >+include/tensorflow/c/tf_buffer.h > include/tensorflow/c/tf_datatype.h > include/tensorflow/c/tf_file_statistics.h > include/tensorflow/c/tf_status.h >@@ -94,9 +95,27 @@ include/tensorflow/compiler/xla/array.h > include/tensorflow/compiler/xla/array2d.h > include/tensorflow/compiler/xla/array3d.h > include/tensorflow/compiler/xla/array4d.h >+include/tensorflow/compiler/xla/autotune_results.pb.h > include/tensorflow/compiler/xla/comparison_util.h > include/tensorflow/compiler/xla/debug_options_flags.h > include/tensorflow/compiler/xla/debug_options_parsers.h >+include/tensorflow/compiler/xla/hlo/ir/dfs_hlo_visitor.h >+include/tensorflow/compiler/xla/hlo/ir/dfs_hlo_visitor_with_default.h >+include/tensorflow/compiler/xla/hlo/ir/dynamic_parameter_binding.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_casting_utils.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_clone_context.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_computation.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_domain_metadata.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_input_output_alias_config.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_instruction.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_instructions.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_module.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_module_metadata.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_op_metadata.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_opcode.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_schedule.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_sharding.h >+include/tensorflow/compiler/xla/hlo/ir/hlo_sharding_metadata.h > include/tensorflow/compiler/xla/index_util.h > include/tensorflow/compiler/xla/iterator_util.h > include/tensorflow/compiler/xla/layout.h >@@ -104,33 +123,20 @@ include/tensorflow/compiler/xla/layout_util.h > include/tensorflow/compiler/xla/literal.h > include/tensorflow/compiler/xla/literal_util.h > include/tensorflow/compiler/xla/map_util.h >+include/tensorflow/compiler/xla/mlir/utils/error_util.h > include/tensorflow/compiler/xla/overflow_util.h > include/tensorflow/compiler/xla/parse_flags_from_env.h > include/tensorflow/compiler/xla/permutation_util.h > include/tensorflow/compiler/xla/primitive_util.h >+include/tensorflow/compiler/xla/printer.h > include/tensorflow/compiler/xla/protobuf_util.h >+include/tensorflow/compiler/xla/service/compilation_environments.h > include/tensorflow/compiler/xla/service/computation_layout.h > include/tensorflow/compiler/xla/service/computation_placer.h >-include/tensorflow/compiler/xla/service/dfs_hlo_visitor.h >-include/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h >-include/tensorflow/compiler/xla/service/dynamic_parameter_binding.h > include/tensorflow/compiler/xla/service/global_device_id.h > include/tensorflow/compiler/xla/service/hlo.pb.h >-include/tensorflow/compiler/xla/service/hlo_casting_utils.h >-include/tensorflow/compiler/xla/service/hlo_clone_context.h >-include/tensorflow/compiler/xla/service/hlo_computation.h >-include/tensorflow/compiler/xla/service/hlo_domain_metadata.h >-include/tensorflow/compiler/xla/service/hlo_input_output_alias_config.h >-include/tensorflow/compiler/xla/service/hlo_instruction.h >-include/tensorflow/compiler/xla/service/hlo_instructions.h >-include/tensorflow/compiler/xla/service/hlo_module.h > include/tensorflow/compiler/xla/service/hlo_module_config.h >-include/tensorflow/compiler/xla/service/hlo_module_metadata.h >-include/tensorflow/compiler/xla/service/hlo_op_metadata.h >-include/tensorflow/compiler/xla/service/hlo_opcode.h >-include/tensorflow/compiler/xla/service/hlo_schedule.h >-include/tensorflow/compiler/xla/service/hlo_sharding.h >-include/tensorflow/compiler/xla/service/hlo_sharding_metadata.h >+include/tensorflow/compiler/xla/service/mapped_ptr_container_sorter.h > include/tensorflow/compiler/xla/service/name_uniquer.h > include/tensorflow/compiler/xla/shape.h > include/tensorflow/compiler/xla/shape_layout.h >@@ -139,6 +145,57 @@ include/tensorflow/compiler/xla/shape_util.h > include/tensorflow/compiler/xla/status.h > include/tensorflow/compiler/xla/status_macros.h > include/tensorflow/compiler/xla/statusor.h >+include/tensorflow/compiler/xla/stream_executor/allocator_stats.h >+include/tensorflow/compiler/xla/stream_executor/blas.h >+include/tensorflow/compiler/xla/stream_executor/cuda/cuda_activation.h >+include/tensorflow/compiler/xla/stream_executor/cuda/cuda_platform_id.h >+include/tensorflow/compiler/xla/stream_executor/data_type.h >+include/tensorflow/compiler/xla/stream_executor/device_description.h >+include/tensorflow/compiler/xla/stream_executor/device_description.pb.h >+include/tensorflow/compiler/xla/stream_executor/device_host_allocator.h >+include/tensorflow/compiler/xla/stream_executor/device_id_utils.h >+include/tensorflow/compiler/xla/stream_executor/device_mem_allocator.h >+include/tensorflow/compiler/xla/stream_executor/device_memory.h >+include/tensorflow/compiler/xla/stream_executor/device_memory_allocator.h >+include/tensorflow/compiler/xla/stream_executor/device_options.h >+include/tensorflow/compiler/xla/stream_executor/dnn.h >+include/tensorflow/compiler/xla/stream_executor/dnn.pb.h >+include/tensorflow/compiler/xla/stream_executor/event.h >+include/tensorflow/compiler/xla/stream_executor/executor_cache.h >+include/tensorflow/compiler/xla/stream_executor/fft.h >+include/tensorflow/compiler/xla/stream_executor/gpu/gpu_activation.h >+include/tensorflow/compiler/xla/stream_executor/gpu/gpu_init.h >+include/tensorflow/compiler/xla/stream_executor/gpu_launch_dim.h >+include/tensorflow/compiler/xla/stream_executor/host/host_platform_id.h >+include/tensorflow/compiler/xla/stream_executor/host_or_device_scalar.h >+include/tensorflow/compiler/xla/stream_executor/kernel.h >+include/tensorflow/compiler/xla/stream_executor/kernel_cache_config.h >+include/tensorflow/compiler/xla/stream_executor/kernel_spec.h >+include/tensorflow/compiler/xla/stream_executor/launch_dim.h >+include/tensorflow/compiler/xla/stream_executor/module_spec.h >+include/tensorflow/compiler/xla/stream_executor/multi_platform_manager.h >+include/tensorflow/compiler/xla/stream_executor/numeric_options.h >+include/tensorflow/compiler/xla/stream_executor/platform.h >+include/tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.h >+include/tensorflow/compiler/xla/stream_executor/platform/default/initialize.h >+include/tensorflow/compiler/xla/stream_executor/platform/dso_loader.h >+include/tensorflow/compiler/xla/stream_executor/platform/initialize.h >+include/tensorflow/compiler/xla/stream_executor/platform/logging.h >+include/tensorflow/compiler/xla/stream_executor/platform/platform.h >+include/tensorflow/compiler/xla/stream_executor/platform/port.h >+include/tensorflow/compiler/xla/stream_executor/plugin.h >+include/tensorflow/compiler/xla/stream_executor/plugin_registry.h >+include/tensorflow/compiler/xla/stream_executor/rng.h >+include/tensorflow/compiler/xla/stream_executor/rocm/rocm_platform_id.h >+include/tensorflow/compiler/xla/stream_executor/scratch_allocator.h >+include/tensorflow/compiler/xla/stream_executor/stream.h >+include/tensorflow/compiler/xla/stream_executor/stream_executor.h >+include/tensorflow/compiler/xla/stream_executor/stream_executor_internal.h >+include/tensorflow/compiler/xla/stream_executor/stream_executor_pimpl.h >+include/tensorflow/compiler/xla/stream_executor/temporary_device_memory.h >+include/tensorflow/compiler/xla/stream_executor/temporary_memory_manager.h >+include/tensorflow/compiler/xla/stream_executor/timer.h >+include/tensorflow/compiler/xla/stream_executor/trace_listener.h > include/tensorflow/compiler/xla/types.h > include/tensorflow/compiler/xla/util.h > include/tensorflow/compiler/xla/window_util.h >@@ -146,6 +203,7 @@ include/tensorflow/compiler/xla/xla.pb.h > include/tensorflow/compiler/xla/xla_data.pb.h > include/tensorflow/core/common_runtime/all_to_all.h > include/tensorflow/core/common_runtime/allocator_retry.h >+include/tensorflow/core/common_runtime/arg_ret_placement.h > include/tensorflow/core/common_runtime/base_collective_executor.h > include/tensorflow/core/common_runtime/bfc_allocator.h > include/tensorflow/core/common_runtime/buf_rendezvous.h >@@ -157,7 +215,6 @@ include/tensorflow/core/common_runtime/collective_util.h > include/tensorflow/core/common_runtime/colocation_graph.h > include/tensorflow/core/common_runtime/composite_device.h > include/tensorflow/core/common_runtime/constant_folding.h >-include/tensorflow/core/common_runtime/control_flow_deps_to_chains.h > include/tensorflow/core/common_runtime/copy_tensor.h > include/tensorflow/core/common_runtime/costmodel_manager.h > include/tensorflow/core/common_runtime/debugger_state_interface.h >@@ -166,7 +223,6 @@ include/tensorflow/core/common_runtime/device/device_event_mgr.h > include/tensorflow/core/common_runtime/device/device_host_allocator.h > include/tensorflow/core/common_runtime/device/device_id.h > include/tensorflow/core/common_runtime/device/device_id_manager.h >-include/tensorflow/core/common_runtime/device/device_id_utils.h > include/tensorflow/core/common_runtime/device/device_mem_allocator.h > include/tensorflow/core/common_runtime/device_factory.h > include/tensorflow/core/common_runtime/device_mgr.h >@@ -183,12 +239,10 @@ include/tensorflow/core/common_runtime/function_optimization_registry.h > include/tensorflow/core/common_runtime/function_utils.h > include/tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.h > include/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.h >-include/tensorflow/core/common_runtime/gpu/gpu_cudamallocasync_allocator.h > include/tensorflow/core/common_runtime/gpu/gpu_debug_allocator.h > include/tensorflow/core/common_runtime/gpu/gpu_device.h > include/tensorflow/core/common_runtime/gpu/gpu_id.h > include/tensorflow/core/common_runtime/gpu/gpu_id_manager.h >-include/tensorflow/core/common_runtime/gpu/gpu_init.h > include/tensorflow/core/common_runtime/gpu/gpu_managed_allocator.h > include/tensorflow/core/common_runtime/gpu/gpu_process_state.h > include/tensorflow/core/common_runtime/gpu/gpu_util.h >@@ -204,6 +258,7 @@ include/tensorflow/core/common_runtime/hierarchical_tree_broadcaster.h > include/tensorflow/core/common_runtime/inline_function_utils.h > include/tensorflow/core/common_runtime/input_colocation_exemption_registry.h > include/tensorflow/core/common_runtime/inspecting_placer.h >+include/tensorflow/core/common_runtime/int32_fulltype.h > include/tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.h > include/tensorflow/core/common_runtime/local_device.h > include/tensorflow/core/common_runtime/local_executor_params.h >@@ -216,9 +271,9 @@ include/tensorflow/core/common_runtime/lower_while_op.h > include/tensorflow/core/common_runtime/memory_types.h > include/tensorflow/core/common_runtime/mkl_cpu_allocator.h > include/tensorflow/core/common_runtime/mkl_layout_pass.h >-include/tensorflow/core/common_runtime/mkl_tfconversion_pass.h > include/tensorflow/core/common_runtime/node_file_writer.h > include/tensorflow/core/common_runtime/optimization_registry.h >+include/tensorflow/core/common_runtime/optimized_function_graph_info.h > include/tensorflow/core/common_runtime/partitioning_utils.h > include/tensorflow/core/common_runtime/permuter.h > include/tensorflow/core/common_runtime/placer.h >@@ -271,6 +326,7 @@ include/tensorflow/core/framework/common_shape_fns.h > include/tensorflow/core/framework/control_flow.h > include/tensorflow/core/framework/cost_graph.pb.h > include/tensorflow/core/framework/dataset.h >+include/tensorflow/core/framework/dataset.pb.h > include/tensorflow/core/framework/dataset_metadata.pb.h > include/tensorflow/core/framework/dataset_options.pb.h > include/tensorflow/core/framework/dataset_stateful_op_allowlist.h >@@ -285,6 +341,7 @@ include/tensorflow/core/framework/function.h > include/tensorflow/core/framework/function.pb.h > include/tensorflow/core/framework/function_handle_cache.h > include/tensorflow/core/framework/graph.pb.h >+include/tensorflow/core/framework/graph_debug_info.pb.h > include/tensorflow/core/framework/graph_def_util.h > include/tensorflow/core/framework/graph_to_functiondef.h > include/tensorflow/core/framework/graph_transfer_info.pb.h >@@ -315,12 +372,13 @@ include/tensorflow/core/framework/op_kernel.h > include/tensorflow/core/framework/op_requires.h > include/tensorflow/core/framework/op_segment.h > include/tensorflow/core/framework/ops_util.h >+include/tensorflow/core/framework/optimized_function_graph.pb.h > include/tensorflow/core/framework/partial_tensor_shape.h > include/tensorflow/core/framework/queue_interface.h >-include/tensorflow/core/framework/reader_base.h > include/tensorflow/core/framework/reader_base.pb.h > include/tensorflow/core/framework/reader_interface.h > include/tensorflow/core/framework/reader_op_kernel.h >+include/tensorflow/core/framework/ref_var.h > include/tensorflow/core/framework/register_types.h > include/tensorflow/core/framework/register_types_traits.h > include/tensorflow/core/framework/registration/options.h >@@ -434,6 +492,7 @@ include/tensorflow/core/grappler/optimizers/scoped_allocator_optimizer.h > include/tensorflow/core/grappler/optimizers/shape_optimizer.h > include/tensorflow/core/grappler/optimizers/static_schedule.h > include/tensorflow/core/grappler/optimizers/tfg_optimizer_hook.h >+include/tensorflow/core/grappler/optimizers/tfg_passes_builder.h > include/tensorflow/core/grappler/utils.h > include/tensorflow/core/grappler/utils/canonicalizer.h > include/tensorflow/core/grappler/utils/colocation.h >@@ -457,10 +516,10 @@ include/tensorflow/core/ir/dialect.h.inc > include/tensorflow/core/ir/importexport/convert_attributes.h > include/tensorflow/core/ir/importexport/convert_tensor.h > include/tensorflow/core/ir/importexport/convert_types.h >-include/tensorflow/core/ir/importexport/export.h > include/tensorflow/core/ir/importexport/functiondef_export.h > include/tensorflow/core/ir/importexport/functiondef_import.h >-include/tensorflow/core/ir/importexport/import.h >+include/tensorflow/core/ir/importexport/graphdef_export.h >+include/tensorflow/core/ir/importexport/graphdef_import.h > include/tensorflow/core/ir/importexport/mangling.h > include/tensorflow/core/ir/importexport/parse_text_proto.h > include/tensorflow/core/ir/interfaces.cc.inc >@@ -469,6 +528,8 @@ include/tensorflow/core/ir/interfaces.h.inc > include/tensorflow/core/ir/ops.cc.inc > include/tensorflow/core/ir/ops.h > include/tensorflow/core/ir/ops.h.inc >+include/tensorflow/core/ir/tf_op_names.inc >+include/tensorflow/core/ir/tf_op_registry.h > include/tensorflow/core/ir/tf_op_wrapper.h > include/tensorflow/core/ir/types/attributes.cc.inc > include/tensorflow/core/ir/types/attributes.h.inc >@@ -481,12 +542,12 @@ include/tensorflow/core/ir/types/types.cc.inc > include/tensorflow/core/ir/types/types.def > include/tensorflow/core/ir/types/types.h.inc > include/tensorflow/core/ir/utility.h >+include/tensorflow/core/ir/utils/shape_inference_utils.h > include/tensorflow/core/kernels/ops_util.h > include/tensorflow/core/lib/bfloat16/bfloat16.h > include/tensorflow/core/lib/core/arena.h > include/tensorflow/core/lib/core/bitmap.h > include/tensorflow/core/lib/core/bits.h >-include/tensorflow/core/lib/core/blocking_counter.h > include/tensorflow/core/lib/core/coding.h > include/tensorflow/core/lib/core/error_codes.pb.h > include/tensorflow/core/lib/core/errors.h >@@ -532,10 +593,6 @@ include/tensorflow/core/lib/io/proto_encode_helper.h > include/tensorflow/core/lib/io/random_inputstream.h > include/tensorflow/core/lib/io/record_reader.h > include/tensorflow/core/lib/io/record_writer.h >-include/tensorflow/core/lib/io/snappy/snappy_compression_options.h >-include/tensorflow/core/lib/io/snappy/snappy_inputbuffer.h >-include/tensorflow/core/lib/io/snappy/snappy_inputstream.h >-include/tensorflow/core/lib/io/snappy/snappy_outputbuffer.h > include/tensorflow/core/lib/io/table.h > include/tensorflow/core/lib/io/table_builder.h > include/tensorflow/core/lib/io/table_options.h >@@ -545,6 +602,7 @@ include/tensorflow/core/lib/io/zlib_inputstream.h > include/tensorflow/core/lib/io/zlib_outputbuffer.h > include/tensorflow/core/lib/llvm_rtti/llvm_rtti.h > include/tensorflow/core/lib/math/math_util.h >+include/tensorflow/core/lib/monitoring/cell_reader.h > include/tensorflow/core/lib/monitoring/collected_metrics.h > include/tensorflow/core/lib/monitoring/collection_registry.h > include/tensorflow/core/lib/monitoring/counter.h >@@ -552,12 +610,12 @@ include/tensorflow/core/lib/monitoring/gauge.h > include/tensorflow/core/lib/monitoring/metric_def.h > include/tensorflow/core/lib/monitoring/percentile_sampler.h > include/tensorflow/core/lib/monitoring/sampler.h >+include/tensorflow/core/lib/monitoring/test_utils.h > include/tensorflow/core/lib/monitoring/timed.h > include/tensorflow/core/lib/monitoring/types.h > include/tensorflow/core/lib/random/distribution_sampler.h > include/tensorflow/core/lib/random/exact_uniform_int.h > include/tensorflow/core/lib/random/philox_random.h >-include/tensorflow/core/lib/random/philox_random_test_utils.h > include/tensorflow/core/lib/random/random.h > include/tensorflow/core/lib/random/random_distributions.h > include/tensorflow/core/lib/random/random_distributions_utils.h >@@ -579,21 +637,6 @@ include/tensorflow/core/platform/bfloat16.h > include/tensorflow/core/platform/blocking_counter.h > include/tensorflow/core/platform/byte_order.h > include/tensorflow/core/platform/casts.h >-include/tensorflow/core/platform/cloud/auth_provider.h >-include/tensorflow/core/platform/cloud/compute_engine_metadata_client.h >-include/tensorflow/core/platform/cloud/compute_engine_zone_provider.h >-include/tensorflow/core/platform/cloud/curl_http_request.h >-include/tensorflow/core/platform/cloud/expiring_lru_cache.h >-include/tensorflow/core/platform/cloud/file_block_cache.h >-include/tensorflow/core/platform/cloud/gcs_dns_cache.h >-include/tensorflow/core/platform/cloud/gcs_file_system.h >-include/tensorflow/core/platform/cloud/gcs_throttle.h >-include/tensorflow/core/platform/cloud/google_auth_provider.h >-include/tensorflow/core/platform/cloud/http_request.h >-include/tensorflow/core/platform/cloud/oauth_client.h >-include/tensorflow/core/platform/cloud/ram_file_block_cache.h >-include/tensorflow/core/platform/cloud/time_util.h >-include/tensorflow/core/platform/cloud/zone_provider.h > include/tensorflow/core/platform/coding.h > include/tensorflow/core/platform/context.h > include/tensorflow/core/platform/cord.h >@@ -603,32 +646,19 @@ include/tensorflow/core/platform/crash_analysis.h > include/tensorflow/core/platform/ctstring.h > include/tensorflow/core/platform/ctstring_internal.h > include/tensorflow/core/platform/cuda.h >-include/tensorflow/core/platform/cuda_libdevice_path.h >-include/tensorflow/core/platform/default/casts.h >-include/tensorflow/core/platform/default/context.h >-include/tensorflow/core/platform/default/cord.h >-include/tensorflow/core/platform/default/dynamic_annotations.h >-include/tensorflow/core/platform/default/integral_types.h >-include/tensorflow/core/platform/default/logging.h >-include/tensorflow/core/platform/default/mutex.h >-include/tensorflow/core/platform/default/mutex_data.h >-include/tensorflow/core/platform/default/notification.h >-include/tensorflow/core/platform/default/posix_file_system.h >-include/tensorflow/core/platform/default/stacktrace.h >-include/tensorflow/core/platform/default/subprocess.h >-include/tensorflow/core/platform/default/tracing_impl.h >-include/tensorflow/core/platform/default/unbounded_work_queue.h > include/tensorflow/core/platform/demangle.h > include/tensorflow/core/platform/denormal.h > include/tensorflow/core/platform/dynamic_annotations.h > include/tensorflow/core/platform/enable_tf2_utils.h > include/tensorflow/core/platform/env.h > include/tensorflow/core/platform/env_time.h >+include/tensorflow/core/platform/error_payloads.h > include/tensorflow/core/platform/errors.h > include/tensorflow/core/platform/file_statistics.h > include/tensorflow/core/platform/file_system.h > include/tensorflow/core/platform/file_system_helper.h > include/tensorflow/core/platform/fingerprint.h >+include/tensorflow/core/platform/float8.h > include/tensorflow/core/platform/hash.h > include/tensorflow/core/platform/host_info.h > include/tensorflow/core/platform/human_readable_json.h >@@ -655,7 +685,6 @@ include/tensorflow/core/platform/profile_utils/clock_cycle_profiler.h > include/tensorflow/core/platform/profile_utils/cpu_utils.h > include/tensorflow/core/platform/profile_utils/i_cpu_utils_helper.h > include/tensorflow/core/platform/protobuf.h >-include/tensorflow/core/platform/protobuf_compiler.h > include/tensorflow/core/platform/protobuf_internal.h > include/tensorflow/core/platform/ram_file_system.h > include/tensorflow/core/platform/random.h >@@ -677,7 +706,6 @@ include/tensorflow/core/platform/stacktrace_handler.h > include/tensorflow/core/platform/status.h > include/tensorflow/core/platform/status_matchers.h > include/tensorflow/core/platform/statusor.h >-include/tensorflow/core/platform/statusor_internals.h > include/tensorflow/core/platform/str_util.h > include/tensorflow/core/platform/strcat.h > include/tensorflow/core/platform/stream_executor.h >@@ -698,32 +726,27 @@ include/tensorflow/core/platform/tracing.h > include/tensorflow/core/platform/tstring.h > include/tensorflow/core/platform/types.h > include/tensorflow/core/platform/unbounded_work_queue.h >-include/tensorflow/core/profiler/internal/cpu/traceme_recorder.h >-include/tensorflow/core/profiler/lib/traceme.h >-include/tensorflow/core/profiler/lib/traceme_encode.h > include/tensorflow/core/profiler/profiler_options.pb.h > include/tensorflow/core/profiler/protobuf/xplane.pb.h >-include/tensorflow/core/profiler/utils/math_utils.h >-include/tensorflow/core/profiler/utils/time_utils.h > include/tensorflow/core/protobuf/bfc_memory_map.pb.h > include/tensorflow/core/protobuf/cluster.pb.h > include/tensorflow/core/protobuf/composite_tensor_variant.pb.h > include/tensorflow/core/protobuf/config.pb.h > include/tensorflow/core/protobuf/control_flow.pb.h >-include/tensorflow/core/protobuf/coordination_config.pb.h >+include/tensorflow/core/protobuf/core_platform_payloads.pb.h > include/tensorflow/core/protobuf/data_service.pb.h > include/tensorflow/core/protobuf/debug.pb.h > include/tensorflow/core/protobuf/debug_event.pb.h > include/tensorflow/core/protobuf/device_filters.pb.h > include/tensorflow/core/protobuf/device_properties.pb.h >-include/tensorflow/core/protobuf/distributed_runtime_payloads.pb.h > include/tensorflow/core/protobuf/error_codes.pb.h >-include/tensorflow/core/protobuf/graph_debug_info.pb.h >+include/tensorflow/core/protobuf/fingerprint.pb.h > include/tensorflow/core/protobuf/meta_graph.pb.h > include/tensorflow/core/protobuf/named_tensor.pb.h > include/tensorflow/core/protobuf/queue_runner.pb.h > include/tensorflow/core/protobuf/remote_tensor_handle.pb.h > include/tensorflow/core/protobuf/rewriter_config.pb.h >+include/tensorflow/core/protobuf/rpc_options.pb.h > include/tensorflow/core/protobuf/saved_model.pb.h > include/tensorflow/core/protobuf/saved_object_graph.pb.h > include/tensorflow/core/protobuf/saver.pb.h >@@ -745,22 +768,40 @@ include/tensorflow/core/tpu/ops/tpu_embedding_ops.h > include/tensorflow/core/tpu/ops/tpu_embedding_shape_util.h > include/tensorflow/core/tpu/tpu_embedding_optimization_parameters_utils.h > include/tensorflow/core/tpu/tpu_embedding_output_layout_utils.h >-include/tensorflow/core/transforms/cf_sink/cf_sink.h >+include/tensorflow/core/transforms/cf_sink/pass.h > include/tensorflow/core/transforms/consolidate_attrs/pass.h > include/tensorflow/core/transforms/const_dedupe_hoist/pass.h >-include/tensorflow/core/transforms/drop_unregistered_attribute/output_shapes.h >+include/tensorflow/core/transforms/constant_folding/pass.h >+include/tensorflow/core/transforms/cse/pass.h >+include/tensorflow/core/transforms/drop_unregistered_attribute/pass.h >+include/tensorflow/core/transforms/eliminate_passthrough_iter_args/pass.h >+include/tensorflow/core/transforms/func_to_graph/func_to_graph.h >+include/tensorflow/core/transforms/func_to_graph/pass.h >+include/tensorflow/core/transforms/functional_to_region/impl.h >+include/tensorflow/core/transforms/functional_to_region/pass.h >+include/tensorflow/core/transforms/graph_compactor/pass.h > include/tensorflow/core/transforms/graph_to_func/graph_to_func.h >-include/tensorflow/core/transforms/graph_to_func/graph_to_func_pass.h >-include/tensorflow/core/transforms/pass_detail.h >+include/tensorflow/core/transforms/graph_to_func/pass.h >+include/tensorflow/core/transforms/legacy_call/pass.h > include/tensorflow/core/transforms/pass_registration.h > include/tensorflow/core/transforms/passes.h.inc >-include/tensorflow/core/transforms/remapper/remapper_pass.h >-include/tensorflow/core/transforms/toposort/toposort_pass.h >+include/tensorflow/core/transforms/region_to_functional/impl.h >+include/tensorflow/core/transforms/region_to_functional/pass.h >+include/tensorflow/core/transforms/remapper/pass.h >+include/tensorflow/core/transforms/remapper/pdll/MklPDLLPatterns.h.inc >+include/tensorflow/core/transforms/remapper/remapping_helper.h >+include/tensorflow/core/transforms/shape_inference/pass.h >+include/tensorflow/core/transforms/toposort/pass.h >+include/tensorflow/core/transforms/utils/eval_utils.h >+include/tensorflow/core/transforms/utils/op_cat_helper.h >+include/tensorflow/core/transforms/utils/pdll/PDLLUtils.h.inc >+include/tensorflow/core/transforms/utils/pdll/utils.h > include/tensorflow/core/transforms/utils/utils.h > include/tensorflow/core/util/activation_mode.h > include/tensorflow/core/util/batch_util.h > include/tensorflow/core/util/bcast.h > include/tensorflow/core/util/command_line_flags.h >+include/tensorflow/core/util/debug_data_dumper.h > include/tensorflow/core/util/debug_events_writer.h > include/tensorflow/core/util/determinism.h > include/tensorflow/core/util/device_name_utils.h >@@ -794,7 +835,8 @@ include/tensorflow/core/util/permutation_input_iterator.h > include/tensorflow/core/util/permutation_output_iterator.h > include/tensorflow/core/util/port.h > include/tensorflow/core/util/presized_cuckoo_map.h >-include/tensorflow/core/util/ptr_util.h >+include/tensorflow/core/util/quantization/uniform_quant_ops_attr.pb.h >+include/tensorflow/core/util/quantization/uniform_quant_ops_params.h > include/tensorflow/core/util/ragged_to_dense_util.h > include/tensorflow/core/util/ragged_to_dense_util_common.h > include/tensorflow/core/util/reffed_status_callback.h >@@ -808,9 +850,8 @@ include/tensorflow/core/util/stat_summarizer_options.h > include/tensorflow/core/util/stats_calculator.h > include/tensorflow/core/util/stream_executor_util.h > include/tensorflow/core/util/strided_slice_op.h >-include/tensorflow/core/util/tensor_bundle/byte_swap.h >-include/tensorflow/core/util/tensor_bundle/naming.h >-include/tensorflow/core/util/tensor_bundle/tensor_bundle.h >+include/tensorflow/core/util/tensor_bundle/byte_swap_array.h >+include/tensorflow/core/util/tensor_bundle/byte_swap_tensor.h > include/tensorflow/core/util/tensor_format.h > include/tensorflow/core/util/tensor_ops_util.h > include/tensorflow/core/util/tensor_slice_reader.h >@@ -824,77 +865,234 @@ include/tensorflow/core/util/use_cudnn.h > include/tensorflow/core/util/util.h > include/tensorflow/core/util/work_sharder.h > include/tensorflow/core/util/xla_config_registry.h >+include/tensorflow/core/util/zen_util.h > include/tensorflow/lite/kernels/shim/op_kernel.h > include/tensorflow/lite/kernels/shim/shape.h > include/tensorflow/lite/kernels/shim/status_macros.h > include/tensorflow/lite/kernels/shim/tensor_view.h > include/tensorflow/lite/kernels/shim/tf_op_shim.h > include/tensorflow/lite/kernels/shim/tf_tensor_view.h >-include/tensorflow/stream_executor/allocator_stats.h >-include/tensorflow/stream_executor/blas.h >-include/tensorflow/stream_executor/cuda/cuda_dnn.h >-include/tensorflow/stream_executor/cuda/cuda_platform_id.h >-include/tensorflow/stream_executor/data_type.h >-include/tensorflow/stream_executor/device_description.h >-include/tensorflow/stream_executor/device_memory.h >-include/tensorflow/stream_executor/device_memory_allocator.h >-include/tensorflow/stream_executor/device_options.h >-include/tensorflow/stream_executor/dnn.h >-include/tensorflow/stream_executor/dnn.pb.h >-include/tensorflow/stream_executor/event.h >-include/tensorflow/stream_executor/executor_cache.h >-include/tensorflow/stream_executor/fft.h >-include/tensorflow/stream_executor/gpu_launch_dim.h >-include/tensorflow/stream_executor/host/host_gpu_executor.h >-include/tensorflow/stream_executor/host/host_platform.h >-include/tensorflow/stream_executor/host/host_platform_id.h >-include/tensorflow/stream_executor/host/host_stream.h >-include/tensorflow/stream_executor/host/host_timer.h >-include/tensorflow/stream_executor/host_or_device_scalar.h >-include/tensorflow/stream_executor/kernel.h >-include/tensorflow/stream_executor/kernel_cache_config.h >-include/tensorflow/stream_executor/kernel_spec.h >-include/tensorflow/stream_executor/launch_dim.h >-include/tensorflow/stream_executor/lib/array_slice.h >-include/tensorflow/stream_executor/lib/demangle.h >-include/tensorflow/stream_executor/lib/env.h >-include/tensorflow/stream_executor/lib/error.h >-include/tensorflow/stream_executor/lib/human_readable.h >-include/tensorflow/stream_executor/lib/initialize.h >-include/tensorflow/stream_executor/lib/mathutil.h >-include/tensorflow/stream_executor/lib/numbers.h >-include/tensorflow/stream_executor/lib/path.h >-include/tensorflow/stream_executor/lib/process_state.h >-include/tensorflow/stream_executor/lib/stacktrace.h >-include/tensorflow/stream_executor/lib/static_threadlocal.h >-include/tensorflow/stream_executor/lib/status.h >-include/tensorflow/stream_executor/lib/status_macros.h >-include/tensorflow/stream_executor/lib/statusor.h >-include/tensorflow/stream_executor/lib/thread_options.h >-include/tensorflow/stream_executor/lib/threadpool.h >-include/tensorflow/stream_executor/module_spec.h >-include/tensorflow/stream_executor/multi_platform_manager.h >-include/tensorflow/stream_executor/platform.h >-include/tensorflow/stream_executor/platform/default/dso_loader.h >-include/tensorflow/stream_executor/platform/default/initialize.h >-include/tensorflow/stream_executor/platform/dso_loader.h >-include/tensorflow/stream_executor/platform/initialize.h >-include/tensorflow/stream_executor/platform/logging.h >-include/tensorflow/stream_executor/platform/platform.h >-include/tensorflow/stream_executor/platform/port.h >-include/tensorflow/stream_executor/plugin.h >-include/tensorflow/stream_executor/plugin_registry.h >-include/tensorflow/stream_executor/rng.h >-include/tensorflow/stream_executor/rocm/rocm_platform_id.h >-include/tensorflow/stream_executor/scratch_allocator.h >-include/tensorflow/stream_executor/stream.h >-include/tensorflow/stream_executor/stream_executor.h >-include/tensorflow/stream_executor/stream_executor_internal.h >-include/tensorflow/stream_executor/stream_executor_pimpl.h >-include/tensorflow/stream_executor/temporary_device_memory.h >-include/tensorflow/stream_executor/temporary_memory_manager.h >-include/tensorflow/stream_executor/timer.h >-include/tensorflow/stream_executor/trace_listener.h >+include/tensorflow/tsl/c/tsl_status.h >+include/tensorflow/tsl/c/tsl_status_helper.h >+include/tensorflow/tsl/c/tsl_status_internal.h >+include/tensorflow/tsl/framework/allocator.h >+include/tensorflow/tsl/framework/allocator_registry.h >+include/tensorflow/tsl/framework/allocator_retry.h >+include/tensorflow/tsl/framework/bfc_allocator.h >+include/tensorflow/tsl/framework/cancellation.h >+include/tensorflow/tsl/framework/device_id.h >+include/tensorflow/tsl/framework/device_id_manager.h >+include/tensorflow/tsl/framework/device_type.h >+include/tensorflow/tsl/framework/fixedpoint_types.h >+include/tensorflow/tsl/framework/numeric_types.h >+include/tensorflow/tsl/framework/shared_counter.h >+include/tensorflow/tsl/framework/tracking_allocator.h >+include/tensorflow/tsl/framework/type_traits.h >+include/tensorflow/tsl/lib/core/bitmap.h >+include/tensorflow/tsl/lib/core/bits.h >+include/tensorflow/tsl/lib/core/status_test_util.h >+include/tensorflow/tsl/lib/gtl/compactptrset.h >+include/tensorflow/tsl/lib/gtl/flatmap.h >+include/tensorflow/tsl/lib/gtl/flatrep.h >+include/tensorflow/tsl/lib/gtl/flatset.h >+include/tensorflow/tsl/lib/gtl/inlined_vector.h >+include/tensorflow/tsl/lib/gtl/int_type.h >+include/tensorflow/tsl/lib/gtl/iterator_range.h >+include/tensorflow/tsl/lib/gtl/map_util.h >+include/tensorflow/tsl/lib/gtl/subtle/map_traits.h >+include/tensorflow/tsl/lib/hash/crc32c.h >+include/tensorflow/tsl/lib/histogram/histogram.h >+include/tensorflow/tsl/lib/io/block.h >+include/tensorflow/tsl/lib/io/block_builder.h >+include/tensorflow/tsl/lib/io/buffered_inputstream.h >+include/tensorflow/tsl/lib/io/cache.h >+include/tensorflow/tsl/lib/io/compression.h >+include/tensorflow/tsl/lib/io/format.h >+include/tensorflow/tsl/lib/io/inputbuffer.h >+include/tensorflow/tsl/lib/io/inputstream_interface.h >+include/tensorflow/tsl/lib/io/iterator.h >+include/tensorflow/tsl/lib/io/proto_encode_helper.h >+include/tensorflow/tsl/lib/io/random_inputstream.h >+include/tensorflow/tsl/lib/io/record_reader.h >+include/tensorflow/tsl/lib/io/record_writer.h >+include/tensorflow/tsl/lib/io/snappy/snappy_compression_options.h >+include/tensorflow/tsl/lib/io/snappy/snappy_inputbuffer.h >+include/tensorflow/tsl/lib/io/snappy/snappy_inputstream.h >+include/tensorflow/tsl/lib/io/snappy/snappy_outputbuffer.h >+include/tensorflow/tsl/lib/io/table.h >+include/tensorflow/tsl/lib/io/table_builder.h >+include/tensorflow/tsl/lib/io/table_options.h >+include/tensorflow/tsl/lib/io/two_level_iterator.h >+include/tensorflow/tsl/lib/io/zlib_compression_options.h >+include/tensorflow/tsl/lib/io/zlib_inputstream.h >+include/tensorflow/tsl/lib/io/zlib_outputbuffer.h >+include/tensorflow/tsl/lib/math/math_util.h >+include/tensorflow/tsl/lib/monitoring/cell_reader.h >+include/tensorflow/tsl/lib/monitoring/collected_metrics.h >+include/tensorflow/tsl/lib/monitoring/collection_registry.h >+include/tensorflow/tsl/lib/monitoring/counter.h >+include/tensorflow/tsl/lib/monitoring/gauge.h >+include/tensorflow/tsl/lib/monitoring/metric_def.h >+include/tensorflow/tsl/lib/monitoring/percentile_sampler.h >+include/tensorflow/tsl/lib/monitoring/sampler.h >+include/tensorflow/tsl/lib/monitoring/test_utils.h >+include/tensorflow/tsl/lib/monitoring/timed.h >+include/tensorflow/tsl/lib/monitoring/types.h >+include/tensorflow/tsl/lib/random/distribution_sampler.h >+include/tensorflow/tsl/lib/random/exact_uniform_int.h >+include/tensorflow/tsl/lib/random/philox_random.h >+include/tensorflow/tsl/lib/random/philox_random_test_utils.h >+include/tensorflow/tsl/lib/random/random_distributions.h >+include/tensorflow/tsl/lib/random/random_distributions_utils.h >+include/tensorflow/tsl/lib/random/simple_philox.h >+include/tensorflow/tsl/lib/random/weighted_picker.h >+include/tensorflow/tsl/lib/strings/proto_serialization.h >+include/tensorflow/tsl/platform/abi.h >+include/tensorflow/tsl/platform/base64.h >+include/tensorflow/tsl/platform/bfloat16.h >+include/tensorflow/tsl/platform/blocking_counter.h >+include/tensorflow/tsl/platform/byte_order.h >+include/tensorflow/tsl/platform/casts.h >+include/tensorflow/tsl/platform/cloud/auth_provider.h >+include/tensorflow/tsl/platform/cloud/compute_engine_metadata_client.h >+include/tensorflow/tsl/platform/cloud/compute_engine_zone_provider.h >+include/tensorflow/tsl/platform/cloud/curl_http_request.h >+include/tensorflow/tsl/platform/cloud/expiring_lru_cache.h >+include/tensorflow/tsl/platform/cloud/file_block_cache.h >+include/tensorflow/tsl/platform/cloud/gcs_dns_cache.h >+include/tensorflow/tsl/platform/cloud/gcs_file_system.h >+include/tensorflow/tsl/platform/cloud/gcs_throttle.h >+include/tensorflow/tsl/platform/cloud/google_auth_provider.h >+include/tensorflow/tsl/platform/cloud/http_request.h >+include/tensorflow/tsl/platform/cloud/oauth_client.h >+include/tensorflow/tsl/platform/cloud/ram_file_block_cache.h >+include/tensorflow/tsl/platform/cloud/time_util.h >+include/tensorflow/tsl/platform/cloud/zone_provider.h >+include/tensorflow/tsl/platform/coding.h >+include/tensorflow/tsl/platform/context.h >+include/tensorflow/tsl/platform/cord.h >+include/tensorflow/tsl/platform/cpu_info.h >+include/tensorflow/tsl/platform/crash_analysis.h >+include/tensorflow/tsl/platform/ctstring.h >+include/tensorflow/tsl/platform/ctstring_internal.h >+include/tensorflow/tsl/platform/cuda_libdevice_path.h >+include/tensorflow/tsl/platform/default/casts.h >+include/tensorflow/tsl/platform/default/context.h >+include/tensorflow/tsl/platform/default/cord.h >+include/tensorflow/tsl/platform/default/dso_loader.h >+include/tensorflow/tsl/platform/default/dynamic_annotations.h >+include/tensorflow/tsl/platform/default/integral_types.h >+include/tensorflow/tsl/platform/default/logging.h >+include/tensorflow/tsl/platform/default/mutex.h >+include/tensorflow/tsl/platform/default/mutex_data.h >+include/tensorflow/tsl/platform/default/notification.h >+include/tensorflow/tsl/platform/default/posix_file_system.h >+include/tensorflow/tsl/platform/default/stacktrace.h >+include/tensorflow/tsl/platform/default/status.h >+include/tensorflow/tsl/platform/default/subprocess.h >+include/tensorflow/tsl/platform/default/tracing_impl.h >+include/tensorflow/tsl/platform/default/unbounded_work_queue.h >+include/tensorflow/tsl/platform/demangle.h >+include/tensorflow/tsl/platform/denormal.h >+include/tensorflow/tsl/platform/dso_loader.h >+include/tensorflow/tsl/platform/dynamic_annotations.h >+include/tensorflow/tsl/platform/env.h >+include/tensorflow/tsl/platform/env_time.h >+include/tensorflow/tsl/platform/errors.h >+include/tensorflow/tsl/platform/file_statistics.h >+include/tensorflow/tsl/platform/file_system.h >+include/tensorflow/tsl/platform/file_system_helper.h >+include/tensorflow/tsl/platform/fingerprint.h >+include/tensorflow/tsl/platform/float8.h >+include/tensorflow/tsl/platform/hash.h >+include/tensorflow/tsl/platform/host_info.h >+include/tensorflow/tsl/platform/human_readable_json.h >+include/tensorflow/tsl/platform/init_main.h >+include/tensorflow/tsl/platform/intrusive_ptr.h >+include/tensorflow/tsl/platform/load_library.h >+include/tensorflow/tsl/platform/logger.h >+include/tensorflow/tsl/platform/logging.h >+include/tensorflow/tsl/platform/macros.h >+include/tensorflow/tsl/platform/mem.h >+include/tensorflow/tsl/platform/mutex.h >+include/tensorflow/tsl/platform/net.h >+include/tensorflow/tsl/platform/notification.h >+include/tensorflow/tsl/platform/null_file_system.h >+include/tensorflow/tsl/platform/numa.h >+include/tensorflow/tsl/platform/numbers.h >+include/tensorflow/tsl/platform/path.h >+include/tensorflow/tsl/platform/platform.h >+include/tensorflow/tsl/platform/platform_strings_computed.h >+include/tensorflow/tsl/platform/prefetch.h >+include/tensorflow/tsl/platform/profile_utils/android_armv7a_cpu_utils_helper.h >+include/tensorflow/tsl/platform/profile_utils/clock_cycle_profiler.h >+include/tensorflow/tsl/platform/profile_utils/cpu_utils.h >+include/tensorflow/tsl/platform/profile_utils/i_cpu_utils_helper.h >+include/tensorflow/tsl/platform/protobuf.h >+include/tensorflow/tsl/platform/protobuf_compiler.h >+include/tensorflow/tsl/platform/ram_file_system.h >+include/tensorflow/tsl/platform/random.h >+include/tensorflow/tsl/platform/raw_coding.h >+include/tensorflow/tsl/platform/refcount.h >+include/tensorflow/tsl/platform/regexp.h >+include/tensorflow/tsl/platform/resource.h >+include/tensorflow/tsl/platform/resource_loader.h >+include/tensorflow/tsl/platform/retrying_file_system.h >+include/tensorflow/tsl/platform/retrying_utils.h >+include/tensorflow/tsl/platform/rocm_rocdl_path.h >+include/tensorflow/tsl/platform/scanner.h >+include/tensorflow/tsl/platform/setround.h >+include/tensorflow/tsl/platform/snappy.h >+include/tensorflow/tsl/platform/stack_frame.h >+include/tensorflow/tsl/platform/stacktrace.h >+include/tensorflow/tsl/platform/stacktrace_handler.h >+include/tensorflow/tsl/platform/static_threadlocal.h >+include/tensorflow/tsl/platform/status.h >+include/tensorflow/tsl/platform/status_matchers.h >+include/tensorflow/tsl/platform/status_to_from_proto.h >+include/tensorflow/tsl/platform/statusor.h >+include/tensorflow/tsl/platform/statusor_internals.h >+include/tensorflow/tsl/platform/str_util.h >+include/tensorflow/tsl/platform/strcat.h >+include/tensorflow/tsl/platform/stringpiece.h >+include/tensorflow/tsl/platform/stringprintf.h >+include/tensorflow/tsl/platform/subprocess.h >+include/tensorflow/tsl/platform/tensor_float_32_utils.h >+include/tensorflow/tsl/platform/test.h >+include/tensorflow/tsl/platform/test_benchmark.h >+include/tensorflow/tsl/platform/thread_annotations.h >+include/tensorflow/tsl/platform/threadpool.h >+include/tensorflow/tsl/platform/threadpool_interface.h >+include/tensorflow/tsl/platform/threadpool_options.h >+include/tensorflow/tsl/platform/tracing.h >+include/tensorflow/tsl/platform/tstring.h >+include/tensorflow/tsl/platform/types.h >+include/tensorflow/tsl/platform/unbounded_work_queue.h >+include/tensorflow/tsl/profiler/backends/cpu/traceme_recorder.h >+include/tensorflow/tsl/profiler/lib/traceme.h >+include/tensorflow/tsl/profiler/lib/traceme_encode.h >+include/tensorflow/tsl/profiler/protobuf/profiler_options.pb.h >+include/tensorflow/tsl/profiler/protobuf/xplane.pb.h >+include/tensorflow/tsl/profiler/utils/math_utils.h >+include/tensorflow/tsl/profiler/utils/time_utils.h >+include/tensorflow/tsl/protobuf/autotuning.pb.h >+include/tensorflow/tsl/protobuf/bfc_memory_map.pb.h >+include/tensorflow/tsl/protobuf/coordination_config.pb.h >+include/tensorflow/tsl/protobuf/distributed_runtime_payloads.pb.h >+include/tensorflow/tsl/protobuf/dnn.pb.h >+include/tensorflow/tsl/protobuf/error_codes.pb.h >+include/tensorflow/tsl/protobuf/histogram.pb.h >+include/tensorflow/tsl/protobuf/rpc_options.pb.h >+include/tensorflow/tsl/protobuf/status.pb.h >+include/tensorflow/tsl/protobuf/test_log.pb.h >+include/tensorflow/tsl/util/byte_swap_array.h >+include/tensorflow/tsl/util/command_line_flags.h >+include/tensorflow/tsl/util/determinism.h >+include/tensorflow/tsl/util/device_name_utils.h >+include/tensorflow/tsl/util/env_var.h >+include/tensorflow/tsl/util/stat_summarizer_options.h >+include/tensorflow/tsl/util/stats_calculator.h >+include/tensorflow/tsl/util/use_cudnn.h > lib/libtensorflow.so > lib/libtensorflow.so.2 > lib/libtensorflow.so.%%TF_PORT_VERSION%% >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280234
:
251988
|
251990
|
252159
|
253911
|
255253