View | Details | Raw Unified | Return to bug 280234 | Differences between
and this patch

Collapse All | Expand All

(-)b/science/py-tensorflow/Makefile (-59 / +29 lines)
Lines 1-12 Link Here
1
PORTNAME=	tensorflow
1
PORTNAME=	tensorflow
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	2.9.1
3
DISTVERSION=	2.13.1
4
PORTREVISION=	14
5
CATEGORIES=	science python
4
CATEGORIES=	science python
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
DIST_SUBDIR=	${PORTNAME}
6
DIST_SUBDIR=	${PORTNAME}
8
EXTRACT_ONLY=	${DISTNAME}.tar.gz
7
EXTRACT_ONLY=	${DISTNAME}.tar.gz
9
8
9
PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
10
PATCHFILES=	ba7501696cc.patch:-p1 667cf3ed2d7.patch:-p1
11
10
MAINTAINER=	amzo1337@gmail.com
12
MAINTAINER=	amzo1337@gmail.com
11
COMMENT=	Computation using data flow graphs for scalable machine learning
13
COMMENT=	Computation using data flow graphs for scalable machine learning
12
WWW=		https://www.tensorflow.org
14
WWW=		https://www.tensorflow.org
Lines 14-71 WWW= https://www.tensorflow.org Link Here
14
LICENSE=	APACHE20
16
LICENSE=	APACHE20
15
LICENSE_FILE=	${WRKSRC}/LICENSE
17
LICENSE_FILE=	${WRKSRC}/LICENSE
16
18
17
BROKEN=	variable has incomplete type 'StateSaver'
18
ONLY_FOR_ARCHS=	amd64
19
ONLY_FOR_ARCHS=	amd64
19
20
20
BUILD_DEPENDS=	${RUN_DEPENDS} \
21
BUILD_DEPENDS=	${RUN_DEPENDS} \
21
		${PYTHON_PKGNAMEPREFIX}grpcio-tools>=1.22.0:devel/py-grpcio-tools@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}grpcio-tools>=1.22.0:devel/py-grpcio-tools@${PY_FLAVOR} \
22
		bash:shells/bash \
23
		bash:shells/bash \
23
		cython:lang/cython \
24
		swig:devel/swig \
25
		bazel:devel/bazel5 \
24
		bazel:devel/bazel5 \
26
		git:devel/git
25
		cython:lang/cython \
26
		git:devel/git \
27
		patchelf:sysutils/patchelf \
28
		swig:devel/swig
27
LIB_DEPENDS=	libnsync.so:devel/nsync \
29
LIB_DEPENDS=	libnsync.so:devel/nsync \
28
		libgpr.so:devel/grpc \
30
		libgpr.so:devel/grpc \
29
		libpng.so:graphics/png \
31
		libpng.so:graphics/png \
30
		libsnappy.so:archivers/snappy \
32
		libsnappy.so:archivers/snappy \
31
		liblmdb.so:databases/lmdb \
33
		libabsl_base.so:devel/abseil \
32
		libsqlite3.so:databases/sqlite3 \
34
		libsqlite3.so:databases/sqlite3 \
33
		libicuio.so:devel/icu \
35
		libicuio.so:devel/icu \
34
		libjsoncpp.so:devel/jsoncpp \
36
		libjsoncpp.so:devel/jsoncpp \
35
		libpcre.so:devel/pcre \
36
		libnsync.so:devel/nsync \
37
		libprotobuf.so:devel/protobuf \
37
		libprotobuf.so:devel/protobuf \
38
		libprotobuf-c.so:devel/protobuf-c \
39
		libre2.so:devel/re2 \
40
		libgif.so:graphics/giflib \
38
		libgif.so:graphics/giflib \
41
		libcurl.so:ftp/curl \
39
		libcurl.so:ftp/curl \
42
		libflatbuffers.so:devel/flatbuffers \
43
		libdouble-conversion.so:devel/double-conversion
40
		libdouble-conversion.so:devel/double-conversion
44
RUN_DEPENDS=	pybind11>=2.6.2:devel/pybind11 \
41
RUN_DEPENDS=	pybind11>=2.6.2:devel/pybind11 \
45
		${PYTHON_PKGNAMEPREFIX}absl-py>=1.0.0:devel/py-absl-py \
42
		${PYTHON_PKGNAMEPREFIX}absl-py>=1.0.0:devel/py-absl-py@${PY_FLAVOR} \
46
		${PYTHON_PKGNAMEPREFIX}astunparse>=1.6.3:devel/py-astunparse@${PY_FLAVOR} \
43
		${PYTHON_PKGNAMEPREFIX}astunparse>=1.6.0:devel/py-astunparse@${PY_FLAVOR} \
47
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} \
44
		${PYTHON_PKGNAMEPREFIX}flatbuffers>=23.1.21:devel/py-flatbuffers@${PY_FLAVOR} \
45
		${PYTHON_PKGNAMEPREFIX}gast>=0.2.1:devel/py-gast@${PY_FLAVOR} \
46
		${PYTHON_PKGNAMEPREFIX}google-pasta>=0.1.1:devel/py-google-pasta@${PY_FLAVOR} \
48
		${PYTHON_PKGNAMEPREFIX}h5py>=2.9.0:science/py-h5py@${PY_FLAVOR} \
47
		${PYTHON_PKGNAMEPREFIX}h5py>=2.9.0:science/py-h5py@${PY_FLAVOR} \
49
		${PYTHON_PKGNAMEPREFIX}flatbuffers>=2.0:devel/py-flatbuffers@${PY_FLAVOR} \
48
		${PYTHON_PKGNAMEPREFIX}numpy>=1.22.0:math/py-numpy@${PY_FLAVOR} \
50
		${PYTHON_PKGNAMEPREFIX}gast>=0.5.3:devel/py-gast@${PY_FLAVOR} \
49
		${PYTHON_PKGNAMEPREFIX}opt-einsum>=2.3.2:math/py-opt-einsum@${PY_FLAVOR} \
51
		${PYTHON_PKGNAMEPREFIX}numpy>=1.20.0:math/py-numpy@${PY_FLAVOR} \
52
		${PYTHON_PKGNAMEPREFIX}google-pasta>=0.1.7:devel/py-google-pasta@${PY_FLAVOR} \
