Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for TPUCompilationResult (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/embedding_sequencing.mlir

      // CHECK-DAG: TPUReplicateMetadata
      // CHECK-DAG: TPUCompilationResult
      // CHECK-DAG: TPUReplicatedOutput
      // CHECK: return
    
      // core_tput should have TPU ops including both replicated inputs and outputs
      // CHECK: func.func private @_func_core_tpu
      // CHECK-DAG: TPUReplicatedInput
      // CHECK-DAG: TPUReplicateMetadata
      // CHECK-DAG: TPUCompilationResult
      // CHECK-DAG: TPUReplicatedOutput
      // CHECK: return
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 21:27:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graph_pruning_preserve_ops.mlir

      tf_executor.graph {
        %0 = tf_executor.ControlTrigger {}
        // CHECK: "tf.NoOp"
        %1 = tf_executor.island wraps "tf.NoOp"() : () -> ()
        // CHECK: "tf.TPUCompilationResult"
        %2, %3 = tf_executor.island(%1) wraps "tf.TPUCompilationResult"() : () -> tensor<!tf_type.string>
        tf_executor.fetch %0 : !tf_executor.control
      }
      func.return
    }
    
    // CHECK-LABEL: func @preserve_unreachable_tpu_replicated_input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/embedding_pipelining.mlir

        "tf.TPUReplicateMetadata"() {_has_manual_control_dependencies = true, _replication_info = "repl_info", num_replicas = 1 : i64} : () -> ()
        // expected-error @+1 {{'tf.TPUCompilationResult' op is not part of the replication region "repl_info" vs "wrong_repl_info"}}
        %1 = "tf.TPUCompilationResult"() {_tpu_compilation_status = "wrong_repl_info"} : () -> tensor<!tf_type.string>
        return %arg0 : tensor<i1>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 33.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

    func.func @serving_default(%arg0: tensor<1x3xf32>) -> (tensor<1x3xf32>) {
      %outputs  =  "tf.TPUCompilationResult"() {_tpu_compilation_status = "cluster", device = ""} : () -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/convert_to_legacy_compile_and_replicate_attributes.mlir

        %outputs_5, %control_6 = tf_executor.island(%control_4) wraps "tf.TPUCompilationResult"() {_tpu_compilation_status = "cluster", device = ""} : () -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-defs.pbtxt

      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "num_replicas"
        value {
          i: 1
        }
      }
    }
    node {
      name: "TPUCompilationResult"
      op: "TPUCompilationResult"
      input: "^TPUReplicateMetadata"
      attr {
        key: "_tpu_compilation_status"
        value {
          s: "cluster"
        }
      }
    }
    node {
      name: "output_0_shard_0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tpu_model_to_cpu.mlir

      %1 = "tf.TPUCompilationResult"() {_tpu_compilation_status = "cluster", device = ""} : () -> tensor<!tf_type.string>
      %2 = "tf.Transpose"(%0, %cst_0) {device = ""} : (tensor<1x3x4x3xbf16>, tensor<4xi32>) -> tensor<1x3x3x4xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir

        %outputs_2, %control_2 = tf_executor.island wraps "tf.TPUCompilationResult"() {_tpu_compilation_status = "cluster"} : () -> tensor<!tf_type.string>
      }
      func.return
    }
    
    // -----
    
    // CHECK-LABEL: func @tpu_compilation_status_different_clusters
    // CHECK: tf_executor.island
    // CHECK: "tf.Const"
    // CHECK: tf_executor.island
    // CHECK: "tf.TPUCompilationResult"
    func.func @tpu_compilation_status_different_clusters() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 02 03:15:59 UTC 2022
    - 36.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      // all graphs should have control dependencies to enforce this but this is
      // currently not the case (see b/177478741).
      const llvm::SmallVector<std::string, 4> ops_to_preserve = {
          "tf.TPUReplicateMetadata", "tf.TPUCompilationResult",
          "tf.TPUReplicatedOutput"};
      bool strict_clusters =
          tensorflow::GetMlirCommonFlags()->tf_mlir_enable_strict_clusters;
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                                   llvm::SetVector<Operation*>& merged_set,
                                   OpType& found_op) {
      // Find the TPUReplicationMetadata or TPUCompilationResult ops which will be
      // cloned/inserted into each region. We add them to the merged_set so that
      // they're ignored when extracting the four main functions.
      found_op = nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top