- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 101 for Bridge (0.12 sec)
-
tensorflow/compiler/jit/flags.cc
// // The `enable_mlir_bridge_is_explicit` variable tracks whether or not the // user has made an explicit request. That is, if this variable is set to // true, the program honors the user's request as per `enable_mlir_bridge`; if // it's set to false, the default behavior is used (which may run either // bridge, on a per-graph basis). bool enable_mlir_bridge = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 24.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
namespace TF { namespace { // Returns true if the given op is TF/XLA communication op in the old bridge. bool IsCommunicationOp(Operation* op) { return isa<TF::XlaHostComputeOp, TF::XlaSendToHostOp, TF::XlaRecvFromHostOp>( op); } // Returns true if the given op is one of ops supported to have communication // subcomputation in the TF/XLA bridge. bool SupportsCommunicationComputation(Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_validate_inputs.cc
// "tf_saved_model.initializer_type" attribute from the callee of the // inner calls if the problem ever arises. entry_func->emitError() << "TF2XLA MLIR Non-replicated Phase 1 Bridge expects no nested calls" " of entry functions as they prevent graph traversal in some " "passes from " "working correctly"; return failure(); } } return success();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 19:29:14 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/BUILD
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow/core/platform:build_config.bzl", "tf_proto_library") load("//tensorflow/core/platform:rules_cc.bzl", "cc_library") # Please reach out to tf-bridge-team@ before using the TF2XLA bridge. package( # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], default_visibility = [ ":__subpackages__", ], ) cc_library( name = "legalize_tf",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
// Extract the islands containing a TPU cluster computation into an outlined // function in a nested module. This will allow to run the usual bridge on this // nested module which exhibit a more friendly "V2-like" structure. // This is only intended for V1 compatibility mode where the bridge runs without // feed/fetches on session create/extend. struct TPUBridgeExecutorIslandOutlining : public impl::TPUBridgeExecutorIslandOutliningPassBase<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc
OpPassManager& pm, const StandardPipelineOptions& options) { AddNonTPULowerClusterToRuntimeOpsPassPipeline(pm, /*module_name=*/""); } // TODO(b/306728216): Move this out of the Bridge component and into a Host // runtime component. tensorflow::Status RecordIfErrorStatus(const std::string error_prefix, std::string bridge_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc
// Power of 1.5 with bucket count 45 (> 23 hours) {tsl::monitoring::Buckets::Exponential(1, 1.5, 45)}); // There were no MLIR ops so the old bridge was called successfully. constexpr char kOldBridgeNoMlirSuccess[] = "kOldBridgeNoMlirSuccess"; // There were no MLIR ops so the old bridge was called but it failed. constexpr char kOldBridgeNoMlirFailure[] = "kOldBridgeNoMlirFailure"; namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc
// Patterns whose root op is in the set `include_ops` are moved from the set // `from` to the returned set. This is used to partition patterns by op so they // can be cleanly migrated from the old bridge to the MLIR bridge. RewritePatternSet PatternsIncludeOps(RewritePatternSet &from) { RewritePatternSet to(from.getContext()); // Filter NativePatterns. for (auto &pattern : from.getNativePatterns()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc
func.func @main() -> () { %0 = tf.Unknown() -> () func.return %0 } })"; // MLIR which should be filtered by the MLIR bridge but fully legalize with the // combined bridge. static constexpr char kUnsupportedMlirBridgeModuleStr[] = R"( module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { func.func @main() -> () {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.h
#include "tsl/platform/statusor.h" namespace tensorflow { namespace tf2xla { namespace internal { // Legalize the given MLIR module to XLA HLO using a combination of the MLIR // Bridge and XlaBuilder absl::StatusOr<XlaCompilationResult> LegalizeTfToHlo( const tpu::MlirToHloArgs& computation, const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args, llvm::StringRef device_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 2K bytes - Viewed (0)