53
		${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.1:devel/py-protobuf@${PY_FLAVOR} \
54
		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
55
		${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \
56
		${PYTHON_PKGNAMEPREFIX}grpcio>=1.22.0:devel/py-grpcio@${PY_FLAVOR} \
57
		${PYTHON_PKGNAMEPREFIX}keras-preprocessing>=1.1.1:math/py-keras-preprocessing@${PY_FLAVOR} \
58
		${PYTHON_PKGNAMEPREFIX}wrapt>=1.14.1:devel/py-wrapt@${PY_FLAVOR} \
59
		${PYTHON_PKGNAMEPREFIX}wheel>=0.30.0:devel/py-wheel@${PY_FLAVOR} \
60
		${PYTHON_PKGNAMEPREFIX}opt-einsum>=3.3.0:math/py-opt-einsum@${PY_FLAVOR} \
61
		${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
50
		${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
62
		pybind11>=2.6.2:devel/pybind11
51
		${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \
52
		${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.3:devel/py-protobuf@${PY_FLAVOR} \
53
		${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \
54
		${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \
55
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.6:devel/py-typing-extensions@${PY_FLAVOR} \
56
		${PYTHON_PKGNAMEPREFIX}wrapt>=1.11.0:devel/py-wrapt@${PY_FLAVOR} \
57
		${PYTHON_PKGNAMEPREFIX}grpcio>=1.24.3:devel/py-grpcio@${PY_FLAVOR}
63
58
64
USES=		jpeg llvm:16 python shebangfix ssl
59
USES=		jpeg llvm:16 python shebangfix ssl
65
USE_CXXSTD=     c++17
60
USE_CXXSTD=	c++17
66
USE_GITHUB=	yes
61
USE_GITHUB=	yes
62
USE_LDCONFIG=	yes
67
USE_PYTHON=	distutils
63
USE_PYTHON=	distutils
68
64
65
BINARY_ALIAS=	python3=${PYTHON_CMD}
69
SHEBANG_GLOB=	*.py
66
SHEBANG_GLOB=	*.py
70
67
71
BAZEL_BOOT=	--output_user_root=${WRKDIR}/bazel_out
68
BAZEL_BOOT=	--output_user_root=${WRKDIR}/bazel_out
Lines 99-107 post-patch: Link Here
99
	# Set up a local repository with our pre-downloaded packages
96
	# Set up a local repository with our pre-downloaded packages
100
	# This prevents bazel downloading the files without modifying
97
	# This prevents bazel downloading the files without modifying
101
	# the bzl files.
98
	# the bzl files.
102
	@${MKDIR} ${WRKDIR}/bazel-cache
103
	@${MKDIR} ${WRKDIR}/bazel-dist
99
	@${MKDIR} ${WRKDIR}/bazel-dist
104
	@${MKDIR} ${WRKDIR}/.bin
105
100
106
.for file in ${DISTFILES:C/\:(.*)//}
101
.for file in ${DISTFILES:C/\:(.*)//}
107
	@${ECHO} "Moving ${file} to ${WRKDIR}/bazel-dist"
102
	@${ECHO} "Moving ${file} to ${WRKDIR}/bazel-dist"
Lines 112-135 post-patch: Link Here
112
	@${CP} -R ${PATCHDIR}/bazel/* \
107
	@${CP} -R ${PATCHDIR}/bazel/* \
113
		${WRKSRC}/third_party/
108
		${WRKSRC}/third_party/
114
109
115
	@${LN} -s ${PYTHON_CMD} ${WRKDIR}/.bin/python3
116
117
	@cd ${WRKSRC} && \
118
		${REINPLACE_CMD} "s#--batch#${BAZEL_BOOT}\', \'--batch#" \
119
		configure.py
120
121
	${REINPLACE_CMD} "s#%%PYTHON%%#${PYTHON_VERSION}#" ${WRKSRC}/configure \
122
		${WRKSRC}/third_party/freebsd_python_fix.patch \
123
		${WRKSRC}/tensorflow/compiler/mlir/quantization/tensorflow/BUILD
124
125
	@${REINPLACE_CMD} "s#%%BAZEL_DIR%%#${WRKDIR}#" ${WRKDIR}/bazelrc
110
	@${REINPLACE_CMD} "s#%%BAZEL_DIR%%#${WRKDIR}#" ${WRKDIR}/bazelrc
126
	@${REINPLACE_CMD} "s#%%BAZEL_DIST%%#${WRKDIR}#" ${WRKDIR}/bazelrc
111
	@${REINPLACE_CMD} "s#%%BAZEL_DIST%%#${WRKDIR}#" ${WRKDIR}/bazelrc
127
	@${REINPLACE_CMD} "s#%%MLIR_LLVM_PATCH%%#/${WRKSRC}/bazel/bazel_llvm-raw_utils_bazel_configure.bzl#" \
128
		${WRKSRC}/tensorflow/compiler/mlir/hlo/WORKSPACE
129
130
	# use system pybind11, but use sed to fix includes, too many to maintain with patches
131
	@${FIND} ${WRKSRC} -type f -name '*.cc' | ${XARGS} ${REINPLACE_CMD} "s#include\/pybind11#pybind11#"
132
133
112
134
	# copy the toolchain over
113
	# copy the toolchain over
135
	@${CP} -R ${PATCHDIR}/freebsd \
114
	@${CP} -R ${PATCHDIR}/freebsd \
Lines 137-157 post-patch: Link Here
137
116
138
	@${REINPLACE_CMD} "s#%%PATH%%#${PATH}#" ${WRKDIR}/bazelrc
117
	@${REINPLACE_CMD} "s#%%PATH%%#${PATH}#" ${WRKDIR}/bazelrc
139
118
140
	@${REINPLACE_CMD} "s#%%PYTHON%%#${PYTHON_CMD}#" ${WRKSRC}/.bazelrc
141
142
	@${REINPLACE_CMD} \
119
	@${REINPLACE_CMD} \
143
		-e "s#%%LOCALBASE%%#${LOCALBASE}#" \
120
		-e "s#%%LOCALBASE%%#${LOCALBASE}#" \
144
		-e "s#%%LLVM_PREFIX%%#${LLVM_PREFIX}#g" \
121
		-e "s#%%LLVM_PREFIX%%#${LLVM_PREFIX}#g" \
145
		-e "s#%%LLVM_VERSION%%#${LLVM_VERSION}#g" \
122
		-e "s#%%LLVM_VERSION%%#${LLVM_VERSION}#g" \
146
		${WRKDIR}/bazelrc \
123
		${WRKDIR}/bazelrc \
147
		${WRKSRC}/third_party/absl/system.absl.strings.BUILD \
148
		${WRKSRC}/freebsd/cc_toolchain_config.bzl \
124
		${WRKSRC}/freebsd/cc_toolchain_config.bzl \
149
		${WRKSRC}/.bazelrc \
125
		${WRKSRC}/.bazelrc
150
		${WRKSRC}/tensorflow/tools/proto_text/BUILD \
151
		${WRKSRC}/tensorflow/BUILD \
152
		${WRKSRC}/tensorflow/core/BUILD \
153
		${WRKSRC}/third_party/systemlibs/protobuf.BUILD
154
155
126
156
do-configure:
127
do-configure:
157
	@cd ${WRKSRC} && ${SETENV} \
128
	@cd ${WRKSRC} && ${SETENV} \
Lines 175-181 do-configure: Link Here
175
		PREFIX="${LOCALBASE}" \
146
		PREFIX="${LOCALBASE}" \
176
		TF_SYSTEM_LIBS="absl_py astor_archive astunparse_archive boringssl com_github_googlecloudplatform_google_cloud_cpp com_github_grpc_grpc \
147
		TF_SYSTEM_LIBS="absl_py astor_archive astunparse_archive boringssl com_github_googlecloudplatform_google_cloud_cpp com_github_grpc_grpc \
177
				com_google_absl com_google_protobuf curl cython dill_archive double_conversion functools32_archive gast_archive \
148
				com_google_absl com_google_protobuf curl cython dill_archive double_conversion functools32_archive gast_archive \
178
				gif hwloc icu jsoncpp_git libjpeg_turbo lmdb nasm nsync opt_einsum_archive org_sqlite pasta png pybind11 six_archive snappy \
149
				gif hwloc icu jsoncpp_git libjpeg_turbo nasm nsync opt_einsum_archive org_sqlite pasta png pybind11 six_archive snappy \
179
				tblib_archive termcolor_archive typing_extensions_archive wrapt zlib" \
150
				tblib_archive termcolor_archive typing_extensions_archive wrapt zlib" \
180
		./configure
151
		./configure
181
152
Lines 191-197 do-build: Link Here
191
		//tensorflow:install_headers \
162
		//tensorflow:install_headers \
192
		//tensorflow/tools/pip_package:build_pip_package
163
		//tensorflow/tools/pip_package:build_pip_package
193
164
194
195
	@cd ${WRKSRC} && ${SETENV} TMPDIR=${WRKDIR} \
165
	@cd ${WRKSRC} && ${SETENV} TMPDIR=${WRKDIR} \
196
		bazel-bin/tensorflow/tools/pip_package/build_pip_package \
166
		bazel-bin/tensorflow/tools/pip_package/build_pip_package \
197
		${WRKDIR}/whl
167
		${WRKDIR}/whl
Lines 228-233 do-install: Link Here
228
198
229
post-install: # autoplist: thousands of files, all under ${PYTHON_SITELIBDIR}
199
post-install: # autoplist: thousands of files, all under ${PYTHON_SITELIBDIR}
230
	@cd ${STAGEDIR}${PREFIX} && \
200
	@cd ${STAGEDIR}${PREFIX} && \
231
		${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | grep -v "egg-info/" >> ${TMPPLIST}
201
		${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | ${GREP} -v "egg-info/" >> ${TMPPLIST}
232
202
233
.include <bsd.port.mk>
203
.include <bsd.port.mk>
(-)b/science/py-tensorflow/Makefile.MASTER_SITES (-34 / +44 lines)
Lines 1-56 Link Here
1
DISTFILES+=	platforms-0.0.2.tar.gz:platforms \
1
DISTFILES+=	platforms-0.0.6.tar.gz:platforms \
2
		apple_support.0.12.1.tar.gz:apple \
2
		apple_support.1.1.0.tar.gz:apple \
3
		bazel-skylib-1.0.3.tar.gz:skylib \
3
		bazel-skylib-1.3.0.tar.gz:skylib \
4
		dfc67056200b674accd08d8f9a21e328098c07e2.tar.gz:toolchain \
4
		8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz:toolchain \
5
		v0.1.1.zip:buildrules \
5
		v0.1.1.zip:buildrules \
6
		rules_apple.0.33.0.tar.gz:applerules \
6
		rules_apple.1.0.1.tar.gz:applerules \
7
		081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz:rulescc \
7
		081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz:rulescc \
8
		308b05b2419edb5c8ee0471b67a40403df940149.tar.gz:closure \
8
		308b05b2419edb5c8ee0471b67a40403df940149.tar.gz:closure \
9
		rules_docker-v0.10.0.tar.gz:docker \
9
		0.7.1.tar.gz:rulesforeigncc \
10
		7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip:java \
10
		7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip:java \
11
		rules_pkg-0.2.5.tar.gz:pkg \
11
		4.3.zip:jvm \
12
		rules_pkg-0.7.1.tar.gz:pkg \
12
		11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz:protolib \
13
		11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz:protolib \
13
		rules_python-0.0.1.tar.gz:pythonrules \
14
		rules_python-0.0.1.tar.gz:pythonrules \
14
		rules_swift.0.25.0.tar.gz:swift \
15
		rules_swift.1.0.0.tar.gz:swift \
15
		790d7a083520398268d92d0bd61cf85dfa32ee98.tar.gz:dlpack \
16
		9351cf542ab478499294864ff3acfdab5c8c5f3d.tar.gz:dlpack \
17
		f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz:benchmark \
16
		0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz:farmhash \
18
		0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz:farmhash \
17
		e844ffd17118c1e17d94e1ba4354c075a4577b88.zip:gemmlowp \
19
		e844ffd17118c1e17d94e1ba4354c075a4577b88.zip:gemmlowp \
18
		fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz:highwayhash \
20
		c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz:highwayhash \
19
		506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz:re2 \
21
		a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz:re2 \
20
		e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip:ruy \
22
		3286a34cc8de6149ac6844107dfdffac91531e72.zip:ruy \
21
		835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz:sobol \
23
		835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz:sobol \
22
		openmp-10.0.1.src.tar.xz:llvmorg \
24
		openmp-10.0.1.src.tar.xz:llvmorg \
23
		36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz:kiss \
25
		131.1.0.tar.gz:kiss \
24
		v2.6.tar.gz:onednn \
26
		v2.7.3.tar.gz:onednn \
27
		43d81c6883ade82052920bd367c61f9e52f09954.zip:openxla \
25
		v1.0.tar.gz:ooura \
28
		v1.0.tar.gz:ooura \
26
		5916273f79a21551890fd3d56fc5375a78d1598d.zip:cpuinfo \
29
		2c4932ed6f6204f1656e245838f4f5eae69d2e29.tar.gz:pybindabseil \
27
		d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz:cpuinfo2 \
30
		72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz:pybindbazel \
28
		093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz:runtime \
31
		80f3440cd8fee124e077e2e47a8a17b78b451363.zip:pybindprotobuf \
29
		eigen-008ff3483a8c5604639e1c4d204eae30ad737af6.tar.gz:eigen \
32
		3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip:cpuinfo \
30
		11b2812d64e49bab9b6c489f79067fc94e69db9f.zip:xnnpack \
33
		7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz:runtime \
34
		eigen-b0f877f8e01e90a5b0f3a79d46ea234899f8b499.tar.gz:eigen \
35
		b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip:xnnpack \
31
		b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip:pthread \
36
		b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip:pthread \
32
		4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip:fp16 \
37
		4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip:fp16 \
33
		63058eff77e11aa15bf531df5dd34395ec3017c8.zip:fxdiv \
38
		63058eff77e11aa15bf531df5dd34395ec3017c8.zip:fxdiv \
34
		1cb299165c859533e22f2ed05eb2abd5071544df.tar.gz:llvm \
39
		dc275fd03254d67d29cc70a5a0569acf24d2280d.tar.gz:llvm \
35
		541b1ded4abadcc38e8178680b0677f65594ea6f.zip:apis \
40
		6b3fdcea8bc5398be4e7e9930c693f0ea09316a0.tar.gz:apis \
36
		v1.12.0.tar.gz:flatbuffer \
41
		v23.1.21.tar.gz:flatbuffer \
37
		1200fe90bb174a6224a525ee60148671a786a71f.tar.gz:neon
42
		a15b489e1222b2087007546b4912e21293ea86ff.tar.gz:neon
38
43
39
MASTER_SITES+=	https://github.com/bazelbuild/platforms/releases/download/0.0.2/:platforms \
44
MASTER_SITES+=	https://github.com/bazelbuild/platforms/releases/download/0.0.6/:platforms \
40
		https://github.com/bazelbuild/apple_support/releases/download/0.12.1/:apple \
45
		https://github.com/bazelbuild/apple_support/releases/download/1.1.0/:apple \
41
		https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/:skylib \
46
		https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/:skylib \
42
		https://github.com/bazelbuild/bazel-toolchains/archive/:toolchain \
47
		https://github.com/bazelbuild/bazel-toolchains/archive/:toolchain \
43
		https://github.com/bazelbuild/rules_android/archive/:buildrules \
48
		https://github.com/bazelbuild/rules_android/archive/:buildrules \
44
		https://github.com/bazelbuild/rules_apple/releases/download/0.33.0/:applerules \
49
		https://github.com/bazelbuild/rules_apple/releases/download/1.0.1/:applerules \
45
		https://github.com/bazelbuild/rules_cc/archive/:rulescc \
50
		https://github.com/bazelbuild/rules_cc/archive/:rulescc \
46
		https://github.com/bazelbuild/rules_closure/archive/:closure \
51
		https://github.com/bazelbuild/rules_closure/archive/:closure \
47
		https://github.com/bazelbuild/rules_docker/releases/download/v0.10.0/:docker \
52
		https://github.com/bazelbuild/rules_foreign_cc/archive/:rulesforeigncc \
48
		https://github.com/bazelbuild/rules_java/archive/:java \
53
		https://github.com/bazelbuild/rules_java/archive/:java \
49
		https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/:pkg \
54
		https://github.com/bazelbuild/rules_jvm_external/archive/:jvm \
55
		https://github.com/bazelbuild/rules_pkg/releases/download/0.7.1/:pkg \
50
		https://github.com/bazelbuild/rules_proto/archive/:protolib \
56
		https://github.com/bazelbuild/rules_proto/archive/:protolib \
51
		https://github.com/bazelbuild/rules_python/releases/download/0.0.1/:pythonrules \
57
		https://github.com/bazelbuild/rules_python/releases/download/0.0.1/:pythonrules \
52
		https://github.com/bazelbuild/rules_swift/releases/download/0.25.0/:swift \
58
		https://github.com/bazelbuild/rules_swift/releases/download/1.0.0/:swift \
53
		https://github.com/dmlc/dlpack/archive/:dlpack \
59
		https://github.com/dmlc/dlpack/archive/:dlpack \
60
		https://github.com/google/benchmark/archive/:benchmark \
54
		https://github.com/google/farmhash/archive/:farmhash \
61
		https://github.com/google/farmhash/archive/:farmhash \
55
		https://github.com/google/gemmlowp/archive/:gemmlowp \
62
		https://github.com/google/gemmlowp/archive/:gemmlowp \
56
		https://github.com/google/highwayhash/archive/:highwayhash \
63
		https://github.com/google/highwayhash/archive/:highwayhash \
Lines 58-75 MASTER_SITES+= https://github.com/bazelbuild/platforms/releases/download/0.0.2/: Link Here
58
		https://github.com/google/ruy/archive/:ruy \
65
		https://github.com/google/ruy/archive/:ruy \
59
		https://github.com/joe-kuo/sobol_data/archive/:sobol \
66
		https://github.com/joe-kuo/sobol_data/archive/:sobol \
60
		https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/:llvmorg \
67
		https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/:llvmorg \
61
		https://github.com/mborgerding/kissfft/archive/:kiss \
68
		https://github.com/mborgerding/kissfft/archive/refs/tags/:kiss \
62
		https://github.com/oneapi-src/oneDNN/archive/refs/tags/:onednn \
69
		https://github.com/oneapi-src/oneDNN/archive/refs/tags/:onednn \
70
		https://github.com/openxla/stablehlo/archive/:openxla \
63
		https://github.com/petewarden/OouraFFT/archive/:ooura \
71
		https://github.com/petewarden/OouraFFT/archive/:ooura \
72
		https://github.com/pybind/pybind11_abseil/archive/:pybindabseil \
73
		https://github.com/pybind/pybind11_bazel/archive/:pybindbazel \
74
		https://github.com/pybind/pybind11_protobuf/archive/:pybindprotobuf \
64
		https://github.com/pytorch/cpuinfo/archive/:cpuinfo \
75
		https://github.com/pytorch/cpuinfo/archive/:cpuinfo \
65
		https://github.com/pytorch/cpuinfo/archive/:cpuinfo2 \
66
		https://github.com/tensorflow/runtime/archive/:runtime \
76
		https://github.com/tensorflow/runtime/archive/:runtime \
67
		https://gitlab.com/libeigen/eigen/-/archive/008ff3483a8c5604639e1c4d204eae30ad737af6/:eigen \
77
		https://gitlab.com/libeigen/eigen/-/archive/b0f877f8e01e90a5b0f3a79d46ea234899f8b499/:eigen \
68
		https://github.com/google/XNNPACK/archive/:xnnpack \
78
		https://github.com/google/XNNPACK/archive/:xnnpack \
69
		https://github.com/Maratyszcza/pthreadpool/archive/:pthread \
79
		https://github.com/Maratyszcza/pthreadpool/archive/:pthread \
70
		https://github.com/Maratyszcza/FP16/archive/:fp16 \
80
		https://github.com/Maratyszcza/FP16/archive/:fp16 \
71
		https://github.com/Maratyszcza/FXdiv/archive/:fxdiv \
81
		https://github.com/Maratyszcza/FXdiv/archive/:fxdiv \
72
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/:llvm \
82
		https://github.com/llvm/llvm-project/archive/:llvm \
73
		https://github.com/googleapis/googleapis/archive/:apis \
83
		https://github.com/googleapis/googleapis/archive/:apis \
74
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/:flatbuffer \
84
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/:flatbuffer \
75
		https://github.com/intel/ARM_NEON_2_x86_SSE/archive/:neon
85
		https://github.com/intel/ARM_NEON_2_x86_SSE/archive/:neon
(-)b/science/py-tensorflow/distinfo (-49 / +63 lines)
Lines 1-77 Link Here
1
TIMESTAMP = 1662651809
1
TIMESTAMP = 1720544054
2
SHA256 (tensorflow/platforms-0.0.2.tar.gz) = 48a2d8d343863989c232843e01afc8a986eb8738766bfd8611420a7db8f6f0c3
2
SHA256 (tensorflow/platforms-0.0.6.tar.gz) = 5308fc1d8865406a49427ba24a9ab53087f17f5266a7aabbfc28823f3916e1ca
3
SIZE (tensorflow/platforms-0.0.2.tar.gz) = 5278
3
SIZE (tensorflow/platforms-0.0.6.tar.gz) = 5537
4
SHA256 (tensorflow/apple_support.0.12.1.tar.gz) = c604b75865c07f45828c7fffd5fdbff81415a9e84a68f71a9c1d8e3b2694e547
4
SHA256 (tensorflow/apple_support.1.1.0.tar.gz) = ce1042cf936540eaa7b49c4549d7cd9b6b1492acbb6e765840a67a34b8e17a97
5
SIZE (tensorflow/apple_support.0.12.1.tar.gz) = 26708
5
SIZE (tensorflow/apple_support.1.1.0.tar.gz) = 27105
6
SHA256 (tensorflow/bazel-skylib-1.0.3.tar.gz) = 1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c
6
SHA256 (tensorflow/bazel-skylib-1.3.0.tar.gz) = 74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506
7
SIZE (tensorflow/bazel-skylib-1.0.3.tar.gz) = 30711
7
SIZE (tensorflow/bazel-skylib-1.3.0.tar.gz) = 36103
8
SHA256 (tensorflow/dfc67056200b674accd08d8f9a21e328098c07e2.tar.gz) = 77c2c3c562907a1114afde7b358bf3d5cc23dc61b3f2fd619bf167af0c9582a3
8
SHA256 (tensorflow/8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz) = 294cdd859e57fcaf101d4301978c408c88683fbc46fbc1a3829da92afbea55fb
9
SIZE (tensorflow/dfc67056200b674accd08d8f9a21e328098c07e2.tar.gz) = 1056209
9
SIZE (tensorflow/8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz) = 80728
10
SHA256 (tensorflow/v0.1.1.zip) = cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806
10
SHA256 (tensorflow/v0.1.1.zip) = cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806
11
SIZE (tensorflow/v0.1.1.zip) = 14654
11
SIZE (tensorflow/v0.1.1.zip) = 14654
12
SHA256 (tensorflow/rules_apple.0.33.0.tar.gz) = a5f00fd89eff67291f6cd3efdc8fad30f4727e6ebb90718f3f05bbf3c3dd5ed7
12
SHA256 (tensorflow/rules_apple.1.0.1.tar.gz) = 36072d4f3614d309d6a703da0dfe48684ec4c65a89611aeb9590b45af7a3e592
13
SIZE (tensorflow/rules_apple.0.33.0.tar.gz) = 2168079
13
SIZE (tensorflow/rules_apple.1.0.1.tar.gz) = 2198467
14
SHA256 (tensorflow/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz) = ff7876d80cd3f6b8c7a064bd9aa42a78e02096544cca2b22a9cf390a4397a53e
14
SHA256 (tensorflow/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz) = ff7876d80cd3f6b8c7a064bd9aa42a78e02096544cca2b22a9cf390a4397a53e
15
SIZE (tensorflow/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz) = 130803
15
SIZE (tensorflow/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz) = 130803
16
SHA256 (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9
16
SHA256 (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9
17
SIZE (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 464906
17
SIZE (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 464906
18
SHA256 (tensorflow/rules_docker-v0.10.0.tar.gz) = 7d453450e1eb70e238eea6b31f4115607ec1200e91afea01c25f9804f37e39c8
18
SHA256 (tensorflow/0.7.1.tar.gz) = bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83
19
SIZE (tensorflow/rules_docker-v0.10.0.tar.gz) = 549649
19
SIZE (tensorflow/0.7.1.tar.gz) = 215296
20
SHA256 (tensorflow/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip) = bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598
20
SHA256 (tensorflow/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip) = bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598
21
SIZE (tensorflow/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip) = 9422
21
SIZE (tensorflow/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip) = 9422
22
SHA256 (tensorflow/rules_pkg-0.2.5.tar.gz) = 352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a
22
SHA256 (tensorflow/4.3.zip) = 6274687f6fc5783b589f56a2f1ed60de3ce1f99bc4e8f9edef3de43bdf7c6e74
23
SIZE (tensorflow/rules_pkg-0.2.5.tar.gz) = 29857
23
SIZE (tensorflow/4.3.zip) = 3998031
24
SHA256 (tensorflow/rules_pkg-0.7.1.tar.gz) = 451e08a4d78988c06fa3f9306ec813b836b1d076d0f055595444ba4ff22b867f
25
SIZE (tensorflow/rules_pkg-0.7.1.tar.gz) = 77334
24
SHA256 (tensorflow/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz) = 20b240eba17a36be4b0b22635aca63053913d5c1ee36e16be36499d167a2f533
26
SHA256 (tensorflow/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz) = 20b240eba17a36be4b0b22635aca63053913d5c1ee36e16be36499d167a2f533
25
SIZE (tensorflow/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz) = 14304
27
SIZE (tensorflow/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz) = 14304
26
SHA256 (tensorflow/rules_python-0.0.1.tar.gz) = aa96a691d3a8177f3215b14b0edc9641787abaaa30363a080165d06ab65e1161
28
SHA256 (tensorflow/rules_python-0.0.1.tar.gz) = aa96a691d3a8177f3215b14b0edc9641787abaaa30363a080165d06ab65e1161
27
SIZE (tensorflow/rules_python-0.0.1.tar.gz) = 2302092
29
SIZE (tensorflow/rules_python-0.0.1.tar.gz) = 2302092
28
SHA256 (tensorflow/rules_swift.0.25.0.tar.gz) = 8a49da750560b185804a4bc95c82d3f9cc4c2caf788960b0e21945759155fdd9
30
SHA256 (tensorflow/rules_swift.1.0.0.tar.gz) = 12057b7aa904467284eee640de5e33853e51d8e31aae50b3fb25d2823d51c6b8
29
SIZE (tensorflow/rules_swift.0.25.0.tar.gz) = 184783
31
SIZE (tensorflow/rules_swift.1.0.0.tar.gz) = 199181
30
SHA256 (tensorflow/790d7a083520398268d92d0bd61cf85dfa32ee98.tar.gz) = 147cc89904375dcd0b0d664a2b72dfadbb02058800ad8cba84516094bc406208
32
SHA256 (tensorflow/9351cf542ab478499294864ff3acfdab5c8c5f3d.tar.gz) = 7aca112f2809b7e9523e9b47b04a393affeca38247861951f07c42dee10180e2
31
SIZE (tensorflow/790d7a083520398268d92d0bd61cf85dfa32ee98.tar.gz) = 45837
33
SIZE (tensorflow/9351cf542ab478499294864ff3acfdab5c8c5f3d.tar.gz) = 76170
34
SHA256 (tensorflow/f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz) = 552ca3d4d1af4beeb1907980f7096315aa24150d6baf5ac1e5ad90f04846c670
35
SIZE (tensorflow/f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz) = 204856
32
SHA256 (tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz) = 18392cf0736e1d62ecbb8d695c31496b6507859e8c75541d7ad0ba092dc52115
36
SHA256 (tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz) = 18392cf0736e1d62ecbb8d695c31496b6507859e8c75541d7ad0ba092dc52115
33
SIZE (tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz) = 467251
37
SIZE (tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz) = 467251
34
SHA256 (tensorflow/e844ffd17118c1e17d94e1ba4354c075a4577b88.zip) = 522b7a82d920ebd0c4408a5365866a40b81d1c0d60b2369011d315cca03c6476
38
SHA256 (tensorflow/e844ffd17118c1e17d94e1ba4354c075a4577b88.zip) = 522b7a82d920ebd0c4408a5365866a40b81d1c0d60b2369011d315cca03c6476
35
SIZE (tensorflow/e844ffd17118c1e17d94e1ba4354c075a4577b88.zip) = 940590
39
SIZE (tensorflow/e844ffd17118c1e17d94e1ba4354c075a4577b88.zip) = 940590
36
SHA256 (tensorflow/fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz) = 9c3e0e87d581feeb0c18d814d98f170ff23e62967a2bd6855847f0b2fe598a37
40
SHA256 (tensorflow/c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz) = c0e2b9931fbcce3bfbcd7999c3c114f404ac0f8b89775a5bbccbcaa501868e58
37
SIZE (tensorflow/fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz) = 138574
41
SIZE (tensorflow/c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz) = 160745
38
SHA256 (tensorflow/506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz) = d070e2ffc5476c496a6a872a6f246bfddce8e7797d6ba605a7c8d72866743bf9
42
SHA256 (tensorflow/a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz) = b90430b2a9240df4459108b3e291be80ae92c68a47bc06ef2dc419c5724de061
39
SIZE (tensorflow/506cfa4bffd060c06ec338ce50ea3468daa6c814.tar.gz) = 316237
43
SIZE (tensorflow/a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz) = 306766
40
SHA256 (tensorflow/e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip) = fa9a0b9041095817bc3533f7b125c3b4044570c0b3ee6c436d2d29dae001c06b
44
SHA256 (tensorflow/3286a34cc8de6149ac6844107dfdffac91531e72.zip) = a22c42e80c7bb450db8492728e4742ee66f46d5458c45fe67ce2c9b61240630c
41
SIZE (tensorflow/e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip) = 375516
45
SIZE (tensorflow/3286a34cc8de6149ac6844107dfdffac91531e72.zip) = 381045
42
SHA256 (tensorflow/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz) = 583d7b975e506c076fc579d9139530596906b9195b203d42361417e9aad79b73
46
SHA256 (tensorflow/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz) = 583d7b975e506c076fc579d9139530596906b9195b203d42361417e9aad79b73
43
SIZE (tensorflow/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz) = 2569603
47
SIZE (tensorflow/835a7d7b1ee3bc83e575e302a985c66ec4b65249.tar.gz) = 2569603
44
SHA256 (tensorflow/openmp-10.0.1.src.tar.xz) = d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44
48
SHA256 (tensorflow/openmp-10.0.1.src.tar.xz) = d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44
45
SIZE (tensorflow/openmp-10.0.1.src.tar.xz) = 955492
49
SIZE (tensorflow/openmp-10.0.1.src.tar.xz) = 955492
46
SHA256 (tensorflow/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz) = 42b7ef406d5aa2d57a7b3b56fc44e8ad3011581692458a69958a911071efdcf2
50
SHA256 (tensorflow/131.1.0.tar.gz) = 76c1aac87ddb7258f34b08a13f0eebf9e53afa299857568346aa5c82bcafaf1a
47
SIZE (tensorflow/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz) = 44744
51
SIZE (tensorflow/131.1.0.tar.gz) = 52383
48
SHA256 (tensorflow/v2.6.tar.gz) = 9695640f55acd833ddcef4776af15e03446c4655f9296e5074b1b178dd7a4fb2
52
SHA256 (tensorflow/v2.7.3.tar.gz) = a50993aa6265b799b040fe745e0010502f9f7103cc53a9525d59646aef006633
49
SIZE (tensorflow/v2.6.tar.gz) = 5840464
53
SIZE (tensorflow/v2.7.3.tar.gz) = 6410473
54
SHA256 (tensorflow/43d81c6883ade82052920bd367c61f9e52f09954.zip) = 57a8a93e51211f990d760631f2bfdbba5257b22dda3d60e35a186bba988a2ace
55
SIZE (tensorflow/43d81c6883ade82052920bd367c61f9e52f09954.zip) = 27954369
50
SHA256 (tensorflow/v1.0.tar.gz) = 5f4dabc2ae21e1f537425d58a49cdca1c49ea11db0d6271e2a4b27e9697548eb
56
SHA256 (tensorflow/v1.0.tar.gz) = 5f4dabc2ae21e1f537425d58a49cdca1c49ea11db0d6271e2a4b27e9697548eb
51
SIZE (tensorflow/v1.0.tar.gz) = 110531
57
SIZE (tensorflow/v1.0.tar.gz) = 110531
52
SHA256 (tensorflow/5916273f79a21551890fd3d56fc5375a78d1598d.zip) = 2a160c527d3c58085ce260f34f9e2b161adc009b34186a2baf24e74376e89e6d
58
SHA256 (tensorflow/2c4932ed6f6204f1656e245838f4f5eae69d2e29.tar.gz) = 0223b647b8cc817336a51e787980ebc299c8d5e64c069829bf34b69d72337449
53
SIZE (tensorflow/5916273f79a21551890fd3d56fc5375a78d1598d.zip) = 3787933
59
SIZE (tensorflow/2c4932ed6f6204f1656e245838f4f5eae69d2e29.tar.gz) = 28202
54
SHA256 (tensorflow/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz) = 3f2dc1970f397a0e59db72f9fca6ff144b216895c1d606f6c94a507c1e53a025
60
SHA256 (tensorflow/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz) = 516c1b3a10d87740d2b7de6f121f8e19dde2c372ecbfe59aef44cd1872c10395
55
SIZE (tensorflow/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz) = 3489028
61
SIZE (tensorflow/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz) = 8722
56
SHA256 (tensorflow/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz) = fce593c95eb508092c4a1752130868b6d2eae0fd4a5363b9d96195fd85b7cfec
62
SHA256 (tensorflow/80f3440cd8fee124e077e2e47a8a17b78b451363.zip) = c7ab64b1ccf9a678694a89035a8c865a693e4e872803778f91f0965c2f281d78
57
SIZE (tensorflow/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz) = 15323415
63
SIZE (tensorflow/80f3440cd8fee124e077e2e47a8a17b78b451363.zip) = 76830
58
SHA256 (tensorflow/eigen-008ff3483a8c5604639e1c4d204eae30ad737af6.tar.gz) = e1dd31ce174c3d26fbe38388f64b09d2adbd7557a59e90e6f545a288cc1755fc
64
SHA256 (tensorflow/3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip) = ba668f9f8ea5b4890309b7db1ed2e152aaaf98af6f9a8a63dbe1b75c04e52cb9
59
SIZE (tensorflow/eigen-008ff3483a8c5604639e1c4d204eae30ad737af6.tar.gz) = 2733792
65
SIZE (tensorflow/3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip) = 3812878
60
SHA256 (tensorflow/11b2812d64e49bab9b6c489f79067fc94e69db9f.zip) = 7e9ad45391e5158fd00e816022bda21d54a6180788af7c455c864a78cee252c6
66
SHA256 (tensorflow/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz) = cfde5639b7c67c0edfa073b779b977aae744137c2b2fcb25a992f8d57bd033dd
61
SIZE (tensorflow/11b2812d64e49bab9b6c489f79067fc94e69db9f.zip) = 17103217
67
SIZE (tensorflow/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz) = 15228644
68
SHA256 (tensorflow/eigen-b0f877f8e01e90a5b0f3a79d46ea234899f8b499.tar.gz) = bdb1353ba33a5a7a5caadf822057ac1f0254ba2c5e70512dd1ec20cbb64e2f6c
69
SIZE (tensorflow/eigen-b0f877f8e01e90a5b0f3a79d46ea234899f8b499.tar.gz) = 2833536
70
SHA256 (tensorflow/b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip) = c979b62e8b77af60dfd7567f22ade20d5a9d4d0888f8a2d60d155fc0d31b22ab
71
SIZE (tensorflow/b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip) = 24168206
62
SHA256 (tensorflow/b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip) = b96413b10dd8edaa4f6c0a60c6cf5ef55eebeef78164d5d69294c8173457f0ec
72
SHA256 (tensorflow/b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip) = b96413b10dd8edaa4f6c0a60c6cf5ef55eebeef78164d5d69294c8173457f0ec
63
SIZE (tensorflow/b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip) = 61524
73
SIZE (tensorflow/b8374f80e42010941bda6c85b0e3f1a1bd77a1e0.zip) = 61524
64
SHA256 (tensorflow/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip) = d973501a40c55126b31accc2d9f08d931ec3cc190c0430309a5e341d3c0ce32a
74
SHA256 (tensorflow/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip) = d973501a40c55126b31accc2d9f08d931ec3cc190c0430309a5e341d3c0ce32a
65
SIZE (tensorflow/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip) = 91462
75
SIZE (tensorflow/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip) = 91462
66
SHA256 (tensorflow/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 3d7b0e9c4c658a84376a1086126be02f9b7f753caa95e009d9ac38d11da444db
76
SHA256 (tensorflow/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 3d7b0e9c4c658a84376a1086126be02f9b7f753caa95e009d9ac38d11da444db
67
SIZE (tensorflow/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 16646
77
SIZE (tensorflow/63058eff77e11aa15bf531df5dd34395ec3017c8.zip) = 16646
68
SHA256 (tensorflow/1cb299165c859533e22f2ed05eb2abd5071544df.tar.gz) = 5a19ab6de4b0089fff456c0bc406b37ba5f95c76026e6bec294ec28dc28e4cb9
78
SHA256 (tensorflow/dc275fd03254d67d29cc70a5a0569acf24d2280d.tar.gz) = 3e91127af59a6b07fea7901c80a7b8b9234eced42b0f14abbad5f9f7674dba69
69
SIZE (tensorflow/1cb299165c859533e22f2ed05eb2abd5071544df.tar.gz) = 162307281
79
SIZE (tensorflow/dc275fd03254d67d29cc70a5a0569acf24d2280d.tar.gz) = 182909064
70
SHA256 (tensorflow/541b1ded4abadcc38e8178680b0677f65594ea6f.zip) = 7ebab01b06c555f4b6514453dc3e1667f810ef91d1d4d2d3aa29bb9fcb40a900
80
SHA256 (tensorflow/6b3fdcea8bc5398be4e7e9930c693f0ea09316a0.tar.gz) = 249d83abc5d50bf372c35c49d77f900bff022b2c21eb73aa8da1458b6ac401fc
71
SIZE (tensorflow/541b1ded4abadcc38e8178680b0677f65594ea6f.zip) = 5498751
81
SIZE (tensorflow/6b3fdcea8bc5398be4e7e9930c693f0ea09316a0.tar.gz) = 6091152
72
SHA256 (tensorflow/v1.12.0.tar.gz) = 62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45
82
SHA256 (tensorflow/v23.1.21.tar.gz) = d84cb25686514348e615163b458ae0767001b24b42325f426fd56406fd384238
73
SIZE (tensorflow/v1.12.0.tar.gz) = 1145348
83
SIZE (tensorflow/v23.1.21.tar.gz) = 2181861
74
SHA256 (tensorflow/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz) = 213733991310b904b11b053ac224fee2d4e0179e46b52fe7f8735b8831e04dcc
84
SHA256 (tensorflow/a15b489e1222b2087007546b4912e21293ea86ff.tar.gz) = 019fbc7ec25860070a1d90e12686fc160cfb33e22aa063c80f52b363f1361e9d
75
SIZE (tensorflow/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz) = 100612
85
SIZE (tensorflow/a15b489e1222b2087007546b4912e21293ea86ff.tar.gz) = 103972
76
SHA256 (tensorflow/tensorflow-tensorflow-v2.9.1_GH0.tar.gz) = 6eaf86ead73e23988fe192da1db68f4d3828bcdd0f3a9dc195935e339c95dbdc
86
SHA256 (tensorflow/tensorflow-tensorflow-v2.13.1_GH0.tar.gz) = 89c07aebd4f41fbe0d08cc88aef00305542134f2f16d3b62918dc3c1182f33e2
77
SIZE (tensorflow/tensorflow-tensorflow-v2.9.1_GH0.tar.gz) = 66654318
87
SIZE (tensorflow/tensorflow-tensorflow-v2.13.1_GH0.tar.gz) = 70663056
88
SHA256 (tensorflow/ba7501696cc.patch) = d06dda3f889d7ffcd9dcec16f7f96e8ac24ffd5f999307fe0ceb623e57c7fa9f
89
SIZE (tensorflow/ba7501696cc.patch) = 740
90
SHA256 (tensorflow/667cf3ed2d7.patch) = dc3cc6c8b9bd6f4978904c1a28df61ab00634cb6cab461690a83c58fde55a0d9
91
SIZE (tensorflow/667cf3ed2d7.patch) = 960
(-)b/science/py-tensorflow/files/bazel/fix-environ.patch (-16 / +16 lines)
Lines 1-18 Link Here
1
--- a/llvm/lib/Support/Unix/Program.inc	2022-09-06 21:14:28.808580000 +0100
1
--- a/llvm/lib/Support/Unix/Program.inc	2023-04-28 21:51:01.000000000 +0200
2
+++ b/llvm/lib/Support/Unix/Program.inc	2022-09-06 21:16:15.007790000 +0100
2
+++ b/llvm/lib/Support/Unix/Program.inc	2024-07-02 11:12:41.645169000 +0200
3
@@ -54,10 +54,8 @@
3
@@ -54,10 +54,8 @@
4
 #define USE_NSGETENVIRON 0
4
 #define USE_NSGETENVIRON 0
5
 #endif
5
 #endif
6
 
6
 
7
-#if !USE_NSGETENVIRON
7
-#if !USE_NSGETENVIRON
8
+#if USE_NSGETENVIRON
8
+#if USE_NSGETENVIRON
9
   extern char **environ;
9
 extern char **environ;
10
-#else
10
-#else
11
-#include <crt_externs.h> // _NSGetEnviron
11
-#include <crt_externs.h> // _NSGetEnviron
12
 #endif
12
 #endif
13
 #endif
13
 #endif
14
 
14
 
15
@@ -240,14 +238,6 @@
15
@@ -238,14 +236,6 @@
16
       }
16
       }
17
     }
17
     }
18
 
18
 
Lines 27-42 Link Here
27
     constexpr int maxRetries = 8;
27
     constexpr int maxRetries = 8;
28
     int retries = 0;
28
     int retries = 0;
29
     pid_t PID;
29
     pid_t PID;
30
@@ -308,11 +298,7 @@
30
@@ -312,11 +302,7 @@
31
 
31
 
32
       // Execute!
32
     // Execute!
33
       std::string PathStr = std::string(Program);
33
     std::string PathStr = std::string(Program);
34
-      if (Envp != nullptr)
34
-    if (Envp != nullptr)
35
-        execve(PathStr.c_str(), const_cast<char **>(Argv),
35
-      execve(PathStr.c_str(), const_cast<char **>(Argv),
36
-               const_cast<char **>(Envp));
36
-             const_cast<char **>(Envp));
37
-      else
37
-    else
38
-        execv(PathStr.c_str(), const_cast<char **>(Argv));
38
-      execv(PathStr.c_str(), const_cast<char **>(Argv));
39
+      execv(PathStr.c_str(), const_cast<char **>(Argv));
39
+    execv(PathStr.c_str(), const_cast<char **>(Argv));
40
       // If the execve() failed, we should exit. Follow Unix protocol and
40
     // If the execve() failed, we should exit. Follow Unix protocol and
41
       // return 127 if the executable was not found, and 126 otherwise.
41
     // return 127 if the executable was not found, and 126 otherwise.
42
       // Use _exit rather than exit so that atexit functions and static
42
     // Use _exit rather than exit so that atexit functions and static
(-)b/science/py-tensorflow/files/bazel/fix-pybind11_protobuf.patch (+116 lines)
Added Link Here
1
diff --git a/pybind11_protobuf/BUILD b/pybind11_protobuf/BUILD
2
index b62eb91..1856ad3 100644
3
--- a/pybind11_protobuf/BUILD
4
+++ b/pybind11_protobuf/BUILD
5
@@ -61,9 +61,11 @@ pybind_library(
6
         "@com_google_absl//absl/container:flat_hash_map",
7
         "@com_google_absl//absl/strings",
8
         "@com_google_absl//absl/types:optional",
9
-        "@com_google_protobuf//:proto_api",
10
         "@com_google_protobuf//:protobuf",
11
-    ],
12
+    ] + select({
13
+        ":enable_pyproto_api_setting": ["@com_google_protobuf//:proto_api"],
14
+        "//conditions:default": [],
15
+    }),
16
 )
17
 
18
 pybind_library(
19
diff --git a/pybind11_protobuf/proto_cast_util.cc b/pybind11_protobuf/proto_cast_util.cc
20
index 52c57c9..771e688 100644
21
--- a/pybind11_protobuf/proto_cast_util.cc
22
+++ b/pybind11_protobuf/proto_cast_util.cc
23
@@ -14,9 +14,12 @@
24
 
25
 #include "google/protobuf/descriptor.pb.h"
26
 #include "google/protobuf/descriptor.h"
27
+#include "google/protobuf/descriptor_database.h"
28
 #include "google/protobuf/dynamic_message.h"
29
 #include "google/protobuf/message.h"
30
+#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API)
31
 #include "python/google/protobuf/proto_api.h"
32
+#endif
33
 #include "absl/container/flat_hash_map.h"
34
 #include "absl/strings/numbers.h"
35
 #include "absl/strings/str_replace.h"
36
@@ -35,8 +38,12 @@ using ::google::protobuf::FileDescriptor;
37
 using ::google::protobuf::FileDescriptorProto;
38
 using ::google::protobuf::Message;
39
 using ::google::protobuf::MessageFactory;
40
+#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API)
41
 using ::google::protobuf::python::PyProto_API;
42
 using ::google::protobuf::python::PyProtoAPICapsuleName;
43
+#else
44
+struct PyProto_API;
45
+#endif
46
 
47
 namespace pybind11_protobuf {
48
 namespace {
49
@@ -321,6 +328,7 @@ py::object GlobalState::PyMessageInstance(const Descriptor* descriptor) {
50
                        module_name + "?");
51
 }
52
 
53
+#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API)
54
 std::pair<py::object, Message*> GlobalState::PyFastCppProtoMessageInstance(
55
     const Descriptor* descriptor) {
56
   assert(descriptor != nullptr);
57
@@ -361,6 +369,7 @@ std::pair<py::object, Message*> GlobalState::PyFastCppProtoMessageInstance(
58
   }
59
   return {std::move(result), message};
60
 }
61
+#endif
62
 
63
 // Create C++ DescriptorPools based on Python DescriptorPools.
64
 // The Python pool will provide message definitions when they are needed.
65
@@ -500,6 +509,7 @@ class PythonDescriptorPoolWrapper {
66
    private:
67
     bool CopyToFileDescriptorProto(py::handle py_file_descriptor,
68
                                    FileDescriptorProto* output) {
69
+#if defined(PYBIND11_PROTOBUF_ENABLE_PYPROTO_API)
70
       if (GlobalState::instance()->py_proto_api()) {
71
         try {
72
           py::object c_proto = py::reinterpret_steal<py::object>(
73
@@ -518,6 +528,7 @@ class PythonDescriptorPoolWrapper {
74
           PyErr_Print();
75
         }
76
       }
77
+#endif
78
 
79
       py::object wire = py_file_descriptor.attr("serialized_pb");
80
       const char* bytes = PYBIND11_BYTES_AS_STRING(wire.ptr());
81
@@ -561,6 +572,9 @@ void ImportProtoDescriptorModule(const Descriptor* descriptor) {
82
 
83
 const Message* PyProtoGetCppMessagePointer(py::handle src) {
84
   assert(PyGILState_Check());
85
+#ifndef PYBIND11_PROTOBUF_ENABLE_PYPROTO_API
86
+  return nullptr;
87
+#else
88
   if (!GlobalState::instance()->py_proto_api()) return nullptr;
89
   auto* ptr =
90
       GlobalState::instance()->py_proto_api()->GetMessagePointer(src.ptr());
91
@@ -571,6 +585,7 @@ const Message* PyProtoGetCppMessagePointer(py::handle src) {
92
     return nullptr;
93
   }
94
   return ptr;
95
+#endif
96
 }
97
 
98
 absl::optional<std::string> PyProtoDescriptorName(py::handle py_proto) {
99
@@ -732,6 +747,9 @@ py::handle GenericPyProtoCast(Message* src, py::return_value_policy policy,
100
 
101
 py::handle GenericFastCppProtoCast(Message* src, py::return_value_policy policy,
102
                                    py::handle parent, bool is_const) {
103
+#ifndef PYBIND11_PROTOBUF_ENABLE_PYPROTO_API
104
+  throw std::logic_error("Not implemented");
105
+#else
106
   assert(policy != pybind11::return_value_policy::automatic);
107
   assert(policy != pybind11::return_value_policy::automatic_reference);
108
   assert(src != nullptr);
109
@@ -802,6 +820,7 @@ py::handle GenericFastCppProtoCast(Message* src, py::return_value_policy policy,
110
       std::string message("pybind11_protobuf unhandled return_value_policy::");
111
       throw py::cast_error(message + ReturnValuePolicyName(policy));
112
   }
113
+#endif
114
 }
115
 
116
 py::handle GenericProtoCast(Message* src, py::return_value_policy policy,
(-)b/science/py-tensorflow/files/bazel/fix-xnnpack.patch (-8 / +23 lines)
Lines 1-6 Link Here
1
--- a/build_defs.bzl    2022-08-28 12:18:33.375130000 +0100
1
diff --git a/build_defs.bzl b/build_defs.bzl
2
+++ b/build_defs.bzl	2022-08-28 12:21:40.701070000 +0100
2
index 01b436eb7..ca4abd54d 100644
3
@@ -173,7 +173,7 @@
3
--- a/build_defs.bzl
4
+++ b/build_defs.bzl
5
@@ -146,7 +146,7 @@ def xnnpack_cc_library(
4
             ":emscripten_wasm": wasm_srcs,
6
             ":emscripten_wasm": wasm_srcs,
5
             ":emscripten_wasmsimd": wasmsimd_srcs,
7
             ":emscripten_wasmsimd": wasmsimd_srcs,
6
             ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_srcs,
8
             ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_srcs,
Lines 9-15 Link Here
9
         }),
11
         }),
10
         copts = [
12
         copts = [
11
             "-Iinclude",
13
             "-Iinclude",
12
@@ -210,7 +210,7 @@
14
@@ -179,7 +179,7 @@ def xnnpack_cc_library(
13
             ":emscripten_wasm": wasm_copts,
15
             ":emscripten_wasm": wasm_copts,
14
             ":emscripten_wasmsimd": wasmsimd_copts,
16
             ":emscripten_wasmsimd": wasmsimd_copts,
15
             ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_copts,
17
             ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_copts,
Lines 18-24 Link Here
18
         }) + select({
20
         }) + select({
19
             ":windows_x86_64_clang": ["/clang:" + opt for opt in gcc_copts],
21
             ":windows_x86_64_clang": ["/clang:" + opt for opt in gcc_copts],
20
             ":windows_x86_64_mingw": gcc_copts,
22
             ":windows_x86_64_mingw": gcc_copts,
21
@@ -233,7 +233,7 @@
23
@@ -202,7 +202,7 @@ def xnnpack_cc_library(
22
             ":linux_armv7a": ["-lpthread"],
24
             ":linux_armv7a": ["-lpthread"],
23
             ":linux_arm64": ["-lpthread"],
25
             ":linux_arm64": ["-lpthread"],
24
             ":android": ["-lm"],
26
             ":android": ["-lm"],
Lines 27-37 Link Here
27
         }),
29
         }),
28
         textual_hdrs = hdrs,
30
         textual_hdrs = hdrs,
29
         visibility = visibility,
31
         visibility = visibility,
30
@@ -304,6 +304,7 @@
32
@@ -249,6 +249,7 @@ def xnnpack_aggregate_library(
31
             ":emscripten_wasm": wasm_deps,
32
             ":emscripten_wasmsimd": wasmsimd_deps,
33
             ":emscripten_wasmsimd": wasmsimd_deps,
33
             ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_deps,
34
             ":emscripten_wasmrelaxedsimd": wasmrelaxedsimd_deps,
35
             ":riscv": riscv_deps,
34
+            "//conditions:default": x86_deps,
36
+            "//conditions:default": x86_deps,
35
         }),
37
         }),
36
     )
38
         defines = defines,
39
         compatible_with = compatible_with,
40
diff --git a/src/runtime.c b/src/runtime.c
41
index 0c4649017..29e74a85b 100644
42
--- a/src/runtime.c
43
+++ b/src/runtime.c
44
@@ -4,7 +4,7 @@
45
 // LICENSE file in the root directory of this source tree.
37
 
46
 
47
 #ifndef __MACH__
48
-#define _POSIX_C_SOURCE 199309L
49
+#define _POSIX_C_SOURCE 199506L
50
 #endif
51
 
52
 #include <assert.h>
(-)b/science/py-tensorflow/files/bazel/fix_cpuinfo.patch (-4 / +47 lines)
Lines 1-5 Link Here
1
--- a/src/mach/topology.c	2022-09-01 12:09:36.036365000 +0100
1
diff --git a/BUILD.bazel b/BUILD.bazel
2
+++ b/src/mach/topology.c	2022-09-01 12:09:07.146529000 +0100
2
index 0c92064..23d3f16 100644
3
--- a/BUILD.bazel
4
+++ b/BUILD.bazel
5
@@ -104,35 +104,7 @@ EMSCRIPTEN_SRCS = [
6
 cc_library(
7
     name = "cpuinfo_impl",
8
     srcs = select({
9
-        ":linux_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS,
10
-        ":linux_arm": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
11
-        ":linux_armhf": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
12
-        ":linux_armv7a": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
13
-        ":linux_armeabi": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
14
-        ":linux_aarch64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS,
15
-        ":linux_mips64": COMMON_SRCS + LINUX_SRCS,
16
-        ":linux_riscv64": COMMON_SRCS + LINUX_SRCS,
17
-        ":linux_s390x": COMMON_SRCS + LINUX_SRCS,
18
-        ":macos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
19
-        ":macos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
20
-        ":windows_x86_64": COMMON_SRCS + X86_SRCS + WINDOWS_X86_SRCS,
21
-        ":android_armv7": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS + ANDROID_ARM_SRCS,
22
-        ":android_arm64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS + ANDROID_ARM_SRCS,
23
-        ":android_x86": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS,
24
-        ":android_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS,
25
-        ":ios_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
26
-        ":ios_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
27
-        ":ios_armv7": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
28
-        ":ios_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
29
-        ":ios_arm64e": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
30
-        ":ios_sim_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
31
-        ":watchos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
32
-        ":watchos_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
33
-        ":watchos_armv7k": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
34
-        ":watchos_arm64_32": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
35
-        ":tvos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
36
-        ":tvos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
37
-        ":emscripten_wasm": COMMON_SRCS + EMSCRIPTEN_SRCS,
38
+        "//conditions:default": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
39
     }),
40
     copts = select({
41
         ":windows_x86_64": [],
42
diff --git a/src/mach/topology.c b/src/mach/topology.c
43
index b56343b..5c1696a 100644
44
--- a/src/mach/topology.c
45
+++ b/src/mach/topology.c
3
@@ -1,5 +1,4 @@
46
@@ -1,5 +1,4 @@
4
 #include <string.h>
47
 #include <string.h>
5
-#include <alloca.h>
48
-#include <alloca.h>
Lines 11-18 Link Here
11
 #include <mach/api.h>
54
 #include <mach/api.h>
12
 
55
 
13
-#include <TargetConditionals.h>
56
-#include <TargetConditionals.h>
14
 
15
-
57
-
58
 
16
 struct cpuinfo_mach_topology cpuinfo_mach_detect_topology(void) {
59
 struct cpuinfo_mach_topology cpuinfo_mach_detect_topology(void) {
17
 	int cores = 1;
60
 	int cores = 1;
18
 	size_t sizeof_cores = sizeof(cores);
61
 	size_t sizeof_cores = sizeof(cores);
Lines 51-57 Link Here
51
 
94
 
52
 	cpuinfo_log_debug("mach topology: packages = %d, cores = %d, threads = %d", packages, (int) cores, (int) threads);
95
 	cpuinfo_log_debug("mach topology: packages = %d, cores = %d, threads = %d", packages, (int) cores, (int) threads);
53
 	struct cpuinfo_mach_topology topology = {
96
 	struct cpuinfo_mach_topology topology = {
54
@@ -48,26 +36,5 @@
97
@@ -48,26 +36,5 @@ struct cpuinfo_mach_topology cpuinfo_mach_detect_topology(void) {
55
 		.threads = (uint32_t) threads
98
 		.threads = (uint32_t) threads
56
 	};
99
 	};
57
 
100
 
(-)a/science/py-tensorflow/files/bazel/freebsd_python_fix.patch (-11 lines)
Removed Link Here
1
--- a/utils/bazel/configure.bzl	2022-08-27 19:11:41.138993000 +0100
2
+++ b/utils/bazel/configure.bzl	2022-08-27 19:12:07.525186000 +0100
3
@@ -37,7 +37,7 @@
4
     overlay_path = bazel_path.get_child("llvm-project-overlay")
5
     script_path = bazel_path.get_child("overlay_directories.py")
6
 
7
-    python_bin = repository_ctx.which("python3")
8
+    python_bin = repository_ctx.which("%%PYTHON%%")
9
     if not python_bin:
10
         # Windows typically just defines "python" as python3. The script itself
11
         # contains a check to ensure python3.
(-)a/science/py-tensorflow/files/bazel/set-c++17.patch (-11 lines)
Removed Link Here
1
--- a/cc/private/toolchain/freebsd_cc_toolchain_config.bzl	2022-08-28 16:31:59.271838000 +0100
2
+++ b/cc/private/toolchain/freebsd_cc_toolchain_config.bzl	2022-08-28 16:32:10.096301000 +0100
3
@@ -159,7 +159,7 @@
4
             ),
5
             flag_set(
6
                 actions = all_cpp_compile_actions + [ACTION_NAMES.lto_backend],
7
-                flag_groups = [flag_group(flags = ["-std=c++0x"])],
8
+                flag_groups = [flag_group(flags = ["-std=c++17"])],
9
             ),
10
         ],
11
     )
(-)b/science/py-tensorflow/files/patch-.bazelrc (-8 / +8 lines)
Lines 1-8 Link Here
1
--- .bazelrc.orig	2022-05-22 22:28:22 UTC
1
--- .bazelrc.orig	2023-09-12 16:46:28 UTC
2
+++ .bazelrc
2
+++ .bazelrc
3
@@ -151,6 +151,19 @@ build --experimental_cc_shared_library
3
@@ -166,6 +166,19 @@ build:libc++ --linkopt -fuse-ld=lld
4
 
4
 build:libc++ --define force_libcpp=enabled
5
 # Default options should come above this line.
5
 build:libc++ --linkopt -fuse-ld=lld
6
 
6
 
7
+# Use our custom-configured c++ toolchain.
7
+# Use our custom-configured c++ toolchain.
8
+# Use --cpu as a differentiator.
8
+# Use --cpu as a differentiator.
Lines 13-22 Link Here
13
+build:freebsd --crosstool_top=//freebsd:freebsd_clang
13
+build:freebsd --crosstool_top=//freebsd:freebsd_clang
14
+build:freebsd --linkopt=-L%%LOCALBASE%%/lib
14
+build:freebsd --linkopt=-L%%LOCALBASE%%/lib
15
+
15
+
16
+build:freebsd --python_path="%%PYTHON%%"
16
+build:freebsd --define build_with_onednn_v2=true
17
+build:freebsd --define force_libcpp=enabled
17
+build:freebsd --define force_libcpp=enabled
18
+build:freebsd --action_env=CXXFLAGS=-stdlib=libc++
18
+build:freebsd --action_env=CXXFLAGS=-stdlib=libc++
19
+
19
+
20
 # Allow builds using libc++ as a linker library
20
 # Android configs. Bazel needs to have --cpu and --fat_apk_cpu both set to the
21
 # This is mostly for OSSFuzz, so we also pass in the flags from environment to clean build file
21
 # target CPU to build transient dependencies correctly. See
22
 build:libc++ --action_env=CC
22
 # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu
(-)a/science/py-tensorflow/files/patch-WORKSPACE (-18 lines)
Removed Link Here
1
--- WORKSPACE.orig	2022-05-22 22:28:22 UTC
2
+++ WORKSPACE
3
@@ -1,4 +1,15 @@
4
 workspace(name = "org_tensorflow")
5
+register_toolchains("//freebsd:freebsd_py_toolchain")
6
+
7
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8
+http_archive(
9
+    name = "io_bazel_rules_docker",
10
+    sha256 = "7d453450e1eb70e238eea6b31f4115607ec1200e91afea01c25f9804f37e39c8",
11
+    strip_prefix = "rules_docker-0.10.0",
12
+    urls = [
13
+        "https://github.com/bazelbuild/rules_docker/releases/download/v0.10.0/rules_docker-v0.10.0.tar.gz",
14
+    ],
15
+)
16
 
17
 # Initialize the TensorFlow repository and all dependencies.
18
 #
(-)a/science/py-tensorflow/files/patch-configure (-11 lines)
Removed Link Here
1
--- configure.orig	2022-05-22 22:28:22 UTC
2
+++ configure
3
@@ -4,7 +4,7 @@ set -e
4
 set -o pipefail
5
 
6
 if [ -z "$PYTHON_BIN_PATH" ]; then
7
-  PYTHON_BIN_PATH=$(which python3 || which python || true)
8
+  PYTHON_BIN_PATH=$(which %%PYTHON%% || which python || true)
9
 fi
10
 
11
 # Set all env variables
(-)b/science/py-tensorflow/files/patch-tensorflow_BUILD (-25 / +6 lines)
Lines 1-31 Link Here
1
--- tensorflow/BUILD.orig	2022-05-23 00:28:22.000000000 +0200
1
--- tensorflow/BUILD.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/BUILD	2023-03-30 17:47:04.211287000 +0200
2
+++ tensorflow/BUILD
3
@@ -938,8 +938,11 @@
3
@@ -1290,7 +1293,8 @@ tf_cc_shared_library(
4
         ],
4
         ],
5
         "//tensorflow:windows": [],
6
         "//tensorflow:freebsd": [
7
+            "-Wl,--unresolved-symbols=ignore-all",
8
+            "-Wl,--undefined-version",
9
             "-Wl,--version-script,$(location //tensorflow:tf_framework_version_script.lds)",
10
             "-lexecinfo",
11
+            "-L/usr/local/lib",
12
         ],
13
         "//conditions:default": [
14
             "-Wl,--version-script,$(location //tensorflow:tf_framework_version_script.lds)",
15
@@ -1021,7 +1024,7 @@
16
         # copybara:uncomment_end
17
         "//conditions:default": [
18
             "-z defs",
19
-            "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
20
+            "-L/lib,-L/usr/lib,--unresolved-symbols=ignore-all,-Wl,--undefined-version,-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
21
         ],
22
     }),
23
     per_os_targets = True,
24
@@ -1054,6 +1057,7 @@
25
         "//tensorflow:windows": [],
5
         "//tensorflow:windows": [],
26
         "//conditions:default": [
6
         "//conditions:default": [
27
             "-z defs",
7
-            "-z defs",
28
+            "-Wl,--undefined-version",
8
+            "-Wl,-z,defs",
9
+            "-lnsync_cpp",
29
             "-Wl,--version-script,$(location //tensorflow:tf_version_script.lds)",
10
             "-Wl,--version-script,$(location //tensorflow:tf_version_script.lds)",
30
         ],
11
         ],
31
     }),
12
     }),
(-)a/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_hlo_WORKSPACE (-11 lines)
Removed Link Here
1
--- tensorflow/compiler/mlir/hlo/WORKSPACE.orig	2022-05-22 22:28:22 UTC
2
+++ tensorflow/compiler/mlir/hlo/WORKSPACE
3
@@ -34,6 +34,8 @@ http_archive(
4
     name = "llvm-raw",
5
     build_file_content = "# empty",
6
     sha256 = LLVM_SHA256,
7
+    patch_args = ["-p0"],
8
+    patches = ["@%%MLIR_LLVM_PATCH%%"],
9
     strip_prefix = "llvm-project-" + LLVM_COMMIT,
10
     urls = ["https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT)],
11
 )
(-)a/science/py-tensorflow/files/patch-tensorflow_compiler_mlir_quantization_tensorflow_BUILD (-11 lines)
Removed Link Here
1
--- tensorflow/compiler/mlir/quantization/tensorflow/BUILD.orig	2022-09-06 21:29:53 UTC
2
+++ tensorflow/compiler/mlir/quantization/tensorflow/BUILD
3
@@ -32,7 +32,7 @@ genrule(
4
     outs = [
5
         "passes/quantized_function_library.h",
6
     ],
7
-    cmd = "$(location gen_quantized_function_library) --output_file $(RULEDIR)/passes/quantized_function_library.h --src $(SRCS)",
8
+    cmd = "%%PYTHON%% $(location gen_quantized_function_library) --output_file $(RULEDIR)/passes/quantized_function_library.h --src $(SRCS)",
9
     exec_tools = ["gen_quantized_function_library"],
10
 )
11
 
(-)a/science/py-tensorflow/files/patch-tensorflow_core_BUILD (-11 lines)
Removed Link Here
1
--- tensorflow/core/BUILD.orig	2022-05-22 22:28:22 UTC
2
+++ tensorflow/core/BUILD
3
@@ -1284,7 +1284,7 @@ cc_library(
4
     hdrs = [":lib_internal_public_headers"],
5
     copts = tf_copts(),
6
     linkopts = select({
7
-        "//tensorflow:freebsd": [],
8
+        "//tensorflow:freebsd": ["-L%%LOCALBASE%%/lib"],
9
         "//tensorflow:windows": [],
10
         "//tensorflow:android": [],
11
         "//conditions:default": [
(-)a/science/py-tensorflow/files/patch-tensorflow_core_lib_png_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/core/lib/png/BUILD.orig	2022-08-28 14:35:19 UTC
2
+++ tensorflow/core/lib/png/BUILD
3
@@ -23,6 +23,7 @@ cc_library(
4
         "@com_google_absl//absl/base",
5
         "@zlib",
6
     ],
7
+    copts = ["-std=c++17"],
8
 )
9
 
10
 alias(
(-)a/science/py-tensorflow/files/patch-tensorflow_core_platform_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/core/platform/BUILD.orig	2022-08-29 08:52:22 UTC
2
+++ tensorflow/core/platform/BUILD
3
@@ -680,6 +680,7 @@ cc_library(
4
         ":str_util",
5
         ":stringpiece",
6
     ],
7
+    copts = ["-std=c++17"],
8
 )
9
 
10
 cc_library(
(-)a/science/py-tensorflow/files/patch-tensorflow_java_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/java/BUILD.orig	2023-03-30 17:51:23.641040000 +0200
2
+++ tensorflow/java/BUILD	2023-03-30 17:51:34.802406000 +0200
3
@@ -446,6 +446,7 @@
4
         "//tensorflow:windows": [],
5
         "//conditions:default": [
6
             "-z defs",
7
+            "-Wl,--undefined-version",
8
             "-s",
9
             "-Wl,--version-script,$(location {})".format(LINKER_VERSION_SCRIPT),
10
         ],
(-)a/science/py-tensorflow/files/patch-tensorflow_lite_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/lite/BUILD.orig	2023-03-30 18:04:54.206396000 +0200
2
+++ tensorflow/lite/BUILD	2023-03-30 18:04:24.422539000 +0200
3
@@ -1204,6 +1204,7 @@
4
         "//tensorflow:windows": [],
5
         "//conditions:default": [
6
             "-Wl,-z,defs",
7
+            "-Wl,--undefined-version",
8
             "-Wl,--version-script,$(location //tensorflow/lite:tflite_version_script.lds)",
9
         ],
10
     }),
(-)a/science/py-tensorflow/files/patch-tensorflow_lite_build_def.bzl (-10 lines)
Removed Link Here
1
--- tensorflow/lite/build_def.bzl.orig	2023-03-30 17:56:40.338369000 +0200
2
+++ tensorflow/lite/build_def.bzl	2023-03-30 17:56:50.244995000 +0200
3
@@ -172,6 +172,7 @@
4
         ],
5
         clean_dep("//tensorflow:windows"): [],
6
         "//conditions:default": [
7
+            "-Wl,--undefined-version",
8
             "-Wl,--version-script,$(location {})".format(linkscript),
9
             "-Wl,-soname," + name,
10
         ],
(-)a/science/py-tensorflow/files/patch-tensorflow_lite_c_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/lite/c/BUILD.orig	2023-03-30 18:05:35.316884000 +0200
2
+++ tensorflow/lite/c/BUILD	2023-03-30 18:05:48.639862000 +0200
3
@@ -29,6 +29,7 @@
4
         "//tensorflow:windows": [],
5
         "//conditions:default": [
6
             "-z defs",
7
+            "-Wl,--undefined-version",
8
             "-Wl,--version-script,$(location //tensorflow/lite/c:version_script.lds)",
9
         ],
10
     }),
(-)a/science/py-tensorflow/files/patch-tensorflow_lite_delegates_flex_build_def.bzl (-10 lines)
Removed Link Here
1
--- tensorflow/lite/delegates/flex/build_def.bzl.orig	2023-03-30 17:57:26.322444000 +0200
2
+++ tensorflow/lite/delegates/flex/build_def.bzl	2023-03-30 17:58:45.005163000 +0200
3
@@ -223,6 +223,7 @@
4
             "//tensorflow:windows": [],
5
             "//conditions:default": [
6
                 "-Wl,-z,defs",
7
+                "-Wl,--undefined-version",
8
                 "-Wl,--version-script,$(location //tensorflow/lite/delegates/flex:version_script.lds)",
9
             ],
10
         }),
(-)a/science/py-tensorflow/files/patch-tensorflow_lite_delegates_hexagon_hexagon_nn_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/lite/delegates/hexagon/hexagon_nn/BUILD.orig	2023-03-30 17:50:25.801299000 +0200
2
+++ tensorflow/lite/delegates/hexagon/hexagon_nn/BUILD	2023-03-30 17:50:38.457225000 +0200
3
@@ -76,6 +76,7 @@
4
     name = "libhexagon_interface.so",
5
     linkopts = [
6
         "-Wl,-soname=libhexagon_interface.so",
7
+        "-Wl,--undefined-version",
8
         "-z defs",
9
         "-Wl,--version-script,$(location //tensorflow/lite/delegates/hexagon/hexagon_nn:version_scripts.lds)",
10
     ] + select({
(-)b/science/py-tensorflow/files/patch-tensorflow_python_BUILD (+10 lines)
Added Link Here
1
--- tensorflow/python/BUILD.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/python/BUILD
3
@@ -5043,7 +5043,6 @@ tf_python_pybind_extension(
4
     features = ["-layering_check"],
5
     deps = [
6
         ":pywrap_densor_device_headers",
7
-        "//tensorflow/dtensor/proto:layout_proto_cc",
8
         "//tensorflow/python/lib/core:pybind11_lib",
9
         "//tensorflow/python/lib/core:pybind11_status_headers",
10
         "//third_party/python_runtime:headers",  # buildcleaner: keep
(-)a/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl (-26 lines)
Removed Link Here
1
--- tensorflow/tensorflow.bzl.orig	2023-03-30 17:54:35.641567000 +0200
2
+++ tensorflow/tensorflow.bzl	2023-03-30 17:56:12.747346000 +0200
3
@@ -2305,6 +2305,7 @@
4
         ],
5
         clean_dep("//tensorflow:windows"): [],
6
         "//conditions:default": [
7
+            "-Wl,--undefined-version",
8
             "-Wl,--version-script",
9
             "$(location %s.lds)" % vscriptname,
10
         ],
11
@@ -2975,6 +2976,7 @@
12
                     "/ignore:4070",
13
                 ] if win_def_file else [],
14
                 "//conditions:default": [
15
+                    "-Wl,--undefined-version",
16
                     "-Wl,--version-script",
17
                     "$(location %s)" % version_script_file,
18
                 ],
19
@@ -3035,6 +3037,7 @@
20
                 ],
21
                 clean_dep("//tensorflow:windows"): [],
22
                 "//conditions:default": [
23
+                    "-Wl,--undefined-version",
24
                     "-Wl,--version-script",
25
                     "$(location %s)" % version_script_file,
26
                 ],
(-)b/science/py-tensorflow/files/patch-tensorflow_tf__framework__version__script.lds (+12 lines)
Added Link Here
1
--- tensorflow/tf_framework_version_script.lds.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/tf_framework_version_script.lds
3
@@ -3,9 +3,6 @@ VERS_1.0 {
4
   local:
5
     jpeg_*;
6
     jinit_*;
7
-    jdiv_round_up;
8
-    jround_up;
9
-    jzero_far;
10
     jcopy_*;
11
     jsimd_*;
12
     hwloc_*;
(-)a/science/py-tensorflow/files/patch-tensorflow_tf_framework_version_script.lds (-12 lines)
Removed Link Here
1
--- tensorflow/tf_framework_version_script.lds.orig	2023-03-30 17:42:11.255357000 +0200
2
+++ tensorflow/tf_framework_version_script.lds	2023-03-30 17:42:18.431845000 +0200
3
@@ -3,9 +3,6 @@
4
   local:
5
     jpeg_*;
6
     jinit_*;
7
-    jdiv_round_up;
8
-    jround_up;
9
-    jzero_far;
10
     jcopy_*;
11
     jsimd_*;
12
     hwloc_*;
(-)b/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_build__pip__package.sh (+32 lines)
Added Link Here
1
--- tensorflow/tools/pip_package/build_pip_package.sh.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/tools/pip_package/build_pip_package.sh
3
@@ -183,9 +183,9 @@ function prepare_src() {
4
       bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/org_tensorflow \
5
       "${XLA_AOT_RUNTIME_SOURCES}"
6
     # Copy MKL libs over so they can be loaded at runtime
7
-    # TODO(b/271299337): shared libraries that depend on libbfloat16.so.so have
8
+    # TODO(b/271299337): shared libraries that depend on libbfloat16.so have
9
     # their NEEDED and RUNPATH set corresponding to a dependency on
10
-    # RUNFILES/_solib_local/libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so,
11
+    # RUNFILES/_solib_local/libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so,
12
     # which is a symlink to tensorflow/tsl/python/lib/core/libbfloat16.so in
13
     # the Bazel build tree. We do not export the file in _solib_local (nor
14
     # symlinks in general, I think Python wheels have poor support for them?)
15
@@ -193,13 +193,13 @@ function prepare_src() {
16
     if is_macos; then
17
       chmod +rw ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so
18
       chmod +rw ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so
19
-      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
20
-      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
21
+      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
22
+      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
23
     else
24
       chmod +rw ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so
25
       chmod +rw ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so
26
-      patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so libbfloat16.so.so ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so
27
-      patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so.so libbfloat16.so.so ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so
28
+      patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so libbfloat16.so ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so
29
+      patchelf --replace-needed libtensorflow_Stsl_Spython_Slib_Score_Slibbfloat16.so libbfloat16.so ${TMPDIR}/tensorflow/python/_pywrap_tensorflow_internal.so
30
       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
31
       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
32
       patchelf --shrink-rpath ${TMPDIR}/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so
(-)a/science/py-tensorflow/files/patch-tensorflow_tools_pip__package_setup.py (-34 lines)
Removed Link Here
1
--- tensorflow/tools/pip_package/setup.py.orig	2022-09-07 19:29:52 UTC
2
+++ tensorflow/tools/pip_package/setup.py
3
@@ -77,13 +77,12 @@ REQUIRED_PACKAGES = [
4
     'astunparse >= 1.6.0',
5
     # TODO(b/187981032): remove the constraint for 2.0 once the incompatibile
6
     # issue is resolved.
7
-    'flatbuffers >= 1.12, <2',
8
+    'flatbuffers',
9
     # TODO(b/213222745) gast versions above 0.4.0 break TF's tests
10
-    'gast >= 0.2.1, <= 0.4.0',
11
+    'gast',
12
     'google_pasta >= 0.1.1',
13
     'h5py >= 2.9.0',
14
-    'keras_preprocessing >= 1.1.1',  # 1.1.0 needs tensorflow==1.7
15
-    'libclang >= 13.0.0',
16
+    'keras_preprocessing >= 1.1.0',  # 1.1.0 needs tensorflow==1.7
17
     'numpy >= 1.20',
18
     'opt_einsum >= 2.3.2',
19
     'packaging',
20
@@ -94,13 +93,12 @@ REQUIRED_PACKAGES = [
21
     # See also: https://github.com/protocolbuffers/protobuf/issues/9954
22
     # See also: https://github.com/tensorflow/tensorflow/issues/56077
23
     # This is a temporary patch for now, to patch previous TF releases.
24
-    'protobuf >= 3.9.2, < 3.20',
25
+    'protobuf',
26
     'setuptools',
27
     'six >= 1.12.0',
28
     'termcolor >= 1.1.0',
29
     'typing_extensions >= 3.6.6',
30
     'wrapt >= 1.11.0',
31
-    'tensorflow-io-gcs-filesystem >= 0.23.1',
32
     # grpcio does not build correctly on big-endian machines due to lack of
33
     # BoringSSL support.
34
     # See https://github.com/tensorflow/tensorflow/issues/17882.
(-)a/science/py-tensorflow/files/patch-tensorflow_tools_proto__text_BUILD (-10 lines)
Removed Link Here
1
--- tensorflow/tools/proto_text/BUILD.orig	2022-05-22 22:28:22 UTC
2
+++ tensorflow/tools/proto_text/BUILD
3
@@ -60,6 +60,7 @@ cc_library(
4
             "-lm",
5
             "-lpthread",
6
             "-lrt",
7
+            "-L%%LOCALBASE%%/lib",
8
         ],
9
     }),
10
     deps = [
(-)b/science/py-tensorflow/files/patch-tensorflow_tsl_platform_default_build__config.bzl (+25 lines)
Added Link Here
1
--- tensorflow/tsl/platform/default/build_config.bzl.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/tsl/platform/default/build_config.bzl
3
@@ -401,13 +401,6 @@ def py_proto_library(
4
         # is not explicitly listed in py_libs. Instead, host system is assumed to
5
         # have grpc installed.
6
 
7
-    genproto_deps = []
8
-    for dep in deps:
9
-        if dep != "@com_google_protobuf//:protobuf_python":
10
-            genproto_deps.append(dep + "_genproto")
11
-        else:
12
-            genproto_deps.append("@com_google_protobuf//:well_known_types_py_pb2_genproto")
13
-
14
     proto_gen(
15
         name = name + "_genproto",
16
         srcs = srcs,
17
@@ -418,7 +411,7 @@ def py_proto_library(
18
         plugin_language = "grpc",
19
         protoc = protoc,
20
         visibility = ["//visibility:public"],
21
-        deps = genproto_deps,
22
+        deps = [s + "_genproto" for s in deps],
23
     )
24
 
25
     if default_runtime and not default_runtime in py_libs + deps:
(-)b/science/py-tensorflow/files/patch-tensorflow_tsl_python_lib_core_BUILD (+11 lines)
Added Link Here
1
--- tensorflow/tsl/python/lib/core/BUILD.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/tsl/python/lib/core/BUILD
3
@@ -50,7 +50,7 @@ cc_shared_library(
4
     roots = [":bfloat16_lib"],
5
     # TODO(tlongeri): If this is not explicitly specified, dependent DLLs will expect "bfloat16.so"
6
     # and we will generate "bfloat16.so.dll", for some reason
7
-    shared_lib_name = if_windows("bfloat16.so", None),
8
+    shared_lib_name = if_windows("bfloat16.so", "libbfloat16.so"),
9
     static_deps = [
10
         # TODO(ddunleavy): If cc_shared_library is ever not a noop in g3, change
11
         # this to be more specific.
(-)b/science/py-tensorflow/files/patch-tensorflow_workspace2.bzl (-6 / +23 lines)
Lines 1-10 Link Here
1
--- tensorflow/workspace2.bzl.orig	2022-05-22 22:28:22 UTC
1
--- tensorflow/workspace2.bzl.orig	2023-09-12 16:46:28 UTC
2
+++ tensorflow/workspace2.bzl
2
+++ tensorflow/workspace2.bzl
3
@@ -137,6 +137,7 @@ def _tf_repositories():
3
@@ -145,6 +145,7 @@ def _tf_repositories():
4
         name = "XNNPACK",
4
         name = "XNNPACK",
5
         sha256 = "7e9ad45391e5158fd00e816022bda21d54a6180788af7c455c864a78cee252c6",
5
         sha256 = "c979b62e8b77af60dfd7567f22ade20d5a9d4d0888f8a2d60d155fc0d31b22ab",
6
         strip_prefix = "XNNPACK-11b2812d64e49bab9b6c489f79067fc94e69db9f",
6
         strip_prefix = "XNNPACK-b9d4073a6913891ce9cbd8965c8d506075d2a45a",
7
+        patch_file=["//third_party:add-default-option.patch"],
7
+        patch_file=["//third_party:fix-xnnpack.patch"],
8
         urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/11b2812d64e49bab9b6c489f79067fc94e69db9f.zip"),
8
         urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/b9d4073a6913891ce9cbd8965c8d506075d2a45a.zip"),
9
     )
9
     )
10
     # LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/xnnpack.cmake)
10
     # LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/xnnpack.cmake)
11
@@ -167,6 +168,7 @@ def _tf_repositories():
12
         name = "cpuinfo",
13
         strip_prefix = "cpuinfo-3dc310302210c1891ffcfb12ae67b11a3ad3a150",
14
         sha256 = "ba668f9f8ea5b4890309b7db1ed2e152aaaf98af6f9a8a63dbe1b75c04e52cb9",
15
+        patch_file = ["//third_party:fix_cpuinfo.patch"],
16
         urls = tf_mirror_urls("https://github.com/pytorch/cpuinfo/archive/3dc310302210c1891ffcfb12ae67b11a3ad3a150.zip"),
17
     )
18
 
19
@@ -875,7 +877,7 @@ def _tf_repositories():
20
         urls = tf_mirror_urls("https://github.com/pybind/pybind11_protobuf/archive/80f3440cd8fee124e077e2e47a8a17b78b451363.zip"),
21
         sha256 = "c7ab64b1ccf9a678694a89035a8c865a693e4e872803778f91f0965c2f281d78",
22
         strip_prefix = "pybind11_protobuf-80f3440cd8fee124e077e2e47a8a17b78b451363",
23
-        patch_file = ["//third_party/pybind11_protobuf:remove_license.patch"],
24
+        patch_file = ["//third_party/pybind11_protobuf:remove_license.patch","//third_party:fix-pybind11_protobuf.patch"],
25
     )
26
 
27
     tf_http_archive(
(-)b/science/py-tensorflow/files/patch-third__party_absl_system.absl.base.BUILD (+17 lines)
Added Link Here
1
--- third_party/absl/system.absl.base.BUILD.orig	2023-09-12 16:46:28 UTC
2
+++ third_party/absl/system.absl.base.BUILD
3
@@ -17,7 +17,13 @@ cc_library(
4
 
5
 cc_library(
6
     name = "log_severity",
7
-    linkopts = ["-labsl_log_severity"],
8
+    linkopts = [
9
+        "-labsl_log_severity",
10
+        "-labsl_log_internal_check_op",
11
+        "-labsl_log_internal_conditions",
12
+        "-labsl_log_internal_message",
13
+        "-labsl_log_internal_nullguard",
14
+    ],
15
 )
16
 
17
 cc_library(
(-)b/science/py-tensorflow/files/patch-third__party_absl_system.absl.functional.BUILD (+13 lines)
Added Link Here
1
--- third_party/absl/system.absl.functional.BUILD.orig	2023-09-12 16:46:28 UTC
2
+++ third_party/absl/system.absl.functional.BUILD
3
@@ -3,6 +3,10 @@ cc_library(
4
 package(default_visibility = ["//visibility:public"])
5
 
6
 cc_library(
7
+    name = "any_invocable",
8
+)
9
+
10
+cc_library(
11
     name = "bind_front",
12
 )
13
 
(-)b/science/py-tensorflow/files/patch-third__party_absl_system.absl.log.BUILD (+13 lines)
Added Link Here
1
--- third_party/absl/system.absl.log.BUILD.orig	2024-06-26 12:02:28 UTC
2
+++ third_party/absl/system.absl.log.BUILD
3
@@ -0,0 +1,10 @@
4
+load("@rules_cc//cc:defs.bzl", "cc_library")
5
+
6
+package(default_visibility = ["//visibility:public"])
7
+
8
+[cc_library(
9
+    name = n,
10
+) for n in [
11
+    "log",
12
+    "check",
13
+]]
(-)b/science/py-tensorflow/files/patch-third__party_absl_system.absl.strings.BUILD (-15 / +4 lines)
Lines 1-15 Link Here
1
--- third_party/absl/system.absl.strings.BUILD.orig	2022-05-22 22:28:22 UTC
1
--- third_party/absl/system.absl.strings.BUILD.orig	2023-09-12 16:46:28 UTC
2
+++ third_party/absl/system.absl.strings.BUILD
2
+++ third_party/absl/system.absl.strings.BUILD
3
@@ -4,7 +4,7 @@ package(default_visibility = ["//visibility:public"])
3
@@ -26,7 +26,11 @@ cc_library(
4
 
5
 cc_library(
6
     name = "strings",
7
-    linkopts = ["-labsl_strings"],
8
+    linkopts = ["-L%%LOCALBASE%%/lib", "-labsl_strings"],
9
     deps = [
10
         ":internal",
11
         "//absl/base",
12
@@ -26,7 +26,13 @@ cc_library(
13
 
4
 
14
 cc_library(
5
 cc_library(
15
     name = "cord",
6
     name = "cord",
Lines 17-26 Link Here
17
+    linkopts = [
8
+    linkopts = [
18
+        "-labsl_cord",
9
+        "-labsl_cord",
19
+        "-labsl_cord_internal",
10
+        "-labsl_cord_internal",
20
+        "-labsl_cordz_functions",
11
+        "-labsl_cordz_info"
21
+        "-labsl_cordz_handle",
12
+    ],
22
+        "-labsl_cordz_info",
23
+        "-labsl_cordz_sample_token",],
24
     deps = [
13
     deps = [
25
         ":str_format",
14
         ":str_format",
26
         "//absl/container:compressed_tuple",
15
         "//absl/container:compressed_tuple",
(-)b/science/py-tensorflow/files/patch-third__party_absl_workspace.bzl (+10 lines)
Added Link Here
1
--- third_party/absl/workspace.bzl.orig	2023-09-12 16:46:28 UTC
2
+++ third_party/absl/workspace.bzl
3
@@ -20,6 +20,7 @@ def repo():
4
         "flags",
5
         "functional",
6
         "hash",
7
+        "log",
8
         "memory",
9
         "meta",
10
         "numeric",
(-)a/science/py-tensorflow/files/patch-third__party_cpuinfo_cpuinfo.BUILD (-51 lines)
Removed Link Here
1
--- third_party/cpuinfo/cpuinfo.BUILD.orig	2022-05-22 22:28:22 UTC
2
+++ third_party/cpuinfo/cpuinfo.BUILD
3
@@ -100,35 +100,7 @@ EMSCRIPTEN_SRCS = [
4
 cc_library(
5
     name = "cpuinfo_impl",
6
     srcs = select({
7
-        ":linux_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS,
8
-        ":linux_arm": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
9
-        ":linux_armhf": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
10
-        ":linux_armv7a": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
11
-        ":linux_armeabi": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
12
-        ":linux_aarch64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS,
13
-        ":linux_mips64": COMMON_SRCS + LINUX_SRCS,
14
-        ":linux_riscv64": COMMON_SRCS + LINUX_SRCS,
15
-        ":linux_s390x": COMMON_SRCS + LINUX_SRCS,
16
-        ":macos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
17
-        ":macos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
18
-        ":windows_x86_64": COMMON_SRCS + X86_SRCS + WINDOWS_X86_SRCS,
19
-        ":android_armv7": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS + ANDROID_ARM_SRCS,
20
-        ":android_arm64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS + ANDROID_ARM_SRCS,
21
-        ":android_x86": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS,
22
-        ":android_x86_64": COMMON_SRCS + X86_SRCS + LINUX_SRCS + LINUX_X86_SRCS,
23
-        ":ios_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
24
-        ":ios_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
25
-        ":ios_armv7": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
26
-        ":ios_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
27
-        ":ios_arm64e": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
28
-        ":ios_sim_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
29
-        ":watchos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
30
-        ":watchos_x86": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
31
-        ":watchos_armv7k": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
32
-        ":watchos_arm64_32": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
33
-        ":tvos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
34
-        ":tvos_arm64": COMMON_SRCS + MACH_SRCS + MACH_ARM_SRCS,
35
-        ":emscripten_wasm": COMMON_SRCS + EMSCRIPTEN_SRCS,
36
+        "//conditions:default": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
37
     }),
38
     copts = select({
39
         ":windows_x86_64": [],
40
@@ -187,6 +159,11 @@ cc_library(
41
 )
42
 
43
 ############################# Build configurations #############################
44
+
45
+config_setting(
46
+    name = "default",
47
+    values = {"cpu": "k8"},
48
+)
49
 
50
 config_setting(
51
     name = "linux_x86_64",
(-)a/science/py-tensorflow/files/patch-third__party_cpuinfo_workspace.bzl (-9 lines)
Removed Link Here
1
--- third_party/cpuinfo/workspace.bzl.orig	2022-08-29 16:23:14 UTC
2
+++ third_party/cpuinfo/workspace.bzl
3
@@ -8,5 +8,6 @@ def repo():
4
         strip_prefix = "cpuinfo-5916273f79a21551890fd3d56fc5375a78d1598d",
5
         sha256 = "2a160c527d3c58085ce260f34f9e2b161adc009b34186a2baf24e74376e89e6d",
6
         urls = tf_mirror_urls("https://github.com/pytorch/cpuinfo/archive/5916273f79a21551890fd3d56fc5375a78d1598d.zip"),
7
+	patch_file = ["//third_party:fix_cpuinfo.patch"],
8
         build_file = "//third_party/cpuinfo:cpuinfo.BUILD",
9
     )
(-)a/science/py-tensorflow/files/patch-third__party_llvm_macos__build__fix.patch (-11 lines)
Removed Link Here
1
--- third_party/llvm/macos_build_fix.patch.orig	2022-09-06 16:15:49 UTC
2
+++ third_party/llvm/macos_build_fix.patch
3
@@ -38,7 +38,7 @@ index ff64df694048..c9c35b01711c 100644
4
 -    "@bazel_tools//src/conditions:darwin_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"),
5
 -    "@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"),
6
 +    "//llvm:macos_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"),
7
-+    "@bazel_tools//src/conditions:darwin": native_arch_defines("X86", "x86_64-unknown-darwin"),
8
++    "@bazel_tools//src/conditions:freebsd": native_arch_defines("X86", "x86_64-unknown-freebsd13.0"),
9
      "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"),
10
      "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"),
11
  }) + [
(-)b/science/py-tensorflow/files/patch-third__party_llvm_workspace.bzl (-6 / +6 lines)
Lines 1-10 Link Here
1
--- third_party/llvm/workspace.bzl.orig	2022-05-22 22:28:22 UTC
1
--- third_party/llvm/workspace.bzl.orig	2023-09-12 16:46:28 UTC
2
+++ third_party/llvm/workspace.bzl
2
+++ third_party/llvm/workspace.bzl
3
@@ -16,6 +16,6 @@ def repo(name):
3
@@ -21,6 +21,7 @@ def repo(name):
4
             "https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
4
             "//third_party/llvm:build.patch",
5
             "//third_party/llvm:mathextras.patch",
6
             "//third_party/llvm:zstd.patch",
7
+            "//third_party:fix-environ.patch"
5
         ],
8
         ],
6
         build_file = "//third_party/llvm:llvm.BUILD",
7
-        patch_file = ["//third_party/llvm:macos_build_fix.patch"],
8
+        patch_file = ["//third_party/llvm:macos_build_fix.patch", "//third_party:freebsd_python_fix.patch", "//third_party:fix-environ.patch"],
9
         link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
9
         link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
10
     )
10
     )
(-)a/science/py-tensorflow/files/patch-third__party_py_BUILD.tpl (-17 lines)
Removed Link Here
1
--- third_party/py/BUILD.tpl.orig	2022-09-07 10:53:01 UTC
2
+++ third_party/py/BUILD.tpl
3
@@ -9,12 +9,14 @@ load("@bazel_tools//tools/python:toolchain.bzl", "py_r
4
 py_runtime(
5
     name = "py2_runtime",
6
     interpreter_path = "%{PYTHON_BIN_PATH}",
7
+    stub_shebang = "#!%{PYTHON_BIN_PATH}",
8
     python_version = "PY2",
9
 )
10
 
11
 py_runtime(
12
     name = "py3_runtime",
13
     interpreter_path = "%{PYTHON_BIN_PATH}",
14
+    stub_shebang = "#!%{PYTHON_BIN_PATH}",
15
     python_version = "PY3",
16
 )
17
 
(-)a/science/py-tensorflow/files/patch-third__party_systemlibs_protobuf.BUILD (-25 lines)
Removed Link Here
1
--- third_party/systemlibs/protobuf.BUILD.orig	2022-09-01 05:13:59 UTC
2
+++ third_party/systemlibs/protobuf.BUILD
3
@@ -61,19 +61,19 @@ genrule(
4
 
5
 cc_library(
6
     name = "protobuf",
7
-    linkopts = ["-lprotobuf"],
8
+    linkopts = ["-L%%LOCALBASE%%/lib", "-lprotobuf"],
9
     visibility = ["//visibility:public"],
10
 )
11
 
12
 cc_library(
13
     name = "protobuf_headers",
14
-    linkopts = ["-lprotobuf"],
15
+    linkopts = ["-L%%LOCALBASE%%/lib", "-lprotobuf"],
16
     visibility = ["//visibility:public"],
17
 )
18
 
19
 cc_library(
20
     name = "protoc_lib",
21
-    linkopts = ["-lprotoc"],
22
+    linkopts = ["-L%%LOCALBASE%%/lib", "-lprotoc"],
23
     visibility = ["//visibility:public"],
24
 )
25
 
(-)b/science/py-tensorflow/pkg-plist (-147 / +344 lines)
Lines 8-13 include/tensorflow/c/eager/dlpack.h Link Here
8
include/tensorflow/c/ops.h
8
include/tensorflow/c/ops.h
9
include/tensorflow/c/tensor_interface.h
9
include/tensorflow/c/tensor_interface.h
10
include/tensorflow/c/tf_attrtype.h
10
include/tensorflow/c/tf_attrtype.h
11
include/tensorflow/c/tf_buffer.h
11
include/tensorflow/c/tf_datatype.h
12
include/tensorflow/c/tf_datatype.h
12
include/tensorflow/c/tf_file_statistics.h
13
include/tensorflow/c/tf_file_statistics.h
13
include/tensorflow/c/tf_status.h
14
include/tensorflow/c/tf_status.h
Lines 94-102 include/tensorflow/compiler/xla/array.h Link Here
94
include/tensorflow/compiler/xla/array2d.h
95
include/tensorflow/compiler/xla/array2d.h
95
include/tensorflow/compiler/xla/array3d.h
96
include/tensorflow/compiler/xla/array3d.h
96
include/tensorflow/compiler/xla/array4d.h
97
include/tensorflow/compiler/xla/array4d.h
98
include/tensorflow/compiler/xla/autotune_results.pb.h
97
include/tensorflow/compiler/xla/comparison_util.h
99
include/tensorflow/compiler/xla/comparison_util.h
98
include/tensorflow/compiler/xla/debug_options_flags.h
100
include/tensorflow/compiler/xla/debug_options_flags.h
99
include/tensorflow/compiler/xla/debug_options_parsers.h
101
include/tensorflow/compiler/xla/debug_options_parsers.h
102
include/tensorflow/compiler/xla/hlo/ir/dfs_hlo_visitor.h
103
include/tensorflow/compiler/xla/hlo/ir/dfs_hlo_visitor_with_default.h
104
include/tensorflow/compiler/xla/hlo/ir/dynamic_parameter_binding.h
105
include/tensorflow/compiler/xla/hlo/ir/hlo_casting_utils.h
106
include/tensorflow/compiler/xla/hlo/ir/hlo_clone_context.h
107
include/tensorflow/compiler/xla/hlo/ir/hlo_computation.h
108
include/tensorflow/compiler/xla/hlo/ir/hlo_domain_metadata.h
109
include/tensorflow/compiler/xla/hlo/ir/hlo_input_output_alias_config.h
110
include/tensorflow/compiler/xla/hlo/ir/hlo_instruction.h
111
include/tensorflow/compiler/xla/hlo/ir/hlo_instructions.h
112
include/tensorflow/compiler/xla/hlo/ir/hlo_module.h
113
include/tensorflow/compiler/xla/hlo/ir/hlo_module_metadata.h
114
include/tensorflow/compiler/xla/hlo/ir/hlo_op_metadata.h
115
include/tensorflow/compiler/xla/hlo/ir/hlo_opcode.h
116
include/tensorflow/compiler/xla/hlo/ir/hlo_schedule.h
117
include/tensorflow/compiler/xla/hlo/ir/hlo_sharding.h
118
include/tensorflow/compiler/xla/hlo/ir/hlo_sharding_metadata.h
100
include/tensorflow/compiler/xla/index_util.h
119
include/tensorflow/compiler/xla/index_util.h
101
include/tensorflow/compiler/xla/iterator_util.h
120
include/tensorflow/compiler/xla/iterator_util.h
102
include/tensorflow/compiler/xla/layout.h
121
include/tensorflow/compiler/xla/layout.h
Lines 104-136 include/tensorflow/compiler/xla/layout_util.h Link Here
104
include/tensorflow/compiler/xla/literal.h
123
include/tensorflow/compiler/xla/literal.h
105
include/tensorflow/compiler/xla/literal_util.h
124
include/tensorflow/compiler/xla/literal_util.h
106
include/tensorflow/compiler/xla/map_util.h
125
include/tensorflow/compiler/xla/map_util.h
126
include/tensorflow/compiler/xla/mlir/utils/error_util.h
107
include/tensorflow/compiler/xla/overflow_util.h
127
include/tensorflow/compiler/xla/overflow_util.h
108
include/tensorflow/compiler/xla/parse_flags_from_env.h
128
include/tensorflow/compiler/xla/parse_flags_from_env.h
109
include/tensorflow/compiler/xla/permutation_util.h
129
include/tensorflow/compiler/xla/permutation_util.h
110
include/tensorflow/compiler/xla/primitive_util.h
130
include/tensorflow/compiler/xla/primitive_util.h
131
include/tensorflow/compiler/xla/printer.h
111
include/tensorflow/compiler/xla/protobuf_util.h
132
include/tensorflow/compiler/xla/protobuf_util.h
133
include/tensorflow/compiler/xla/service/compilation_environments.h
112
include/tensorflow/compiler/xla/service/computation_layout.h
134
include/tensorflow/compiler/xla/service/computation_layout.h
113
include/tensorflow/compiler/xla/service/computation_placer.h
135
include/tensorflow/compiler/xla/service/computation_placer.h
114
include/tensorflow/compiler/xla/service/dfs_hlo_visitor.h
115
include/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h
116
include/tensorflow/compiler/xla/service/dynamic_parameter_binding.h
117
include/tensorflow/compiler/xla/service/global_device_id.h
136
include/tensorflow/compiler/xla/service/global_device_id.h
118
include/tensorflow/compiler/xla/service/hlo.pb.h
137
include/tensorflow/compiler/xla/service/hlo.pb.h
119
include/tensorflow/compiler/xla/service/hlo_casting_utils.h
120
include/tensorflow/compiler/xla/service/hlo_clone_context.h
121
include/tensorflow/compiler/xla/service/hlo_computation.h
122
include/tensorflow/compiler/xla/service/hlo_domain_metadata.h
123
include/tensorflow/compiler/xla/service/hlo_input_output_alias_config.h
124
include/tensorflow/compiler/xla/service/hlo_instruction.h
125
include/tensorflow/compiler/xla/service/hlo_instructions.h
126
include/tensorflow/compiler/xla/service/hlo_module.h
127
include/tensorflow/compiler/xla/service/hlo_module_config.h
138
include/tensorflow/compiler/xla/service/hlo_module_config.h
128
include/tensorflow/compiler/xla/service/hlo_module_metadata.h
139
include/tensorflow/compiler/xla/service/mapped_ptr_container_sorter.h
129
include/tensorflow/compiler/xla/service/hlo_op_metadata.h
130
include/tensorflow/compiler/xla/service/hlo_opcode.h
131
include/tensorflow/compiler/xla/service/hlo_schedule.h
132
include/tensorflow/compiler/xla/service/hlo_sharding.h
133
include/tensorflow/compiler/xla/service/hlo_sharding_metadata.h
134
include/tensorflow/compiler/xla/service/name_uniquer.h
140
include/tensorflow/compiler/xla/service/name_uniquer.h
135
include/tensorflow/compiler/xla/shape.h
141
include/tensorflow/compiler/xla/shape.h
136
include/tensorflow/compiler/xla/shape_layout.h
142
include/tensorflow/compiler/xla/shape_layout.h
Lines 139-144 include/tensorflow/compiler/xla/shape_util.h Link Here
139
include/tensorflow/compiler/xla/status.h
145
include/tensorflow/compiler/xla/status.h
140
include/tensorflow/compiler/xla/status_macros.h
146
include/tensorflow/compiler/xla/status_macros.h
141
include/tensorflow/compiler/xla/statusor.h
147
include/tensorflow/compiler/xla/statusor.h
148
include/tensorflow/compiler/xla/stream_executor/allocator_stats.h
149
include/tensorflow/compiler/xla/stream_executor/blas.h
150
include/tensorflow/compiler/xla/stream_executor/cuda/cuda_activation.h
151
include/tensorflow/compiler/xla/stream_executor/cuda/cuda_platform_id.h
152
include/tensorflow/compiler/xla/stream_executor/data_type.h
153
include/tensorflow/compiler/xla/stream_executor/device_description.h
154
include/tensorflow/compiler/xla/stream_executor/device_description.pb.h
155
include/tensorflow/compiler/xla/stream_executor/device_host_allocator.h
156
include/tensorflow/compiler/xla/stream_executor/device_id_utils.h
157
include/tensorflow/compiler/xla/stream_executor/device_mem_allocator.h
158
include/tensorflow/compiler/xla/stream_executor/device_memory.h
159
include/tensorflow/compiler/xla/stream_executor/device_memory_allocator.h
160
include/tensorflow/compiler/xla/stream_executor/device_options.h
161
include/tensorflow/compiler/xla/stream_executor/dnn.h
162
include/tensorflow/compiler/xla/stream_executor/dnn.pb.h
163
include/tensorflow/compiler/xla/stream_executor/event.h
164
include/tensorflow/compiler/xla/stream_executor/executor_cache.h
165
include/tensorflow/compiler/xla/stream_executor/fft.h
166
include/tensorflow/compiler/xla/stream_executor/gpu/gpu_activation.h
167
include/tensorflow/compiler/xla/stream_executor/gpu/gpu_init.h
168
include/tensorflow/compiler/xla/stream_executor/gpu_launch_dim.h
169
include/tensorflow/compiler/xla/stream_executor/host/host_platform_id.h
170
include/tensorflow/compiler/xla/stream_executor/host_or_device_scalar.h
171
include/tensorflow/compiler/xla/stream_executor/kernel.h
172
include/tensorflow/compiler/xla/stream_executor/kernel_cache_config.h
173
include/tensorflow/compiler/xla/stream_executor/kernel_spec.h
174
include/tensorflow/compiler/xla/stream_executor/launch_dim.h
175
include/tensorflow/compiler/xla/stream_executor/module_spec.h
176
include/tensorflow/compiler/xla/stream_executor/multi_platform_manager.h
177
include/tensorflow/compiler/xla/stream_executor/numeric_options.h
178
include/tensorflow/compiler/xla/stream_executor/platform.h
179
include/tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.h
180
include/tensorflow/compiler/xla/stream_executor/platform/default/initialize.h
181
include/tensorflow/compiler/xla/stream_executor/platform/dso_loader.h
182
include/tensorflow/compiler/xla/stream_executor/platform/initialize.h
183
include/tensorflow/compiler/xla/stream_executor/platform/logging.h
184
include/tensorflow/compiler/xla/stream_executor/platform/platform.h
185
include/tensorflow/compiler/xla/stream_executor/platform/port.h
186
include/tensorflow/compiler/xla/stream_executor/plugin.h
187
include/tensorflow/compiler/xla/stream_executor/plugin_registry.h
188
include/tensorflow/compiler/xla/stream_executor/rng.h
189
include/tensorflow/compiler/xla/stream_executor/rocm/rocm_platform_id.h
190
include/tensorflow/compiler/xla/stream_executor/scratch_allocator.h
191
include/tensorflow/compiler/xla/stream_executor/stream.h
192
include/tensorflow/compiler/xla/stream_executor/stream_executor.h
193
include/tensorflow/compiler/xla/stream_executor/stream_executor_internal.h
194
include/tensorflow/compiler/xla/stream_executor/stream_executor_pimpl.h
195
include/tensorflow/compiler/xla/stream_executor/temporary_device_memory.h
196
include/tensorflow/compiler/xla/stream_executor/temporary_memory_manager.h
197
include/tensorflow/compiler/xla/stream_executor/timer.h
198
include/tensorflow/compiler/xla/stream_executor/trace_listener.h
142
include/tensorflow/compiler/xla/types.h
199
include/tensorflow/compiler/xla/types.h
143
include/tensorflow/compiler/xla/util.h
200
include/tensorflow/compiler/xla/util.h
144
include/tensorflow/compiler/xla/window_util.h
201
include/tensorflow/compiler/xla/window_util.h
Lines 146-151 include/tensorflow/compiler/xla/xla.pb.h Link Here
146
include/tensorflow/compiler/xla/xla_data.pb.h
203
include/tensorflow/compiler/xla/xla_data.pb.h
147
include/tensorflow/core/common_runtime/all_to_all.h
204
include/tensorflow/core/common_runtime/all_to_all.h
148
include/tensorflow/core/common_runtime/allocator_retry.h
205
include/tensorflow/core/common_runtime/allocator_retry.h
206
include/tensorflow/core/common_runtime/arg_ret_placement.h
149
include/tensorflow/core/common_runtime/base_collective_executor.h
207
include/tensorflow/core/common_runtime/base_collective_executor.h
150
include/tensorflow/core/common_runtime/bfc_allocator.h
208
include/tensorflow/core/common_runtime/bfc_allocator.h
151
include/tensorflow/core/common_runtime/buf_rendezvous.h
209
include/tensorflow/core/common_runtime/buf_rendezvous.h
Lines 157-163 include/tensorflow/core/common_runtime/collective_util.h Link Here
157
include/tensorflow/core/common_runtime/colocation_graph.h
215
include/tensorflow/core/common_runtime/colocation_graph.h
158
include/tensorflow/core/common_runtime/composite_device.h
216
include/tensorflow/core/common_runtime/composite_device.h
159
include/tensorflow/core/common_runtime/constant_folding.h
217
include/tensorflow/core/common_runtime/constant_folding.h
160
include/tensorflow/core/common_runtime/control_flow_deps_to_chains.h
161
include/tensorflow/core/common_runtime/copy_tensor.h
218
include/tensorflow/core/common_runtime/copy_tensor.h
162
include/tensorflow/core/common_runtime/costmodel_manager.h
219
include/tensorflow/core/common_runtime/costmodel_manager.h
163
include/tensorflow/core/common_runtime/debugger_state_interface.h
220
include/tensorflow/core/common_runtime/debugger_state_interface.h
Lines 166-172 include/tensorflow/core/common_runtime/device/device_event_mgr.h Link Here
166
include/tensorflow/core/common_runtime/device/device_host_allocator.h
223
include/tensorflow/core/common_runtime/device/device_host_allocator.h
167
include/tensorflow/core/common_runtime/device/device_id.h
224
include/tensorflow/core/common_runtime/device/device_id.h
168
include/tensorflow/core/common_runtime/device/device_id_manager.h
225
include/tensorflow/core/common_runtime/device/device_id_manager.h
169
include/tensorflow/core/common_runtime/device/device_id_utils.h
170
include/tensorflow/core/common_runtime/device/device_mem_allocator.h
226
include/tensorflow/core/common_runtime/device/device_mem_allocator.h
171
include/tensorflow/core/common_runtime/device_factory.h
227
include/tensorflow/core/common_runtime/device_factory.h
172
include/tensorflow/core/common_runtime/device_mgr.h
228
include/tensorflow/core/common_runtime/device_mgr.h
Lines 183-194 include/tensorflow/core/common_runtime/function_optimization_registry.h Link Here
183
include/tensorflow/core/common_runtime/function_utils.h
239
include/tensorflow/core/common_runtime/function_utils.h
184
include/tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.h
240
include/tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.h
185
include/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.h
241
include/tensorflow/core/common_runtime/gpu/gpu_cudamalloc_allocator.h
186
include/tensorflow/core/common_runtime/gpu/gpu_cudamallocasync_allocator.h
187
include/tensorflow/core/common_runtime/gpu/gpu_debug_allocator.h
242
include/tensorflow/core/common_runtime/gpu/gpu_debug_allocator.h
188
include/tensorflow/core/common_runtime/gpu/gpu_device.h
243
include/tensorflow/core/common_runtime/gpu/gpu_device.h
189
include/tensorflow/core/common_runtime/gpu/gpu_id.h
244
include/tensorflow/core/common_runtime/gpu/gpu_id.h
190
include/tensorflow/core/common_runtime/gpu/gpu_id_manager.h
245
include/tensorflow/core/common_runtime/gpu/gpu_id_manager.h
191
include/tensorflow/core/common_runtime/gpu/gpu_init.h
192
include/tensorflow/core/common_runtime/gpu/gpu_managed_allocator.h
246
include/tensorflow/core/common_runtime/gpu/gpu_managed_allocator.h
193
include/tensorflow/core/common_runtime/gpu/gpu_process_state.h
247
include/tensorflow/core/common_runtime/gpu/gpu_process_state.h
194
include/tensorflow/core/common_runtime/gpu/gpu_util.h
248
include/tensorflow/core/common_runtime/gpu/gpu_util.h
Lines 204-209 include/tensorflow/core/common_runtime/hierarchical_tree_broadcaster.h Link Here
204
include/tensorflow/core/common_runtime/inline_function_utils.h
258
include/tensorflow/core/common_runtime/inline_function_utils.h
205
include/tensorflow/core/common_runtime/input_colocation_exemption_registry.h
259
include/tensorflow/core/common_runtime/input_colocation_exemption_registry.h
206
include/tensorflow/core/common_runtime/inspecting_placer.h
260
include/tensorflow/core/common_runtime/inspecting_placer.h
261
include/tensorflow/core/common_runtime/int32_fulltype.h
207
include/tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.h
262
include/tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.h
208
include/tensorflow/core/common_runtime/local_device.h
263
include/tensorflow/core/common_runtime/local_device.h
209
include/tensorflow/core/common_runtime/local_executor_params.h
264
include/tensorflow/core/common_runtime/local_executor_params.h
Lines 216-224 include/tensorflow/core/common_runtime/lower_while_op.h Link Here
216
include/tensorflow/core/common_runtime/memory_types.h
271
include/tensorflow/core/common_runtime/memory_types.h
217
include/tensorflow/core/common_runtime/mkl_cpu_allocator.h
272
include/tensorflow/core/common_runtime/mkl_cpu_allocator.h
218
include/tensorflow/core/common_runtime/mkl_layout_pass.h
273
include/tensorflow/core/common_runtime/mkl_layout_pass.h
219
include/tensorflow/core/common_runtime/mkl_tfconversion_pass.h
220
include/tensorflow/core/common_runtime/node_file_writer.h
274
include/tensorflow/core/common_runtime/node_file_writer.h
221
include/tensorflow/core/common_runtime/optimization_registry.h
275
include/tensorflow/core/common_runtime/optimization_registry.h
276
include/tensorflow/core/common_runtime/optimized_function_graph_info.h
222
include/tensorflow/core/common_runtime/partitioning_utils.h
277
include/tensorflow/core/common_runtime/partitioning_utils.h
223
include/tensorflow/core/common_runtime/permuter.h
278
include/tensorflow/core/common_runtime/permuter.h
224
include/tensorflow/core/common_runtime/placer.h
279
include/tensorflow/core/common_runtime/placer.h
Lines 271-276 include/tensorflow/core/framework/common_shape_fns.h Link Here
271
include/tensorflow/core/framework/control_flow.h
326
include/tensorflow/core/framework/control_flow.h
272
include/tensorflow/core/framework/cost_graph.pb.h
327
include/tensorflow/core/framework/cost_graph.pb.h
273
include/tensorflow/core/framework/dataset.h
328
include/tensorflow/core/framework/dataset.h
329
include/tensorflow/core/framework/dataset.pb.h
274
include/tensorflow/core/framework/dataset_metadata.pb.h
330
include/tensorflow/core/framework/dataset_metadata.pb.h
275
include/tensorflow/core/framework/dataset_options.pb.h
331
include/tensorflow/core/framework/dataset_options.pb.h
276
include/tensorflow/core/framework/dataset_stateful_op_allowlist.h
332
include/tensorflow/core/framework/dataset_stateful_op_allowlist.h
Lines 285-290 include/tensorflow/core/framework/function.h Link Here
285
include/tensorflow/core/framework/function.pb.h
341
include/tensorflow/core/framework/function.pb.h
286
include/tensorflow/core/framework/function_handle_cache.h
342
include/tensorflow/core/framework/function_handle_cache.h
287
include/tensorflow/core/framework/graph.pb.h
343
include/tensorflow/core/framework/graph.pb.h
344
include/tensorflow/core/framework/graph_debug_info.pb.h
288
include/tensorflow/core/framework/graph_def_util.h
345
include/tensorflow/core/framework/graph_def_util.h
289
include/tensorflow/core/framework/graph_to_functiondef.h
346
include/tensorflow/core/framework/graph_to_functiondef.h
290
include/tensorflow/core/framework/graph_transfer_info.pb.h
347
include/tensorflow/core/framework/graph_transfer_info.pb.h
Lines 315-326 include/tensorflow/core/framework/op_kernel.h Link Here
315
include/tensorflow/core/framework/op_requires.h
372
include/tensorflow/core/framework/op_requires.h
316
include/tensorflow/core/framework/op_segment.h
373
include/tensorflow/core/framework/op_segment.h
317
include/tensorflow/core/framework/ops_util.h
374
include/tensorflow/core/framework/ops_util.h
375
include/tensorflow/core/framework/optimized_function_graph.pb.h
318
include/tensorflow/core/framework/partial_tensor_shape.h
376
include/tensorflow/core/framework/partial_tensor_shape.h
319
include/tensorflow/core/framework/queue_interface.h
377
include/tensorflow/core/framework/queue_interface.h
320
include/tensorflow/core/framework/reader_base.h
321
include/tensorflow/core/framework/reader_base.pb.h
378
include/tensorflow/core/framework/reader_base.pb.h
322
include/tensorflow/core/framework/reader_interface.h
379
include/tensorflow/core/framework/reader_interface.h
323
include/tensorflow/core/framework/reader_op_kernel.h
380
include/tensorflow/core/framework/reader_op_kernel.h
381
include/tensorflow/core/framework/ref_var.h
324
include/tensorflow/core/framework/register_types.h
382
include/tensorflow/core/framework/register_types.h
325
include/tensorflow/core/framework/register_types_traits.h
383
include/tensorflow/core/framework/register_types_traits.h
326
include/tensorflow/core/framework/registration/options.h
384
include/tensorflow/core/framework/registration/options.h
Lines 434-439 include/tensorflow/core/grappler/optimizers/scoped_allocator_optimizer.h Link Here
434
include/tensorflow/core/grappler/optimizers/shape_optimizer.h
492
include/tensorflow/core/grappler/optimizers/shape_optimizer.h
435
include/tensorflow/core/grappler/optimizers/static_schedule.h
493
include/tensorflow/core/grappler/optimizers/static_schedule.h
436
include/tensorflow/core/grappler/optimizers/tfg_optimizer_hook.h
494
include/tensorflow/core/grappler/optimizers/tfg_optimizer_hook.h
495
include/tensorflow/core/grappler/optimizers/tfg_passes_builder.h
437
include/tensorflow/core/grappler/utils.h
496
include/tensorflow/core/grappler/utils.h
438
include/tensorflow/core/grappler/utils/canonicalizer.h
497
include/tensorflow/core/grappler/utils/canonicalizer.h
439
include/tensorflow/core/grappler/utils/colocation.h
498
include/tensorflow/core/grappler/utils/colocation.h
Lines 457-466 include/tensorflow/core/ir/dialect.h.inc Link Here
457
include/tensorflow/core/ir/importexport/convert_attributes.h
516
include/tensorflow/core/ir/importexport/convert_attributes.h
458
include/tensorflow/core/ir/importexport/convert_tensor.h
517
include/tensorflow/core/ir/importexport/convert_tensor.h
459
include/tensorflow/core/ir/importexport/convert_types.h
518
include/tensorflow/core/ir/importexport/convert_types.h
460
include/tensorflow/core/ir/importexport/export.h
461
include/tensorflow/core/ir/importexport/functiondef_export.h
519
include/tensorflow/core/ir/importexport/functiondef_export.h
462
include/tensorflow/core/ir/importexport/functiondef_import.h
520
include/tensorflow/core/ir/importexport/functiondef_import.h
463
include/tensorflow/core/ir/importexport/import.h
521
include/tensorflow/core/ir/importexport/graphdef_export.h
522
include/tensorflow/core/ir/importexport/graphdef_import.h
464
include/tensorflow/core/ir/importexport/mangling.h
523
include/tensorflow/core/ir/importexport/mangling.h
465
include/tensorflow/core/ir/importexport/parse_text_proto.h
524
include/tensorflow/core/ir/importexport/parse_text_proto.h
466
include/tensorflow/core/ir/interfaces.cc.inc
525
include/tensorflow/core/ir/interfaces.cc.inc
Lines 469-474 include/tensorflow/core/ir/interfaces.h.inc Link Here
469
include/tensorflow/core/ir/ops.cc.inc
528
include/tensorflow/core/ir/ops.cc.inc
470
include/tensorflow/core/ir/ops.h
529
include/tensorflow/core/ir/ops.h
471
include/tensorflow/core/ir/ops.h.inc
530
include/tensorflow/core/ir/ops.h.inc
531
include/tensorflow/core/ir/tf_op_names.inc
532
include/tensorflow/core/ir/tf_op_registry.h
472
include/tensorflow/core/ir/tf_op_wrapper.h
533
include/tensorflow/core/ir/tf_op_wrapper.h
473
include/tensorflow/core/ir/types/attributes.cc.inc
534
include/tensorflow/core/ir/types/attributes.cc.inc
474
include/tensorflow/core/ir/types/attributes.h.inc
535
include/tensorflow/core/ir/types/attributes.h.inc
Lines 481-492 include/tensorflow/core/ir/types/types.cc.inc Link Here
481
include/tensorflow/core/ir/types/types.def
542
include/tensorflow/core/ir/types/types.def
482
include/tensorflow/core/ir/types/types.h.inc
543
include/tensorflow/core/ir/types/types.h.inc
483
include/tensorflow/core/ir/utility.h
544
include/tensorflow/core/ir/utility.h
545
include/tensorflow/core/ir/utils/shape_inference_utils.h
484
include/tensorflow/core/kernels/ops_util.h
546
include/tensorflow/core/kernels/ops_util.h
485
include/tensorflow/core/lib/bfloat16/bfloat16.h
547
include/tensorflow/core/lib/bfloat16/bfloat16.h
486
include/tensorflow/core/lib/core/arena.h
548
include/tensorflow/core/lib/core/arena.h
487
include/tensorflow/core/lib/core/bitmap.h
549
include/tensorflow/core/lib/core/bitmap.h
488
include/tensorflow/core/lib/core/bits.h
550
include/tensorflow/core/lib/core/bits.h
489
include/tensorflow/core/lib/core/blocking_counter.h
490
include/tensorflow/core/lib/core/coding.h
551
include/tensorflow/core/lib/core/coding.h
491
include/tensorflow/core/lib/core/error_codes.pb.h
552
include/tensorflow/core/lib/core/error_codes.pb.h
492
include/tensorflow/core/lib/core/errors.h
553
include/tensorflow/core/lib/core/errors.h
Lines 532-541 include/tensorflow/core/lib/io/proto_encode_helper.h Link Here
532
include/tensorflow/core/lib/io/random_inputstream.h
593
include/tensorflow/core/lib/io/random_inputstream.h
533
include/tensorflow/core/lib/io/record_reader.h
594
include/tensorflow/core/lib/io/record_reader.h
534
include/tensorflow/core/lib/io/record_writer.h
595
include/tensorflow/core/lib/io/record_writer.h
535
include/tensorflow/core/lib/io/snappy/snappy_compression_options.h
536
include/tensorflow/core/lib/io/snappy/snappy_inputbuffer.h
537
include/tensorflow/core/lib/io/snappy/snappy_inputstream.h
538
include/tensorflow/core/lib/io/snappy/snappy_outputbuffer.h
539
include/tensorflow/core/lib/io/table.h
596
include/tensorflow/core/lib/io/table.h
540
include/tensorflow/core/lib/io/table_builder.h
597
include/tensorflow/core/lib/io/table_builder.h
541
include/tensorflow/core/lib/io/table_options.h
598
include/tensorflow/core/lib/io/table_options.h
Lines 545-550 include/tensorflow/core/lib/io/zlib_inputstream.h Link Here
545
include/tensorflow/core/lib/io/zlib_outputbuffer.h
602
include/tensorflow/core/lib/io/zlib_outputbuffer.h
546
include/tensorflow/core/lib/llvm_rtti/llvm_rtti.h
603
include/tensorflow/core/lib/llvm_rtti/llvm_rtti.h
547
include/tensorflow/core/lib/math/math_util.h
604
include/tensorflow/core/lib/math/math_util.h
605
include/tensorflow/core/lib/monitoring/cell_reader.h
548
include/tensorflow/core/lib/monitoring/collected_metrics.h
606
include/tensorflow/core/lib/monitoring/collected_metrics.h
549
include/tensorflow/core/lib/monitoring/collection_registry.h
607
include/tensorflow/core/lib/monitoring/collection_registry.h
550
include/tensorflow/core/lib/monitoring/counter.h
608
include/tensorflow/core/lib/monitoring/counter.h
Lines 552-563 include/tensorflow/core/lib/monitoring/gauge.h Link Here
552
include/tensorflow/core/lib/monitoring/metric_def.h
610
include/tensorflow/core/lib/monitoring/metric_def.h
553
include/tensorflow/core/lib/monitoring/percentile_sampler.h
611
include/tensorflow/core/lib/monitoring/percentile_sampler.h
554
include/tensorflow/core/lib/monitoring/sampler.h
612
include/tensorflow/core/lib/monitoring/sampler.h
613
include/tensorflow/core/lib/monitoring/test_utils.h
555
include/tensorflow/core/lib/monitoring/timed.h
614
include/tensorflow/core/lib/monitoring/timed.h
556
include/tensorflow/core/lib/monitoring/types.h
615
include/tensorflow/core/lib/monitoring/types.h
557
include/tensorflow/core/lib/random/distribution_sampler.h
616
include/tensorflow/core/lib/random/distribution_sampler.h
558
include/tensorflow/core/lib/random/exact_uniform_int.h
617
include/tensorflow/core/lib/random/exact_uniform_int.h
559
include/tensorflow/core/lib/random/philox_random.h
618
include/tensorflow/core/lib/random/philox_random.h
560
include/tensorflow/core/lib/random/philox_random_test_utils.h
561
include/tensorflow/core/lib/random/random.h
619
include/tensorflow/core/lib/random/random.h
562
include/tensorflow/core/lib/random/random_distributions.h
620
include/tensorflow/core/lib/random/random_distributions.h
563
include/tensorflow/core/lib/random/random_distributions_utils.h
621
include/tensorflow/core/lib/random/random_distributions_utils.h
Lines 579-599 include/tensorflow/core/platform/bfloat16.h Link Here
579
include/tensorflow/core/platform/blocking_counter.h
637
include/tensorflow/core/platform/blocking_counter.h
580
include/tensorflow/core/platform/byte_order.h
638
include/tensorflow/core/platform/byte_order.h
581
include/tensorflow/core/platform/casts.h
639
include/tensorflow/core/platform/casts.h
582
include/tensorflow/core/platform/cloud/auth_provider.h
583
include/tensorflow/core/platform/cloud/compute_engine_metadata_client.h
584
include/tensorflow/core/platform/cloud/compute_engine_zone_provider.h
585
include/tensorflow/core/platform/cloud/curl_http_request.h
586
include/tensorflow/core/platform/cloud/expiring_lru_cache.h
587
include/tensorflow/core/platform/cloud/file_block_cache.h
588
include/tensorflow/core/platform/cloud/gcs_dns_cache.h
589
include/tensorflow/core/platform/cloud/gcs_file_system.h
590
include/tensorflow/core/platform/cloud/gcs_throttle.h
591
include/tensorflow/core/platform/cloud/google_auth_provider.h
592
include/tensorflow/core/platform/cloud/http_request.h
593
include/tensorflow/core/platform/cloud/oauth_client.h
594
include/tensorflow/core/platform/cloud/ram_file_block_cache.h
595
include/tensorflow/core/platform/cloud/time_util.h
596
include/tensorflow/core/platform/cloud/zone_provider.h
597
include/tensorflow/core/platform/coding.h
640
include/tensorflow/core/platform/coding.h
598
include/tensorflow/core/platform/context.h
641
include/tensorflow/core/platform/context.h
599
include/tensorflow/core/platform/cord.h
642
include/tensorflow/core/platform/cord.h
Lines 603-634 include/tensorflow/core/platform/crash_analysis.h Link Here
603
include/tensorflow/core/platform/ctstring.h
646
include/tensorflow/core/platform/ctstring.h
604
include/tensorflow/core/platform/ctstring_internal.h
647
include/tensorflow/core/platform/ctstring_internal.h
605
include/tensorflow/core/platform/cuda.h
648
include/tensorflow/core/platform/cuda.h
606
include/tensorflow/core/platform/cuda_libdevice_path.h
607
include/tensorflow/core/platform/default/casts.h
608
include/tensorflow/core/platform/default/context.h
609
include/tensorflow/core/platform/default/cord.h
610
include/tensorflow/core/platform/default/dynamic_annotations.h
611
include/tensorflow/core/platform/default/integral_types.h
612
include/tensorflow/core/platform/default/logging.h
613
include/tensorflow/core/platform/default/mutex.h
614
include/tensorflow/core/platform/default/mutex_data.h
615
include/tensorflow/core/platform/default/notification.h
616
include/tensorflow/core/platform/default/posix_file_system.h
617
include/tensorflow/core/platform/default/stacktrace.h
618
include/tensorflow/core/platform/default/subprocess.h
619
include/tensorflow/core/platform/default/tracing_impl.h
620
include/tensorflow/core/platform/default/unbounded_work_queue.h
621
include/tensorflow/core/platform/demangle.h
649
include/tensorflow/core/platform/demangle.h
622
include/tensorflow/core/platform/denormal.h
650
include/tensorflow/core/platform/denormal.h
623
include/tensorflow/core/platform/dynamic_annotations.h
651
include/tensorflow/core/platform/dynamic_annotations.h
624
include/tensorflow/core/platform/enable_tf2_utils.h
652
include/tensorflow/core/platform/enable_tf2_utils.h
625
include/tensorflow/core/platform/env.h
653
include/tensorflow/core/platform/env.h
626
include/tensorflow/core/platform/env_time.h
654
include/tensorflow/core/platform/env_time.h
655
include/tensorflow/core/platform/error_payloads.h
627
include/tensorflow/core/platform/errors.h
656
include/tensorflow/core/platform/errors.h
628
include/tensorflow/core/platform/file_statistics.h
657
include/tensorflow/core/platform/file_statistics.h
629
include/tensorflow/core/platform/file_system.h
658
include/tensorflow/core/platform/file_system.h
630
include/tensorflow/core/platform/file_system_helper.h
659
include/tensorflow/core/platform/file_system_helper.h
631
include/tensorflow/core/platform/fingerprint.h
660
include/tensorflow/core/platform/fingerprint.h
661
include/tensorflow/core/platform/float8.h
632
include/tensorflow/core/platform/hash.h
662
include/tensorflow/core/platform/hash.h
633
include/tensorflow/core/platform/host_info.h
663
include/tensorflow/core/platform/host_info.h
634
include/tensorflow/core/platform/human_readable_json.h
664
include/tensorflow/core/platform/human_readable_json.h
Lines 655-661 include/tensorflow/core/platform/profile_utils/clock_cycle_profiler.h Link Here
655
include/tensorflow/core/platform/profile_utils/cpu_utils.h
685
include/tensorflow/core/platform/profile_utils/cpu_utils.h
656
include/tensorflow/core/platform/profile_utils/i_cpu_utils_helper.h
686
include/tensorflow/core/platform/profile_utils/i_cpu_utils_helper.h
657
include/tensorflow/core/platform/protobuf.h
687
include/tensorflow/core/platform/protobuf.h
658
include/tensorflow/core/platform/protobuf_compiler.h
659
include/tensorflow/core/platform/protobuf_internal.h
688
include/tensorflow/core/platform/protobuf_internal.h
660
include/tensorflow/core/platform/ram_file_system.h
689
include/tensorflow/core/platform/ram_file_system.h
661
include/tensorflow/core/platform/random.h
690
include/tensorflow/core/platform/random.h
Lines 677-683 include/tensorflow/core/platform/stacktrace_handler.h Link Here
677
include/tensorflow/core/platform/status.h
706
include/tensorflow/core/platform/status.h
678
include/tensorflow/core/platform/status_matchers.h
707
include/tensorflow/core/platform/status_matchers.h
679
include/tensorflow/core/platform/statusor.h
708
include/tensorflow/core/platform/statusor.h
680
include/tensorflow/core/platform/statusor_internals.h
681
include/tensorflow/core/platform/str_util.h
709
include/tensorflow/core/platform/str_util.h
682
include/tensorflow/core/platform/strcat.h
710
include/tensorflow/core/platform/strcat.h
683
include/tensorflow/core/platform/stream_executor.h
711
include/tensorflow/core/platform/stream_executor.h
Lines 698-729 include/tensorflow/core/platform/tracing.h Link Here
698
include/tensorflow/core/platform/tstring.h
726
include/tensorflow/core/platform/tstring.h
699
include/tensorflow/core/platform/types.h
727
include/tensorflow/core/platform/types.h
700
include/tensorflow/core/platform/unbounded_work_queue.h
728
include/tensorflow/core/platform/unbounded_work_queue.h
701
include/tensorflow/core/profiler/internal/cpu/traceme_recorder.h
702
include/tensorflow/core/profiler/lib/traceme.h
703
include/tensorflow/core/profiler/lib/traceme_encode.h
704
include/tensorflow/core/profiler/profiler_options.pb.h
729
include/tensorflow/core/profiler/profiler_options.pb.h
705
include/tensorflow/core/profiler/protobuf/xplane.pb.h
730
include/tensorflow/core/profiler/protobuf/xplane.pb.h
706
include/tensorflow/core/profiler/utils/math_utils.h
707
include/tensorflow/core/profiler/utils/time_utils.h
708
include/tensorflow/core/protobuf/bfc_memory_map.pb.h
731
include/tensorflow/core/protobuf/bfc_memory_map.pb.h
709
include/tensorflow/core/protobuf/cluster.pb.h
732
include/tensorflow/core/protobuf/cluster.pb.h
710
include/tensorflow/core/protobuf/composite_tensor_variant.pb.h
733
include/tensorflow/core/protobuf/composite_tensor_variant.pb.h
711
include/tensorflow/core/protobuf/config.pb.h
734
include/tensorflow/core/protobuf/config.pb.h
712
include/tensorflow/core/protobuf/control_flow.pb.h
735
include/tensorflow/core/protobuf/control_flow.pb.h
713
include/tensorflow/core/protobuf/coordination_config.pb.h
736
include/tensorflow/core/protobuf/core_platform_payloads.pb.h
714
include/tensorflow/core/protobuf/data_service.pb.h
737
include/tensorflow/core/protobuf/data_service.pb.h
715
include/tensorflow/core/protobuf/debug.pb.h
738
include/tensorflow/core/protobuf/debug.pb.h
716
include/tensorflow/core/protobuf/debug_event.pb.h
739
include/tensorflow/core/protobuf/debug_event.pb.h
717
include/tensorflow/core/protobuf/device_filters.pb.h
740
include/tensorflow/core/protobuf/device_filters.pb.h
718
include/tensorflow/core/protobuf/device_properties.pb.h
741
include/tensorflow/core/protobuf/device_properties.pb.h
719
include/tensorflow/core/protobuf/distributed_runtime_payloads.pb.h
720
include/tensorflow/core/protobuf/error_codes.pb.h
742
include/tensorflow/core/protobuf/error_codes.pb.h
721
include/tensorflow/core/protobuf/graph_debug_info.pb.h
743
include/tensorflow/core/protobuf/fingerprint.pb.h
722
include/tensorflow/core/protobuf/meta_graph.pb.h
744
include/tensorflow/core/protobuf/meta_graph.pb.h
723
include/tensorflow/core/protobuf/named_tensor.pb.h
745
include/tensorflow/core/protobuf/named_tensor.pb.h
724
include/tensorflow/core/protobuf/queue_runner.pb.h
746
include/tensorflow/core/protobuf/queue_runner.pb.h
725
include/tensorflow/core/protobuf/remote_tensor_handle.pb.h
747
include/tensorflow/core/protobuf/remote_tensor_handle.pb.h
726
include/tensorflow/core/protobuf/rewriter_config.pb.h
748
include/tensorflow/core/protobuf/rewriter_config.pb.h
749
include/tensorflow/core/protobuf/rpc_options.pb.h
727
include/tensorflow/core/protobuf/saved_model.pb.h
750
include/tensorflow/core/protobuf/saved_model.pb.h
728
include/tensorflow/core/protobuf/saved_object_graph.pb.h
751
include/tensorflow/core/protobuf/saved_object_graph.pb.h
729
include/tensorflow/core/protobuf/saver.pb.h
752
include/tensorflow/core/protobuf/saver.pb.h
Lines 745-766 include/tensorflow/core/tpu/ops/tpu_embedding_ops.h Link Here
745
include/tensorflow/core/tpu/ops/tpu_embedding_shape_util.h
768
include/tensorflow/core/tpu/ops/tpu_embedding_shape_util.h
746
include/tensorflow/core/tpu/tpu_embedding_optimization_parameters_utils.h
769
include/tensorflow/core/tpu/tpu_embedding_optimization_parameters_utils.h
747
include/tensorflow/core/tpu/tpu_embedding_output_layout_utils.h
770
include/tensorflow/core/tpu/tpu_embedding_output_layout_utils.h
748
include/tensorflow/core/transforms/cf_sink/cf_sink.h
771
include/tensorflow/core/transforms/cf_sink/pass.h
749
include/tensorflow/core/transforms/consolidate_attrs/pass.h
772
include/tensorflow/core/transforms/consolidate_attrs/pass.h
750
include/tensorflow/core/transforms/const_dedupe_hoist/pass.h
773
include/tensorflow/core/transforms/const_dedupe_hoist/pass.h
751
include/tensorflow/core/transforms/drop_unregistered_attribute/output_shapes.h
774
include/tensorflow/core/transforms/constant_folding/pass.h
775
include/tensorflow/core/transforms/cse/pass.h
776
include/tensorflow/core/transforms/drop_unregistered_attribute/pass.h
777
include/tensorflow/core/transforms/eliminate_passthrough_iter_args/pass.h
778
include/tensorflow/core/transforms/func_to_graph/func_to_graph.h
779
include/tensorflow/core/transforms/func_to_graph/pass.h
780
include/tensorflow/core/transforms/functional_to_region/impl.h
781
include/tensorflow/core/transforms/functional_to_region/pass.h
782
include/tensorflow/core/transforms/graph_compactor/pass.h
752
include/tensorflow/core/transforms/graph_to_func/graph_to_func.h
783
include/tensorflow/core/transforms/graph_to_func/graph_to_func.h
753
include/tensorflow/core/transforms/graph_to_func/graph_to_func_pass.h
784
include/tensorflow/core/transforms/graph_to_func/pass.h
754
include/tensorflow/core/transforms/pass_detail.h
785
include/tensorflow/core/transforms/legacy_call/pass.h
755
include/tensorflow/core/transforms/pass_registration.h
786
include/tensorflow/core/transforms/pass_registration.h
756
include/tensorflow/core/transforms/passes.h.inc
787
include/tensorflow/core/transforms/passes.h.inc
757
include/tensorflow/core/transforms/remapper/remapper_pass.h
788
include/tensorflow/core/transforms/region_to_functional/impl.h
758
include/tensorflow/core/transforms/toposort/toposort_pass.h
789
include/tensorflow/core/transforms/region_to_functional/pass.h
790
include/tensorflow/core/transforms/remapper/pass.h
791
include/tensorflow/core/transforms/remapper/pdll/MklPDLLPatterns.h.inc
792
include/tensorflow/core/transforms/remapper/remapping_helper.h
793
include/tensorflow/core/transforms/shape_inference/pass.h
794
include/tensorflow/core/transforms/toposort/pass.h
795
include/tensorflow/core/transforms/utils/eval_utils.h
796
include/tensorflow/core/transforms/utils/op_cat_helper.h
797
include/tensorflow/core/transforms/utils/pdll/PDLLUtils.h.inc
798
include/tensorflow/core/transforms/utils/pdll/utils.h
759
include/tensorflow/core/transforms/utils/utils.h
799
include/tensorflow/core/transforms/utils/utils.h
760
include/tensorflow/core/util/activation_mode.h
800
include/tensorflow/core/util/activation_mode.h
761
include/tensorflow/core/util/batch_util.h
801
include/tensorflow/core/util/batch_util.h
762
include/tensorflow/core/util/bcast.h
802
include/tensorflow/core/util/bcast.h
763
include/tensorflow/core/util/command_line_flags.h
803
include/tensorflow/core/util/command_line_flags.h
804
include/tensorflow/core/util/debug_data_dumper.h
764
include/tensorflow/core/util/debug_events_writer.h
805
include/tensorflow/core/util/debug_events_writer.h
765
include/tensorflow/core/util/determinism.h
806
include/tensorflow/core/util/determinism.h
766
include/tensorflow/core/util/device_name_utils.h
807
include/tensorflow/core/util/device_name_utils.h
Lines 794-800 include/tensorflow/core/util/permutation_input_iterator.h Link Here
794
include/tensorflow/core/util/permutation_output_iterator.h
835
include/tensorflow/core/util/permutation_output_iterator.h
795
include/tensorflow/core/util/port.h
836
include/tensorflow/core/util/port.h
796
include/tensorflow/core/util/presized_cuckoo_map.h
837
include/tensorflow/core/util/presized_cuckoo_map.h
797
include/tensorflow/core/util/ptr_util.h
838
include/tensorflow/core/util/quantization/uniform_quant_ops_attr.pb.h
839
include/tensorflow/core/util/quantization/uniform_quant_ops_params.h
798
include/tensorflow/core/util/ragged_to_dense_util.h
840
include/tensorflow/core/util/ragged_to_dense_util.h
799
include/tensorflow/core/util/ragged_to_dense_util_common.h
841
include/tensorflow/core/util/ragged_to_dense_util_common.h
800
include/tensorflow/core/util/reffed_status_callback.h
842
include/tensorflow/core/util/reffed_status_callback.h
Lines 808-816 include/tensorflow/core/util/stat_summarizer_options.h Link Here
808
include/tensorflow/core/util/stats_calculator.h
850
include/tensorflow/core/util/stats_calculator.h
809
include/tensorflow/core/util/stream_executor_util.h
851
include/tensorflow/core/util/stream_executor_util.h
810
include/tensorflow/core/util/strided_slice_op.h
852
include/tensorflow/core/util/strided_slice_op.h
811
include/tensorflow/core/util/tensor_bundle/byte_swap.h
853
include/tensorflow/core/util/tensor_bundle/byte_swap_array.h
812
include/tensorflow/core/util/tensor_bundle/naming.h
854
include/tensorflow/core/util/tensor_bundle/byte_swap_tensor.h
813
include/tensorflow/core/util/tensor_bundle/tensor_bundle.h
814
include/tensorflow/core/util/tensor_format.h
855
include/tensorflow/core/util/tensor_format.h
815
include/tensorflow/core/util/tensor_ops_util.h
856
include/tensorflow/core/util/tensor_ops_util.h
816
include/tensorflow/core/util/tensor_slice_reader.h
857
include/tensorflow/core/util/tensor_slice_reader.h
Lines 824-900 include/tensorflow/core/util/use_cudnn.h Link Here
824
include/tensorflow/core/util/util.h
865
include/tensorflow/core/util/util.h
825
include/tensorflow/core/util/work_sharder.h
866
include/tensorflow/core/util/work_sharder.h
826
include/tensorflow/core/util/xla_config_registry.h
867
include/tensorflow/core/util/xla_config_registry.h
868
include/tensorflow/core/util/zen_util.h
827
include/tensorflow/lite/kernels/shim/op_kernel.h
869
include/tensorflow/lite/kernels/shim/op_kernel.h
828
include/tensorflow/lite/kernels/shim/shape.h
870
include/tensorflow/lite/kernels/shim/shape.h
829
include/tensorflow/lite/kernels/shim/status_macros.h
871
include/tensorflow/lite/kernels/shim/status_macros.h
830
include/tensorflow/lite/kernels/shim/tensor_view.h
872
include/tensorflow/lite/kernels/shim/tensor_view.h
831
include/tensorflow/lite/kernels/shim/tf_op_shim.h
873
include/tensorflow/lite/kernels/shim/tf_op_shim.h
832
include/tensorflow/lite/kernels/shim/tf_tensor_view.h
874
include/tensorflow/lite/kernels/shim/tf_tensor_view.h
833
include/tensorflow/stream_executor/allocator_stats.h
875
include/tensorflow/tsl/c/tsl_status.h
834
include/tensorflow/stream_executor/blas.h
876
include/tensorflow/tsl/c/tsl_status_helper.h
835
include/tensorflow/stream_executor/cuda/cuda_dnn.h
877
include/tensorflow/tsl/c/tsl_status_internal.h
836
include/tensorflow/stream_executor/cuda/cuda_platform_id.h
878
include/tensorflow/tsl/framework/allocator.h
837
include/tensorflow/stream_executor/data_type.h
879
include/tensorflow/tsl/framework/allocator_registry.h
838
include/tensorflow/stream_executor/device_description.h
880
include/tensorflow/tsl/framework/allocator_retry.h
839
include/tensorflow/stream_executor/device_memory.h
881
include/tensorflow/tsl/framework/bfc_allocator.h
840
include/tensorflow/stream_executor/device_memory_allocator.h
882
include/tensorflow/tsl/framework/cancellation.h
841
include/tensorflow/stream_executor/device_options.h
883
include/tensorflow/tsl/framework/device_id.h
842
include/tensorflow/stream_executor/dnn.h
884
include/tensorflow/tsl/framework/device_id_manager.h
843
include/tensorflow/stream_executor/dnn.pb.h
885
include/tensorflow/tsl/framework/device_type.h
844
include/tensorflow/stream_executor/event.h
886
include/tensorflow/tsl/framework/fixedpoint_types.h
845
include/tensorflow/stream_executor/executor_cache.h
887
include/tensorflow/tsl/framework/numeric_types.h
846
include/tensorflow/stream_executor/fft.h
888
include/tensorflow/tsl/framework/shared_counter.h
847
include/tensorflow/stream_executor/gpu_launch_dim.h
889
include/tensorflow/tsl/framework/tracking_allocator.h
848
include/tensorflow/stream_executor/host/host_gpu_executor.h
890
include/tensorflow/tsl/framework/type_traits.h
849
include/tensorflow/stream_executor/host/host_platform.h
891
include/tensorflow/tsl/lib/core/bitmap.h
850
include/tensorflow/stream_executor/host/host_platform_id.h
892
include/tensorflow/tsl/lib/core/bits.h
851
include/tensorflow/stream_executor/host/host_stream.h
893
include/tensorflow/tsl/lib/core/status_test_util.h
852
include/tensorflow/stream_executor/host/host_timer.h
894
include/tensorflow/tsl/lib/gtl/compactptrset.h
853
include/tensorflow/stream_executor/host_or_device_scalar.h
895
include/tensorflow/tsl/lib/gtl/flatmap.h
854
include/tensorflow/stream_executor/kernel.h
896
include/tensorflow/tsl/lib/gtl/flatrep.h
855
include/tensorflow/stream_executor/kernel_cache_config.h
897
include/tensorflow/tsl/lib/gtl/flatset.h
856
include/tensorflow/stream_executor/kernel_spec.h
898
include/tensorflow/tsl/lib/gtl/inlined_vector.h
857
include/tensorflow/stream_executor/launch_dim.h
899
include/tensorflow/tsl/lib/gtl/int_type.h
858
include/tensorflow/stream_executor/lib/array_slice.h
900
include/tensorflow/tsl/lib/gtl/iterator_range.h
859
include/tensorflow/stream_executor/lib/demangle.h
901
include/tensorflow/tsl/lib/gtl/map_util.h
860
include/tensorflow/stream_executor/lib/env.h
902
include/tensorflow/tsl/lib/gtl/subtle/map_traits.h
861
include/tensorflow/stream_executor/lib/error.h
903
include/tensorflow/tsl/lib/hash/crc32c.h
862
include/tensorflow/stream_executor/lib/human_readable.h
904
include/tensorflow/tsl/lib/histogram/histogram.h
863
include/tensorflow/stream_executor/lib/initialize.h
905
include/tensorflow/tsl/lib/io/block.h
864
include/tensorflow/stream_executor/lib/mathutil.h
906
include/tensorflow/tsl/lib/io/block_builder.h
865
include/tensorflow/stream_executor/lib/numbers.h
907
include/tensorflow/tsl/lib/io/buffered_inputstream.h
866
include/tensorflow/stream_executor/lib/path.h
908
include/tensorflow/tsl/lib/io/cache.h
867
include/tensorflow/stream_executor/lib/process_state.h
909
include/tensorflow/tsl/lib/io/compression.h
868
include/tensorflow/stream_executor/lib/stacktrace.h
910
include/tensorflow/tsl/lib/io/format.h
869
include/tensorflow/stream_executor/lib/static_threadlocal.h
911
include/tensorflow/tsl/lib/io/inputbuffer.h
870
include/tensorflow/stream_executor/lib/status.h
912
include/tensorflow/tsl/lib/io/inputstream_interface.h
871
include/tensorflow/stream_executor/lib/status_macros.h
913
include/tensorflow/tsl/lib/io/iterator.h
872
include/tensorflow/stream_executor/lib/statusor.h
914
include/tensorflow/tsl/lib/io/proto_encode_helper.h
873
include/tensorflow/stream_executor/lib/thread_options.h
915
include/tensorflow/tsl/lib/io/random_inputstream.h
874
include/tensorflow/stream_executor/lib/threadpool.h
916
include/tensorflow/tsl/lib/io/record_reader.h
875
include/tensorflow/stream_executor/module_spec.h
917
include/tensorflow/tsl/lib/io/record_writer.h
876
include/tensorflow/stream_executor/multi_platform_manager.h
918
include/tensorflow/tsl/lib/io/snappy/snappy_compression_options.h
877
include/tensorflow/stream_executor/platform.h
919
include/tensorflow/tsl/lib/io/snappy/snappy_inputbuffer.h
878
include/tensorflow/stream_executor/platform/default/dso_loader.h
920
include/tensorflow/tsl/lib/io/snappy/snappy_inputstream.h
879
include/tensorflow/stream_executor/platform/default/initialize.h
921
include/tensorflow/tsl/lib/io/snappy/snappy_outputbuffer.h
880
include/tensorflow/stream_executor/platform/dso_loader.h
922
include/tensorflow/tsl/lib/io/table.h
881
include/tensorflow/stream_executor/platform/initialize.h
923
include/tensorflow/tsl/lib/io/table_builder.h
882
include/tensorflow/stream_executor/platform/logging.h
924
include/tensorflow/tsl/lib/io/table_options.h
883
include/tensorflow/stream_executor/platform/platform.h
925
include/tensorflow/tsl/lib/io/two_level_iterator.h
884
include/tensorflow/stream_executor/platform/port.h
926
include/tensorflow/tsl/lib/io/zlib_compression_options.h
885
include/tensorflow/stream_executor/plugin.h
927
include/tensorflow/tsl/lib/io/zlib_inputstream.h
886
include/tensorflow/stream_executor/plugin_registry.h
928
include/tensorflow/tsl/lib/io/zlib_outputbuffer.h
887
include/tensorflow/stream_executor/rng.h
929
include/tensorflow/tsl/lib/math/math_util.h
888
include/tensorflow/stream_executor/rocm/rocm_platform_id.h
930
include/tensorflow/tsl/lib/monitoring/cell_reader.h
889
include/tensorflow/stream_executor/scratch_allocator.h
931
include/tensorflow/tsl/lib/monitoring/collected_metrics.h
890
include/tensorflow/stream_executor/stream.h
932
include/tensorflow/tsl/lib/monitoring/collection_registry.h
891
include/tensorflow/stream_executor/stream_executor.h
933
include/tensorflow/tsl/lib/monitoring/counter.h
892
include/tensorflow/stream_executor/stream_executor_internal.h
934
include/tensorflow/tsl/lib/monitoring/gauge.h
893
include/tensorflow/stream_executor/stream_executor_pimpl.h
935
include/tensorflow/tsl/lib/monitoring/metric_def.h
894
include/tensorflow/stream_executor/temporary_device_memory.h
936
include/tensorflow/tsl/lib/monitoring/percentile_sampler.h
895
include/tensorflow/stream_executor/temporary_memory_manager.h
937
include/tensorflow/tsl/lib/monitoring/sampler.h
896
include/tensorflow/stream_executor/timer.h
938
include/tensorflow/tsl/lib/monitoring/test_utils.h
897
include/tensorflow/stream_executor/trace_listener.h
939
include/tensorflow/tsl/lib/monitoring/timed.h
940
include/tensorflow/tsl/lib/monitoring/types.h
941
include/tensorflow/tsl/lib/random/distribution_sampler.h
942
include/tensorflow/tsl/lib/random/exact_uniform_int.h
943
include/tensorflow/tsl/lib/random/philox_random.h
944
include/tensorflow/tsl/lib/random/philox_random_test_utils.h
945
include/tensorflow/tsl/lib/random/random_distributions.h
946
include/tensorflow/tsl/lib/random/random_distributions_utils.h
947
include/tensorflow/tsl/lib/random/simple_philox.h
948
include/tensorflow/tsl/lib/random/weighted_picker.h
949
include/tensorflow/tsl/lib/strings/proto_serialization.h
950
include/tensorflow/tsl/platform/abi.h
951
include/tensorflow/tsl/platform/base64.h
952
include/tensorflow/tsl/platform/bfloat16.h
953
include/tensorflow/tsl/platform/blocking_counter.h
954
include/tensorflow/tsl/platform/byte_order.h
955
include/tensorflow/tsl/platform/casts.h
956
include/tensorflow/tsl/platform/cloud/auth_provider.h
957
include/tensorflow/tsl/platform/cloud/compute_engine_metadata_client.h
958
include/tensorflow/tsl/platform/cloud/compute_engine_zone_provider.h
959
include/tensorflow/tsl/platform/cloud/curl_http_request.h
960
include/tensorflow/tsl/platform/cloud/expiring_lru_cache.h
961
include/tensorflow/tsl/platform/cloud/file_block_cache.h
962
include/tensorflow/tsl/platform/cloud/gcs_dns_cache.h
963
include/tensorflow/tsl/platform/cloud/gcs_file_system.h
964
include/tensorflow/tsl/platform/cloud/gcs_throttle.h
965
include/tensorflow/tsl/platform/cloud/google_auth_provider.h
966
include/tensorflow/tsl/platform/cloud/http_request.h
967
include/tensorflow/tsl/platform/cloud/oauth_client.h
968
include/tensorflow/tsl/platform/cloud/ram_file_block_cache.h
969
include/tensorflow/tsl/platform/cloud/time_util.h
970
include/tensorflow/tsl/platform/cloud/zone_provider.h
971
include/tensorflow/tsl/platform/coding.h
972
include/tensorflow/tsl/platform/context.h
973
include/tensorflow/tsl/platform/cord.h
974
include/tensorflow/tsl/platform/cpu_info.h
975
include/tensorflow/tsl/platform/crash_analysis.h
976
include/tensorflow/tsl/platform/ctstring.h
977
include/tensorflow/tsl/platform/ctstring_internal.h
978
include/tensorflow/tsl/platform/cuda_libdevice_path.h
979
include/tensorflow/tsl/platform/default/casts.h
980
include/tensorflow/tsl/platform/default/context.h
981
include/tensorflow/tsl/platform/default/cord.h
982
include/tensorflow/tsl/platform/default/dso_loader.h
983
include/tensorflow/tsl/platform/default/dynamic_annotations.h
984
include/tensorflow/tsl/platform/default/integral_types.h
985
include/tensorflow/tsl/platform/default/logging.h
986
include/tensorflow/tsl/platform/default/mutex.h
987
include/tensorflow/tsl/platform/default/mutex_data.h
988
include/tensorflow/tsl/platform/default/notification.h
989
include/tensorflow/tsl/platform/default/posix_file_system.h
990
include/tensorflow/tsl/platform/default/stacktrace.h
991
include/tensorflow/tsl/platform/default/status.h
992
include/tensorflow/tsl/platform/default/subprocess.h
993
include/tensorflow/tsl/platform/default/tracing_impl.h
994
include/tensorflow/tsl/platform/default/unbounded_work_queue.h
995
include/tensorflow/tsl/platform/demangle.h
996
include/tensorflow/tsl/platform/denormal.h
997
include/tensorflow/tsl/platform/dso_loader.h
998
include/tensorflow/tsl/platform/dynamic_annotations.h
999
include/tensorflow/tsl/platform/env.h
1000
include/tensorflow/tsl/platform/env_time.h
1001
include/tensorflow/tsl/platform/errors.h
1002
include/tensorflow/tsl/platform/file_statistics.h
1003
include/tensorflow/tsl/platform/file_system.h
1004
include/tensorflow/tsl/platform/file_system_helper.h
1005
include/tensorflow/tsl/platform/fingerprint.h
1006
include/tensorflow/tsl/platform/float8.h
1007
include/tensorflow/tsl/platform/hash.h
1008
include/tensorflow/tsl/platform/host_info.h
1009
include/tensorflow/tsl/platform/human_readable_json.h
1010
include/tensorflow/tsl/platform/init_main.h
1011
include/tensorflow/tsl/platform/intrusive_ptr.h
1012
include/tensorflow/tsl/platform/load_library.h
1013
include/tensorflow/tsl/platform/logger.h
1014
include/tensorflow/tsl/platform/logging.h
1015
include/tensorflow/tsl/platform/macros.h
1016
include/tensorflow/tsl/platform/mem.h
1017
include/tensorflow/tsl/platform/mutex.h
1018
include/tensorflow/tsl/platform/net.h
1019
include/tensorflow/tsl/platform/notification.h
1020
include/tensorflow/tsl/platform/null_file_system.h
1021
include/tensorflow/tsl/platform/numa.h
1022
include/tensorflow/tsl/platform/numbers.h
1023
include/tensorflow/tsl/platform/path.h
1024
include/tensorflow/tsl/platform/platform.h
1025
include/tensorflow/tsl/platform/platform_strings_computed.h
1026
include/tensorflow/tsl/platform/prefetch.h
1027
include/tensorflow/tsl/platform/profile_utils/android_armv7a_cpu_utils_helper.h
1028
include/tensorflow/tsl/platform/profile_utils/clock_cycle_profiler.h
1029
include/tensorflow/tsl/platform/profile_utils/cpu_utils.h
1030
include/tensorflow/tsl/platform/profile_utils/i_cpu_utils_helper.h
1031
include/tensorflow/tsl/platform/protobuf.h
1032
include/tensorflow/tsl/platform/protobuf_compiler.h
1033
include/tensorflow/tsl/platform/ram_file_system.h
1034
include/tensorflow/tsl/platform/random.h
1035
include/tensorflow/tsl/platform/raw_coding.h
1036
include/tensorflow/tsl/platform/refcount.h
1037
include/tensorflow/tsl/platform/regexp.h
1038
include/tensorflow/tsl/platform/resource.h
1039
include/tensorflow/tsl/platform/resource_loader.h
1040
include/tensorflow/tsl/platform/retrying_file_system.h
1041
include/tensorflow/tsl/platform/retrying_utils.h
1042
include/tensorflow/tsl/platform/rocm_rocdl_path.h
1043
include/tensorflow/tsl/platform/scanner.h
1044
include/tensorflow/tsl/platform/setround.h
1045
include/tensorflow/tsl/platform/snappy.h
1046
include/tensorflow/tsl/platform/stack_frame.h
1047
include/tensorflow/tsl/platform/stacktrace.h
1048
include/tensorflow/tsl/platform/stacktrace_handler.h
1049
include/tensorflow/tsl/platform/static_threadlocal.h
1050
include/tensorflow/tsl/platform/status.h
1051
include/tensorflow/tsl/platform/status_matchers.h
1052
include/tensorflow/tsl/platform/status_to_from_proto.h
1053
include/tensorflow/tsl/platform/statusor.h
1054
include/tensorflow/tsl/platform/statusor_internals.h
1055
include/tensorflow/tsl/platform/str_util.h
1056
include/tensorflow/tsl/platform/strcat.h
1057
include/tensorflow/tsl/platform/stringpiece.h
1058
include/tensorflow/tsl/platform/stringprintf.h
1059
include/tensorflow/tsl/platform/subprocess.h
1060
include/tensorflow/tsl/platform/tensor_float_32_utils.h
1061
include/tensorflow/tsl/platform/test.h
1062
include/tensorflow/tsl/platform/test_benchmark.h
1063
include/tensorflow/tsl/platform/thread_annotations.h
1064
include/tensorflow/tsl/platform/threadpool.h
1065
include/tensorflow/tsl/platform/threadpool_interface.h
1066
include/tensorflow/tsl/platform/threadpool_options.h
1067
include/tensorflow/tsl/platform/tracing.h
1068
include/tensorflow/tsl/platform/tstring.h
1069
include/tensorflow/tsl/platform/types.h
1070
include/tensorflow/tsl/platform/unbounded_work_queue.h
1071
include/tensorflow/tsl/profiler/backends/cpu/traceme_recorder.h
1072
include/tensorflow/tsl/profiler/lib/traceme.h
1073
include/tensorflow/tsl/profiler/lib/traceme_encode.h
1074
include/tensorflow/tsl/profiler/protobuf/profiler_options.pb.h
1075
include/tensorflow/tsl/profiler/protobuf/xplane.pb.h
1076
include/tensorflow/tsl/profiler/utils/math_utils.h
1077
include/tensorflow/tsl/profiler/utils/time_utils.h
1078
include/tensorflow/tsl/protobuf/autotuning.pb.h
1079
include/tensorflow/tsl/protobuf/bfc_memory_map.pb.h
1080
include/tensorflow/tsl/protobuf/coordination_config.pb.h
1081
include/tensorflow/tsl/protobuf/distributed_runtime_payloads.pb.h
1082
include/tensorflow/tsl/protobuf/dnn.pb.h
1083
include/tensorflow/tsl/protobuf/error_codes.pb.h
1084
include/tensorflow/tsl/protobuf/histogram.pb.h
1085
include/tensorflow/tsl/protobuf/rpc_options.pb.h
1086
include/tensorflow/tsl/protobuf/status.pb.h
1087
include/tensorflow/tsl/protobuf/test_log.pb.h
1088
include/tensorflow/tsl/util/byte_swap_array.h
1089
include/tensorflow/tsl/util/command_line_flags.h
1090
include/tensorflow/tsl/util/determinism.h
1091
include/tensorflow/tsl/util/device_name_utils.h
1092
include/tensorflow/tsl/util/env_var.h
1093
include/tensorflow/tsl/util/stat_summarizer_options.h
1094
include/tensorflow/tsl/util/stats_calculator.h
1095
include/tensorflow/tsl/util/use_cudnn.h
898
lib/libtensorflow.so
1096
lib/libtensorflow.so
899
lib/libtensorflow.so.2
1097
lib/libtensorflow.so.2
900
lib/libtensorflow.so.%%TF_PORT_VERSION%%
1098
lib/libtensorflow.so.%%TF_PORT_VERSION%%
901
- 

Return to bug 280234