- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for _xla_outside_compilation (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" namespace mlir { namespace TFDevice { namespace { constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; #define GEN_PASS_DEF_VERIFYNOOUTSIDECOMPILATIONMARKERSPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc" class VerifyNoOutsideCompilationMarkersPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 22 19:52:08 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc
tensor<1120x?xi32>, tensor<2xi32>) {\0A %0 = \22tf.Reshape\22(%arg0, %arg1) {_xla_outside_compilation = \220\22} : (tensor<3360x?xi32>, tensor<3xi32>) -> tensor<3x1120x?xi32> loc(#loc9)\0A %1:3 = \22tf.Split\22(%arg2, %0) {_xla_outside_compilation = \220\22} : (tensor<i32>, tensor<3x1120x?xi32>) -> (tensor<1x1120x?xi32>, tensor<1x1120x?xi32>, tensor<1x1120x?xi32>) loc(#loc10)\0A %2 = \22tf.Reshape\22(%1#0, %arg3) {_xla_outside_compilation = \220\22} : (tensor<1x1120x?xi32>, tensor<2xi32>) -> tensor<1120x?xi32>...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
inline constexpr llvm::StringRef kTpuReplicateAttr = "_tpu_replicate"; // Device types. inline constexpr llvm::StringRef kTpuDevice = "TPU"; // _xla_outside_compilation inline constexpr llvm::StringRef kXlaOutsideCompilationAttr = "_xla_outside_compilation"; // device attr inline constexpr llvm::StringRef kDeviceAttr = "device"; // Function attribute to signal that a function should be skipped from TPU
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass.cc
op->emitError() << error; return WalkResult::interrupt(); } if (op->hasAttr(mlir::TF::kXlaOutsideCompilationAttr)) { std::string error = "op has outside compilation attribute _xla_outside_compilation which " "is not allowed after clustering"; op->emitError() << error; return mlir::WalkResult::interrupt(); } return WalkResult::advance(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 20:33:37 UTC 2023 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass_test.cc
static constexpr char kMlirModuleStr[] = R"( module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { func.func @main() -> () { "tf.B"() {_xla_outside_compilation = "cluster1"} : () -> () func.return } })"; CreateModule(kMlirModuleStr); auto result = Run(); EXPECT_TRUE(result.failed()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" namespace mlir { namespace TFTPU { namespace { constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; bool HasOutsideCompilationAttribute(Operation* op) { return op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr) != nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td
let summary = "Verifies that after Outside Compilation passes complete, there are no more _xla_outside_compilation attributes and no tf_device.launch ops."; let description = [{ This pass takes iterates over ops and ensures that _xla_outside_compilation and tf_device.launch ops no longer exist and have been removed. This happens after Outside Compilation passes have completed. }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_update_embedding_enqueue_op_inputs.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" namespace mlir { namespace TFTPU { namespace { constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; constexpr char kTPUEmbeddingAttr[] = "_tpu_embedding_layer"; #define GEN_PASS_DEF_TPUUPDATEEMBEDDINGENQUEUEOPINPUTSPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
// Automatically marked ops for outside compilation have // `_xla_outside_compilation` attribute value of "auto" plus // an increasing counter. Manually marked ops for outside compilation only // have an increasing counteri for the attribute value. Therefore there is no // collision in // `_xla_outside_compilation` attribute between automatically and manually // marking ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md
This pass extracts a CPU computation cluster with `_xla_outside_compilation` annotation from the head or tail of a Device cluster. For example: ```mlir %cluster = "tf_device.cluster"() ( { %a = "tf.A"(%arg0) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32> %b = "tf.B"(%a) : (tensor<i32>) -> tensor<i32> %c = "tf.C"(%b) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 02 02:26:39 UTC 2023 - 96.4K bytes - Viewed (0)