Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for _XlaRecvAtHost (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_tail_with_tobool_op.mlir

    // . So the TPU program should contain tf.Rank op and there should be no
    // host-device communication.
    // CHECK: tf._TPUCompileMlir
    // CHECK-SAME: tf.Rank
    // CHECK-NOT: tf._XlaHostComputeMlir
    // CHECK-NOT: tf._XlaRecvAtHost
    // CHECK-NOT: tf._XlaSendFromHost
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

        // CHECK:            %[[RECV_OUTPUT:[0-9]*]] = "tf._XlaRecvAtHost"(%[[PROGRAM_OUTPUT]])
        // CHECK:            _xla_has_host_transfer = true
        // CHECK:            %[[B_OUTPUT:[0-9]*]] = "tf.B"(%[[RECV_OUTPUT]])
        // CHECK:            %[[RECV_OUTPUT:[0-9]*]] = "tf._XlaRecvAtHost"(%[[PROGRAM_OUTPUT]])
        // CHECK:            _xla_has_host_transfer = true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

      // CHECK-SAME: shape_inference_graph = @host_func
      // CHECK-SAME: shapes = [#tf_type.shape<*>, #tf_type.shape<3x?>]
      // CHECK-SAME: tpu_core = 0 : i64
      // CHECK: func @host_func
      // CHECK: %[[RECV_OUTPUT:[0-9]*]]:2 = "tf._XlaRecvAtHost"
      // CHECK-SAME: key = "host_compute_channel_send"
      // CHECK-SAME: -> (tensor<*xf32>, tensor<3x?xf64>)
      // CHECK: %[[ID_OUTPUT:[0-9]*]] = "tf.Identity"(%[[RECV_OUTPUT]]#0)
      // CHECK: "tf._XlaSendFromHost"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

                                            &call_fbody));
    
        // Verify we have _XlaRecvAtHost and _XlaSendFromHost nodes.
        bool has_recv = false, has_send = false;
        for (Node *n : call_fbody->graph->nodes()) {
          if (n->type_string() == "_XlaRecvAtHost") {
            has_recv = true;
          } else if (n->type_string() == "_XlaSendFromHost") {
            has_send = true;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        const std::vector<DataType>& recv_at_host_dtypes, Node* key_placeholder) {
      NodeDefBuilder recv_at_host_builder(
          absl::StrCat("outside_compilation_", oc_cluster_name, "_recv"),
          "_XlaRecvAtHost");
      NodeDef recv_at_host_def;
      recv_at_host_builder.Attr("Toutputs", recv_at_host_dtypes);
      // The correct device_ordinal will be inserted during replication in a
      // subsequent rewrite.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

          %0 = "tf_device.parallel_execute"() ( {
            "tf_device.launch"() ( {
              %1 = "tf._XlaCompileMlirPlaceholderProgramKey"() : () -> tensor<3x!tf_type.string>
              %2 = "tf._XlaRecvAtHost"(%1) {device_ordinal = 0 : i64, key = "host_compute_channel_0_0_args"} : (tensor<3x!tf_type.string>) -> tensor<f32>
              %3 = "tf.Identity"(%2) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

              /*dynamic_key=*/compilation_key,
              builder.getStringAttr(communication_key),
              /*device_ordinal=*/builder.getI64IntegerAttr(0), device_type_attr),
          builder);
    }
    
    // Creates a tf._XlaRecvAtHost or tf._XlaRecvAtHostV2 op. If device ordinal is
    // present, a tf._XlaRecvAtHostV2 op is created instead.
    Operation* CreateRecvAtHostOp(OpBuilder& builder, Location loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      string name = absl::StrCat("outside_compilation_", cluster, "_",
                                 new_func_name, "_", oc_cluster, "_recv");
      NodeBuilder node_builder(opts.WithName(name).GetNameForOp("_XlaRecvAtHost"),
                               "_XlaRecvAtHost", opts.op_registry());
      node_builder.Input(std::move(key_input));
      return opts.WithAttr("Toutputs", dtypes)
          .WithAttr("key", key)
          .WithAttr("device_ordinal", 0)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        // CHECK-NEXT: %cst_1 = "tf.Const"() <{value = dense<[1120, -1]> : tensor<2xi32>}> : () -> tensor<2xi32>
        // CHECK: %0 = "tf._XlaCompileMlirPlaceholderProgramKey"() : () -> tensor<3x!tf_type.string>
        // CHECK: %1:4 = "tf._XlaRecvAtHost"(%0) <{device_ordinal = 0 : i64, device_type = "TPU", key = "host_compute_channel_0_args"}> : (tensor<3x!tf_type.string>) -> (tensor<3360x8xi32>, tensor<3xi32>, tensor<i32>, tensor<2xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    func @outside_compilation() -> tensor<f32> {
      %0 = "tf_device.parallel_execute"() ( {
        "tf_device.launch"() ( {
          %1 = "tf._XlaCompileMlirPlaceholderProgramKey"() : () -> tensor<3x!tf_type.string>
          %2 = "tf._XlaRecvAtHost"(%1) {device_ordinal = 0 : i64, key = "host_compute_channel_0_0_args"} : (tensor<3x!tf_type.string>) -> tensor<f32>
          %3 = "tf.Identity"(%2) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
Back to top