Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for instance_key (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-collective.mlir

      %instance_key = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32>
      // CHECK: %[[REDUCE:.*]] = "mhlo.all_reduce"
      // CHECK-SAME{LITERAL}: replica_groups = dense<[[0, 1]]> : tensor<1x2xi64>
      // CHECK: mhlo.add
      // CHECK: mhlo.return
      // CHECK: return %[[REDUCE]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

      Pattern<
        (TF_CollectiveReduceV2Op:$src_op
           $input, $group_size, $group_key, $instance_key, $ordering_token,
           $merge_op, $final_op, $communication_hint, $timeout_seconds,
           $is_stateless, $max_subdivs_per_device
        ),
        [(TF_CollectiveReduceV2Op
           $input, $group_size, $group_key, $instance_key, (EmptyList),
           $merge_op, $final_op, $communication_hint, $timeout_seconds,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

      %group_key: tensor<i32>,
      %group_size: tensor<i32>,
      %instance_key: tensor<i32>) {
      tf_executor.graph {
        // expected-remark@above {{ID: 5}}
        %island = tf_executor.island {
            // expected-remark@above {{ID: 3}}
            // expected-remark@above {{Successors: {4}}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      TFE_OpSetAttrType(op.get(), "T", TFE_TensorHandleDataType(input));
      TFE_OpSetAttrInt(op.get(), "group_size", group_size);
      TFE_OpSetAttrInt(op.get(), "group_key", 0);
      TFE_OpSetAttrInt(op.get(), "instance_key", 0);
      const std::string merge_op("Add");
      TFE_OpSetAttrString(op.get(), "merge_op", merge_op.c_str(),
                          merge_op.length());
      const std::string final_op("Id");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 29.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

              {{"y"},
               "CollectiveReduce",
               {"x"},
               {{"T", DT_FLOAT},
                {"group_size", static_cast<int>(devices.size())},
                {"group_key", 0},
                {"instance_key", 0},
                {"merge_op", "Add"},
                {"final_op", "Id"},
                {"subdiv_offsets", std::vector<int>()}},
               /*dep=*/{"assert"}},
          });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 15.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test_util.cc

      TF_DeleteStatus(status);
    
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(in));
      TFE_OpSetAttrInt(op, "group_size", group_size);
      TFE_OpSetAttrInt(op, "group_key", 123);
      TFE_OpSetAttrInt(op, "instance_key", 456);
      TFE_OpSetAttrString(op, "merge_op", "Add", 3);
      TFE_OpSetAttrString(op, "final_op", "Id", 2);
      std::vector<int64_t> subdiv_offsets;
      TFE_OpSetAttrIntList(op, "subdiv_offsets", subdiv_offsets.data(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

      %group_key: tensor<i32>,
      %instance_key: tensor<i32>,
      %token: tensor<!tf_type.resource<tensor<f32>>>
    ) -> tensor<3xi64> {
      %0 = "tf_device.cluster"() ({
        // arg4 shall have been removed.
        // CHECK: tf.CollectiveReduceV2
        // CHECK-NOT: [[TOKEN]]
        // CHECK-SAME: merge_op
        %0 = "tf.CollectiveReduceV2"(%input, %group_size, %group_key, %instance_key, %token) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/store.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    type hostPort struct {
    	host instancesKey
    	port int
    }
    
    // stores all the service instances from SE, WLE and pods
    type serviceInstancesStore struct {
    	ip2instance map[string][]*model.ServiceInstance
    	// service instances by hostname -> config
    	instances map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance
    	// instances only for serviceentry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    // For `CollectiveReduceV2Op` we have 3 cases:
    // 1) `is_stateless` is true turns off automatic ordering and we purely rely on
    //    instance_key to distinguish collective groups. In this case, ordering
    //    tokens are irrelevant. Each collective group should have a unique
    //    instance_key at runtime.
    // 2) If at least one ordering token is present, then we purely rely on ordering
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    collective ops. In this case, keys that are unique at runtime
    (e.g. `instance_key`) should be used to distinguish collective groups.
      }];
    
      let arguments = (ins
        TF_FpOrI32OrI64Tensor:$input,
        TF_Int32Tensor:$group_size,
        TF_Int32Tensor:$group_key,
        TF_Int32Tensor:$instance_key,
        Variadic<TF_ResourceTensor>:$ordering_token,
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top