Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for _device_ordinal (0.2 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/fuse_tpu_compile_and_execute_ops.mlir

      // CHECK-NEXT: "tf._XlaSendFromHost"(%arg0, %0, [[key]]) <{device_ordinal = 0 : i64, key = "host_compute_channel_0_retvals"}> {_xla_has_host_transfer = true, device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<*xi32>, tensor<*xi32>, tensor<3x!tf_type.string>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/get_compiler_ir.cc

      xla::ExecutableBuildOptions build_options;
      if (result.collective_info) {
        build_options.set_num_replicas(result.collective_info->group_size);
      }
      build_options.set_device_ordinal(
          options.device_ordinal != -1 ? options.device_ordinal
                                       : local_client->default_device_ordinal());
      build_options.set_result_layout(result.xla_output_shape);
      build_options.set_device_allocator(options.device_allocator.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/kernels/xla_ops.cc

        xla::LocalClient* client, se::DeviceMemoryAllocator* allocator) {
      se::Stream* stream = GetStream(ctx);
      int device_ordinal = stream ? stream->parent()->device_ordinal()
                                  : client->default_device_ordinal();
      XlaComputationLaunchContext launch_context(
          client, allocator, device_ordinal,
          /*allocate_xla_tensors=*/platform_info.is_on_xla_device(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

    // CHECK:      tf_executor.fetch
    
    
    // Tests tf._TPUDeviceOrdinalPlaceholder ops are replaced with explicit device
    // ordinal constant values given by logical_core.
    // CHECK-LABEL: func @device_ordinals
    func.func @device_ordinals() {
      tf_executor.graph {
        %0:1 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

              %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>
              "tf._XlaSendFromHost"(%3, %1) {device_ordinal = 0 : i64, key = "host_compute_channel_0_0_retvals"} : (tensor<f32>, tensor<3x!tf_type.string>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

      Output x = ops::Placeholder(root.WithOpName("x"), DT_FLOAT);
      NameAttrList f_name_attr;
      f_name_attr.set_name("XTimesTwoFloat");
      ops::TPUPartitionedCall f(root.WithOpName("f"), {x}, /*device_ordinal=*/0,
                                {DT_FLOAT}, f_name_attr);
    
      TF_ASSERT_OK(root.ToGraph(&graph));
      EXPECT_TRUE(IsInferenceGraph(graph, /*function_library=*/nullptr));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top