From 2c9add7038ada4368666f22baf8a8f74b05abfb1 Mon Sep 17 00:00:00 2001 From: Kanvi Khanna Date: Mon, 25 Sep 2023 17:21:31 -0700 Subject: [PATCH] Add notification for package update (#90) --- tensorflow/core/platform/cpu_feature_guard.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tensorflow/core/platform/cpu_feature_guard.cc b/tensorflow/core/platform/cpu_feature_guard.cc index 245f3263a9eefa..cfd3159dd7c9bd 100644 --- a/tensorflow/core/platform/cpu_feature_guard.cc +++ b/tensorflow/core/platform/cpu_feature_guard.cc @@ -178,6 +178,16 @@ void InfoAboutUnusedCPUFeatures() { #ifndef __FMA__ CheckIfFeatureUnused(CPUFeature::FMA, "FMA", missing_instructions); #endif // __FMA__ + LOG(INFO) << "Beginning TensorFlow 2.15, this package will be updated to " + << "install stock TensorFlow 2.15 alongside Intel's TensorFlow " + << "CPU extension plugin, which provides all the optimizations " + << "available in the package and more. If a compatible version " + << "of stock TensorFlow is present, only the extension will get " + << "installed. No changes to code or installation setup is " + << "needed as a result of this change." << std::endl + << "More information on Intel's optimizations for TensorFlow, " + << "delivered as TensorFlow extension plugin can be viewed at " + << "https://github.com/intel/intel-extension-for-tensorflow."; if (!missing_instructions.empty()) { LOG(INFO) << "This TensorFlow binary is optimized " << "to use available CPU instructions in performance-"