cyclegan
cyclegan copied to clipboard
Bump tensorflow from 2.0.0 to 2.0.1
Bumps tensorflow from 2.0.0 to 2.0.1.
Release notes
Sourced from tensorflow's releases.
TensorFlow 2.0.1
Release 2.0.1
Bug Fixes and Other Changes
- Fixes a security vulnerability where converting a Python string to a
tf.float16value produces a segmentation fault (CVE-2020-5215)- Updates
curlto7.66.0to handle CVE-2019-5482 and CVE-2019-5481- Updates
sqlite3to3.30.01to handle CVE-2019-19646, CVE-2019-19645 and CVE-2019-16168
Changelog
Sourced from tensorflow's changelog.
Release 2.0.1
Bug Fixes and Other Changes
- Fixes a security vulnerability where converting a Python string to a
tf.float16value produces a segmentation fault (CVE-2020-5215)- Updates
curlto7.66.0to handle CVE-2019-5482 and CVE-2019-5481- Updates
sqlite3to3.30.01to handle CVE-2019-19646, CVE-2019-19645 and CVE-2019-16168Release 1.15.2
Bug Fixes and Other Changes
- Fixes a security vulnerability where converting a Python string to a
tf.float16value produces a segmentation fault (CVE-2020-5215)- Updates
curlto7.66.0to handle CVE-2019-5482 and CVE-2019-5481- Updates
sqlite3to3.30.01to handle CVE-2019-19646, CVE-2019-19645 and CVE-2019-16168Release 2.1.0
TensorFlow 2.1 will be the last TF release supporting Python 2. Python 2 support officially ends an January 1, 2020. As announced earlier, TensorFlow will also stop supporting Python 2 starting January 1, 2020, and no more releases are expected in 2019.
Major Features and Improvements
- The
tensorflowpip package now includes GPU support by default (same astensorflow-gpu) for both Linux and Windows. This runs on machines with and without NVIDIA GPUs.tensorflow-gpuis still available, and CPU-only packages can be downloaded attensorflow-cpufor users who are concerned about package size.- Windows users: Officially-released
tensorflowPip packages are now built with Visual Studio 2019 version 16.4 in order to take advantage of the new/d2ReducedOptimizeHugeFunctionscompiler flag. To use these new packages, you must install "Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019", available from Microsoft's website here.
- This does not change the minimum required version for building TensorFlow from source on Windows, but builds enabling
EIGEN_STRONG_INLINEcan take over 48 hours to compile without this flag. Refer toconfigure.pyfor more information aboutEIGEN_STRONG_INLINEand/d2ReducedOptimizeHugeFunctions.- If either of the required DLLs,
msvcp140.dll(old) ormsvcp140_1.dll(new), are missing on your machine,import tensorflowwill print a warning message.- The
tensorflowpip package is built with CUDA 10.1 and cuDNN 7.6.tf.keras
- Experimental support for mixed precision is available on GPUs and Cloud TPUs. See usage guide.
- Introduced the
TextVectorizationlayer, which takes as input raw strings and takes care of text standardization, tokenization, n-gram generation, and vocabulary indexing. See this end-to-end text classification example.- Keras
.compile.fit.evaluateand.predictare allowed to be outside of the DistributionStrategy scope, as long as the model was constructed inside of a scope.- Experimental support for Keras
.compile,.fit,.evaluate, and.predictis available for Cloud TPUs, Cloud TPU, for all types of Keras models (sequential, functional and subclassing models).- Automatic outside compilation is now enabled for Cloud TPUs. This allows
tf.summaryto be used more conveniently with Cloud TPUs.- Dynamic batch sizes with DistributionStrategy and Keras are supported on Cloud TPUs.
- Support for
.fit,.evaluate,.predicton TPU using numpy data, in addition totf.data.Dataset.- Keras reference implementations for many popular models are available in the TensorFlow Model Garden.
tf.data
- Changes rebatching for
tf.data datasets+ DistributionStrategy for better performance. Note that the dataset also behaves slightly differently, in that the rebatched dataset cardinality will always be a multiple of the number of replicas.tf.data.Datasetnow supports automatic data distribution and sharding in distributed environments, including on TPU pods.- Distribution policies for
tf.data.Datasetcan now be tuned with 1.tf.data.experimental.AutoShardPolicy(OFF, AUTO, FILE, DATA)2.tf.data.experimental.ExternalStatePolicy(WARN, IGNORE, FAIL)tf.debugging
- Add
tf.debugging.enable_check_numerics()andtf.debugging.disable_check_numerics()to help debugging the root causes of issues involving infinities andNaNs.tf.distribute
- Custom training loop support on TPUs and TPU pods is avaiable through
strategy.experimental_distribute_dataset,strategy.experimental_distribute_datasets_from_function,strategy.experimental_run_v2,strategy.reduce.- Support for a global distribution strategy through
tf.distribute.experimental_set_strategy(),in addition tostrategy.scope().TensorRT
- TensorRT 6.0 is now supported and enabled by default. This adds support for more TensorFlow ops including Conv3D, Conv3DBackpropInputV2, AvgPool3D, MaxPool3D, ResizeBilinear, and ResizeNearestNeighbor. In addition, the TensorFlow-TensorRT python conversion API is exported as
tf.experimental.tensorrt.Converter.- Environment variable
TF_DETERMINISTIC_OPShas been added. When set to "true" or "1", this environment variable makestf.nn.bias_addoperate deterministically (i.e. reproducibly), but currently only when XLA JIT compilation is not enabled. SettingTF_DETERMINISTIC_OPSto "true" or "1" also makes cuDNN convolution and max-pooling operate deterministically. This makes Keras Conv*D and MaxPool*D layers operate deterministically in both the forward and backward directions when running on a CUDA-enabled GPU.Breaking Changes
... (truncated)
- Deletes
Operation.traceback_with_start_linesfor which we know of no usages.
Commits
-
765ac8dMerge pull request #35913 from tensorflow-jenkins/relnotes-2.0.1-6767 -
0bcb99bAdd CVE number for main patch -
a093c7eMerge pull request #36085 from tensorflow/mm-r2.0-fix-release-builds-pt4 -
63aedd7Disable test that times out on mac non pip builds -
619c578Disable the gpu on cpu tests as they were added for 2.1 -
1a617d6Merge pull request #36047 from tensorflow/mm-r2.0-fix-release-builds-pt3 -
32d9138Cleanup the windows builds -
dd1ebd7Cleanup macos builds -
3b93059Remove py2 macos scripts -
606596fRemove builds which are not needed for the release - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.