Skip to content

Commit

Permalink
Merge commit '15d5ee2' into multistream-streammerge
Browse files Browse the repository at this point in the history
  • Loading branch information
buptzyb committed Jan 15, 2024
2 parents b0818fc + 15d5ee2 commit 1d27e27
Show file tree
Hide file tree
Showing 4,138 changed files with 218,030 additions and 134,619 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
163 changes: 133 additions & 30 deletions .bazelrc

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions .github/workflows/arm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ on:
branches:
- master
- r2.**
pull_request:
types: [labeled, opened, synchronize, reopened]
branches:
- master
- r2.**

permissions:
contents: read

Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/osv-scanner-scheduled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 2023 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

name: OSV-Scanner Scheduled Scan

on:
schedule:
- cron: 0 4 * * 1

permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
contents: read

jobs:
scan-scheduled:
if: github.repository == 'tensorflow/tensorflow'
uses: "google/osv-scanner/.github/workflows/osv-scanner-reusable.yml@main"
with:
scan-args: |-
--lockfile=requirements.txt:./requirements_lock_3_9.txt
--lockfile=requirements.txt:./requirements_lock_3_10.txt
--lockfile=requirements.txt:./requirements_lock_3_11.txt
--lockfile=requirements.txt:./requirements_lock_3_12.txt
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/devel.requirements.txt
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/jax.requirements.txt
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt
4 changes: 2 additions & 2 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
pull-requests: write
steps:
- name: Awaiting response issues
uses: actions/stale@v7
uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # v7.0.0
with:
#Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further."
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Contribution issues
uses: actions/stale@v7
uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # v7.0.0
with:
#Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Before sending your pull requests, make sure you do the following:
- If a change is needed, the contributor is requested to make the suggested
change.
- You make the change and submit it for the review again.
- This cycle repeats itself untill the PR gets approved.
- This cycle repeats itself until the PR gets approved.
- Note: As a friendly reminder, we may reach out to you if the PR is awaiting
your response for more than 2 weeks.

Expand Down
47 changes: 0 additions & 47 deletions ISSUE_TEMPLATE.md

This file was deleted.

72 changes: 58 additions & 14 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
* <DOCUMENT BREAKING CHANGES HERE>
* <THIS SECTION SHOULD CONTAIN API, ABI AND BEHAVIORAL BREAKING CHANGES>

* `tf.summary.trace_on` now takes a `profiler_outdir` argument. This must be set
if `profiler` arg is set to `True`.
* `tf.summary.trace_export`'s `profiler_outdir` arg is now a no-op. Enabling
the profiler now requires setting `profiler_outdir` in `trace_on`.


### Known Caveats

* <CAVEATS REGARDING THE RELEASE (BUT NOT BREAKING CHANGES).>
Expand All @@ -28,6 +34,11 @@

* `tf.lite`
* Added support for `stablehlo.gather`.
* Added support for `stablehlo.add`.
* Added support for `stablehlo.multiply`.
* Added support for `stablehlo.maximum`.
* Added support for `stablehlo.minimum`.
* Added boolean parameter support for `tfl.gather_nd`.

## Keras

Expand All @@ -44,6 +55,9 @@
table maintained by the layer. If this layer is not used in conjunction
with `UpdateEmbeddingCallback` the behavior of the layer would be same as
`keras.layers.Embedding`.
* `keras.optimizers.Adam`
* Added the option to set adaptive epsilon to match implementations with Jax
and PyTorch equivalents.

### Breaking Changes

Expand Down Expand Up @@ -73,6 +87,39 @@ This release contains contributions from many people at Google, as well as:

<INSERT>, <NAME>, <HERE>, <USING>, <GITHUB>, <HANDLE>

# Release 2.15.0.post1

## TensorFlow

### Bug Fixes and Other Changes

* Hot-fix was needed for an issue affecting the TensorFlow installation
process.
* TensorFlow 2.15.0 Python package was requesting `tensorrt`-related
packages that cannot be found unless the user installs them beforehand
or provides additional installation flags.
* This dependency affected anyone installing TensorFlow 2.15 alongside
NVIDIA CUDA dependencies via `pip install tensorflow[and-cuda]`.
* Depending on the installation method, TensorFlow 2.14 would be installed
instead of 2.15, or users could receive an installation error due to
those missing dependencies.
* TensorFlow 2.15.0.post1 is being released for Linux x86_64 to resolve this
issue as quickly as possible.
* This version removes the `tensorrt` Python package dependencies from the
tensorflow[and-cuda] installation method to ensure `pip install
tensorflow[and-cuda]` works as originally intended for TensorFlow 2.15.
* Support for TensorRT is otherwise unaffected as long as TensorRT is
already installed on the system.
* Using .post1 instead of a full minor release allowed us to push this release
out quickly. However, please note the following caveat:
* For users wishing to pin their Python dependency in a requirements file
or other situation, under Python's version specification rules,
`tensorflow[and-cuda]==2.15.0` will not install this fixed version.
Please use `==2.15.0.post1` to specify this exact version on Linux
platforms, or a fuzzy version specification, such as `==2.15.*`, to
specify the most recent compatible version of TensorFlow 2.15 on all
platforms.

# Release 2.15.0

## TensorFlow
Expand Down Expand Up @@ -160,29 +207,26 @@ This release contains contributions from many people at Google, as well as:

* Provided a new `experimental_skip_saver` argument which, if specified, will suppress the addition of `SavedModel`-native save and restore ops to the `SavedModel`, for cases where users already build custom save/restore ops and checkpoint formats for the model being saved, and the creation of the SavedModel-native save/restore ops simply cause longer model serialization times.

* `tf.math.bincount`
* Updated documentation. Fixed "[Bincount doesn't check the tensor type](https://github.com/tensorflow/tensorflow/issues/56499)" and some other corner cases.

## Keras

### Breaking Changes

### Known Caveats

### Major Features and Improvements

### Bug Fixes and Other Changes

* Add ops to `tensorflow.raw_ops` that were missing.

* `tf.CheckpointOptions`
* It now takes in a new argument called `experimental_write_callbacks`. These are callbacks that will be executed after a saving event finishes writing the checkpoint file.

* Add an option `disable_eager_executer_streaming_enqueue` to `tensorflow.ConfigProto.Experimental` to control the eager runtime's behavior around parallel remote function invocations; when set to `True`, the eager runtime will be allowed to execute multiple function invocations in parallel.

* `tf.constant_initializer`
* It now takes a new argument called `support_partition`. If True, constant_initializers can create sharded variables. This is disabled by default similar to existing behavior.
* It now takes a new argument called `support_partition`. If True, constant_initializers can create sharded variables. This is disabled by default, similar to existing behavior.

* `tf.lite`
* Added support for `stablehlo.scatter`.

* `tf.estimator`
* The tf.estimator API removal is in progress and will be targeted for the 2.16 release.

## Keras

* This will be the final release before the launch of Keras 3.0, when Keras will become multi-backend. For the compatibility page and other info, please see: https://github.com/keras-team/keras-core

## Thanks to our Contributors

This release contains contributions from many people at Google, as well as:
Expand Down
Loading

0 comments on commit 1d27e27

Please sign in to comment.