* Wed Sep 01 2021 Egbert Eich <eich@suse.com>
- Limit BuildRequires for bazel-skylib-source to versions >= 1.0.3.
* Thu Aug 19 2021 Fusion Future <qydwhotmail@gmail.com>
- Update to 2.6.0
Major changes are:
* Keras been split into a separate PIP package (keras), and its
code has been moved to the GitHub repositorykeras-team/keras.
The API endpoints for tf.keras stay unchanged, but are now
backed by the keras PIP package. The existing code in
tensorflow/python/keras is a staled copy and will be removed in
future release (2.7). Please remove any imports to
tensorflow.python.keras and replace them with public tf.keras
API instead.
* tf.train.experimental.enable_mixed_precision_graph_rewrite is
removed, as the API only works in graph mode and is not
customizable. The function is still accessible under
tf.compat.v1.mixed_precision.enable_mixed_precision_graph_rewrite,
but it is recommended to use the Keras mixed precision API
instead.
* tf.lite: Remove experimental.nn.dynamic_rnn,
experimental.nn.TfLiteRNNCell and
experimental.nn.TfLiteLSTMCell since they're no
longer supported. It's recommended to just use keras lstm
instead.
* tf.keras: The methods Model.to_yaml() and
keras.models.model_from_yaml have been replaced to raise a
RuntimeError as they can be abused to cause arbitrary code
execution. It is recommended to use JSON serialization instead
of YAML, or, a better alternative, serialize to H5.
- Major changes from 2.5.x:
* Support for Python3.9 has been added.
* The TF_CPP_MIN_VLOG_LEVEL environment variable has been renamed
to to TF_CPP_MAX_VLOG_LEVEL which correctly describes its
effect.
- Fixed multiple CVEs (boo#1189423):
* CVE-2021-37635
* CVE-2021-37636
* CVE-2021-37637
* CVE-2021-37638
* CVE-2021-37639
* CVE-2021-37640
* CVE-2021-37642
* CVE-2021-37641
* CVE-2021-37644
* CVE-2021-37643
* CVE-2021-37645
* CVE-2021-37646
* CVE-2021-37647
* CVE-2021-37648
* CVE-2021-37649
* CVE-2021-37650
* CVE-2021-37651
* CVE-2021-37652
* CVE-2021-37653
* CVE-2021-37654
* CVE-2021-37655
* CVE-2021-37656
* CVE-2021-37657
* CVE-2021-37658
* CVE-2021-37659
* CVE-2021-37660
* CVE-2021-37661
* CVE-2021-37662
* CVE-2021-37664
* CVE-2021-37663
* CVE-2021-37665
* CVE-2021-37666
* CVE-2021-37667
* CVE-2021-37668
* CVE-2021-37669
* CVE-2021-37670
* CVE-2021-37671
* CVE-2021-37672
* CVE-2021-37673
* CVE-2021-37674
* CVE-2021-37676
* CVE-2021-37675
* CVE-2021-37677
* CVE-2021-37678
* CVE-2021-37679
* CVE-2021-37680
* CVE-2021-37681
* CVE-2021-37682
* CVE-2021-37683
* CVE-2021-37684
* CVE-2021-37686
* CVE-2021-37685
* CVE-2021-37687
* CVE-2021-37688
* CVE-2021-37689
* CVE-2021-37691
* CVE-2021-37692
* CVE-2021-37690
- Updated sources:
* abseil-cpp.tar.gz
* cpuinfo.zip
* dill-0.3.2.zip
* eigen.tar.gz
* google-cloud-cpp.tar.gz
* libxsmm_1.14.tar.gz
* llvm.tar.gz
* oneDNN.tar.gz
* rules_cc.tar.gz
* rules_closure.tar.gz
* rules_docker-0.18.0.tar.gz
* ruy.zip
* tblib-1.7.0.tar.gz
- Added sources:
* ComputeLibrary.tar.gz
* oneDNN-v2.3-rc2.tar.gz
* platforms-0.0.2.tar.gz
* rules_proto.tar.gz
* tf_runtime.tar.gz
* tf_toolchains.tar.gz
- Removed sources:
* kafka-v0.11.5.tar.gz
- Add "tensorflow-2.6.0" prefix to existing patches to indicate
that patches are likely to be only applicable to a specific
version.
* fix-lite.patch -> tensorflow-2.6.0-fix-lite.patch
* numpy-tensor-small.patch -> tensorflow-2.6.0-numpy-tensor-small.patch
* removed-clog-build-as-included-in-cpuinfo.patch -> tensorflow-2.6.0-removed-clog-build-as-included-in-cpuinfo.patch
* removed-external-toolchains.patch -> tensorflow-2.6.0-removed-external-toolchains.patch
* remove-weakref.patch -> tensorflow-2.6.0-remove-weakref.patch
* tf-keras-hdf5-3.patch -> tensorflow-2.6.0-tf-keras-hdf5-3.patch
- Rebase all existing patches.
- Add tensorflow-2.6.0-compile-with-protobuf-3.16.patch to fix
build error with protobuf >= 3.16.0. (boo#1186860)
(https://github.com/protocolbuffers/protobuf/pull/8354)
- Update bazel version requirement to 3.7.2.
- Drop pcre-devel build requirement as it is not used anymore.
- Drop --incompatible_no_support_tools_in_action_inputs=false as it
is removed in bazel >= 3.6.
* Wed May 19 2021 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update _constraints to use host with 'asimdrdm' cpu flag to avoid
slow CPU and be scheduled on faster systems
* Wed Apr 14 2021 Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 2.4.1
* Bugfixes
* Drops requirement of AVX2
* Tue Apr 06 2021 Ben Greiner <code@bnavigator.de>
- Don't BuildRequire keras_applications. Tensorflow provides it
itself: https://github.com/tensorflow/tensorflow/commit/23c3bdaa
- These were discovered by Keras test suite:
* add numpy-tensor-small.patch for Numpy >= 1.20
gh#tensorflow/tensorflow#47691
* add tf-keras-hdf5-3.patch for hdf5 >= 3.0
gh#tensorflow/tensorflow#44467
* Thu Feb 18 2021 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Generate and install pkgconfig files for tensorflow-lite and
tensorflow (non-hpc)
* Wed Jan 27 2021 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Do not install bazel tools to build Lite version. This will allow
to build for armv7 where bazel 3.x is not available - boo#1178564
* Fri Jan 15 2021 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix packaging for libiomp5
* Mon Jan 11 2021 Dirk Müller <dmueller@suse.com>
- build verbose to not fail on the obs stall detection
* Fri Jan 08 2021 Guillaume GARDET <guillaume.gardet@opensuse.org>
- libiomp5 is x86_64 only
* Wed Jan 06 2021 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on aarch64 and on hpc variants
* Wed Oct 21 2020 Christian Goll <cgoll@suse.com>
- Updated to version 2.4.0 which fixes several bugs (bsc#1173128)
(bsc#1173314)i, (bsc#1179455) and (bsc#1178287)
- Security fixes for CVE-2020-26266, CVE-2020-26267, CVE-2020-26268,
CVE-2020-26270 and CVE-2020-26271
- updated sources:
* abseil-cpp.tar.gz
* eigen.tar.gz
* gemmlowp.zip
* googleapis.zip
* llvm.tar.gz
- added sources:
* DouraFFT.tar.gz
* cpuinfo.zip
* dill-0.3.1.1.tar.gz (aarch64 only)
* dlpack.tar.gz
* oneDNN.tar.gz
* openmp-10.0.1.src.tar.xz
* python-license-astunparse
* re2.tar.gz
* rules_android.zip
* rules_cc.tar.gz
* rules_docker-0.15.0.tar.gz
* ruy.zip
* sobol_data.tar.gz
* tblib-1.3.2.tar.gz (aarch64 only)
* typing_extensions-3.7.4.2.tar.gz (aarch64 only)
- removed sources:
* boring_ssl.tar.gz
* cub_1.8.0.zip
* mkl-v0.21.2.tar.gz
* pybind11-v2.3.0.tar.gz
* right-json-location.patch
* rules_docker.tar.gz
- removed patches:
* Provide-overload-to-cope-with-const-ness-change-of-N.patch
* fix-google-absl-memory.patch
* json-feature-name.patch
* libjpeg_turbo-name.patch
* removed-docker-tools.patch
- added patches:
* removed-clog-build-as-included-in-cpuinfo.patch
* removed-external-toolchains.patch
- Major changes are:
* tf.distribute introduces experimental support for asynchronous training of
models via the tf.distribute.experimental.ParameterServerStrategy API.
* MultiWorkerMirroredStrategy is now a stable API and is no longer considered
experimental.
* Introduces experimental support for a new module named tf.experimental.numpy
which is a NumPy-compatible API for writing TF programs.
* A major refactoring of the internals of the Keras Functional API has been
completed, that should improve the reliability, stability, and performance
of constructing Functional models.
* Keras mixed precision API tf.keras.mixed_precision is no longer experimental
and allows the use of 16-bit floating point formats during training,
improving performance by up to 3x on GPUs and 60% on TPUs.
* TensorFlow Profiler now supports profiling MultiWorkerMirroredStrategy and
tracing multiple workers using the sampling mode API.
* Tue Oct 13 2020 Christian Goll <cgoll@suse.com>
- fixed hpc flavor and Leap15.2 builds
* Mon Sep 28 2020 Christian Goll <cgoll@suse.com>
- updated to 2.1.2 with following fixes (bsc#1177022):
* Fixes an undefined behavior causing a segfault in tf.raw_ops.Switch (CVE-2020-15190)
* Fixes three vulnerabilities in conversion to DLPack format
(CVE-2020-15191, CVE-2020-15192, CVE-2020-15193)
* Fixes two vulnerabilities in SparseFillEmptyRowsGrad
(CVE-2020-15194, CVE-2020-15195)
* Fixes an integer truncation vulnerability in code using the
work sharder API (CVE-2020-15202)
* Fixes a format string vulnerability in tf.strings.as_string (CVE-2020-15203)
* Fixes segfault raised by calling session-only ops in eager mode (CVE-2020-15204)
* Fixes data leak and potential ASLR violation from tf.raw_ops.StringNGrams (CVE-2020-15205)
* Fixes segfaults caused by incomplete SavedModel validation (CVE-2020-15206)
* Fixes a data corruption due to a bug in negative indexing support in TFLite (CVE-2020-15207)
* Fixes a data corruption due to dimension mismatch in TFLite (CVE-2020-15208)
* Fixes several vulnerabilities in TFLite saved model format
(CVE-2020-15209, CVE-2020-15210, CVE-2020-15211)
- using fft2d.tgz instead of fft.tar.gz
- removed fft.tar.gz
* Mon Sep 14 2020 Christian Goll <cgoll@suse.com>
- fixed json-feature-name.patch for leap15.2 builds
* Thu Sep 10 2020 Christian Goll <cgoll@suse.com>
- updated disk constraints, as sometimes the build fails with too
low disk space
* Wed Sep 09 2020 Christian Goll <cgoll@suse.com>
- Package C-headers for standard tensorflow (boo#1175789)
- fixed build gcc10.1 errors for Tumbleweed with following
upstream patch:
* added file Provide-overload-to-cope-with-const-ness-change-of-N.patch
* Tue Sep 08 2020 Christian Goll <cgoll@suse.com>
- Package header files for Tensoflow2 Lite - boo#1175099
* Thu Sep 03 2020 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Revert memoryperjob constraint support and use again
%limit_build macro to avoid OOM errors
* Thu Aug 20 2020 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Lower memoryperjob to 1300 MB (as done for tensorflow)