- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for _device_ordinal (0.23 sec)
-
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir
"tf.EnqueueTPUEmbeddingRaggedTensorBatch"(%arg0) {table_ids = [1, 2], device_ordinal = 1} : (tensor<!tf_type.string>) -> () // expected-remark@above {{ID: 0}} // expected-remark@above {{Successors: {1}}} "tf.EnqueueTPUEmbeddingRaggedTensorBatch"(%arg0) {table_ids = [1, 2], device_ordinal = 1} : (tensor<!tf_type.string>) -> () // expected-remark@above {{ID: 1}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 129.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
ConfinedAttr<TypeArrayAttr, [ArrayMinCount<1>]>:$dtypes, TF_ShapeAttrArray:$shapes, DefaultValuedOptionalAttr<I64ArrayAttr, "{}">:$layouts, DefaultValuedOptionalAttr<I64Attr, "-1">:$device_ordinal ); let results = (outs); } // This op is manually defined because the attribute name `template` (which is // a keyword) is changed to `strtemplate`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir
// 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) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc
"_XlaRecvAtHost", opts.op_registry()); node_builder.Input(std::move(key_input)); return opts.WithAttr("Toutputs", dtypes) .WithAttr("key", key) .WithAttr("device_ordinal", 0) .WithAttr("_encapsulate", cluster) .WithAttr("_outside", oc_cluster) .FinalizeBuilder(&node_builder); } Node* SendFromHost(ops::NodeOut key_input, const string& cluster,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// Helper function to get an absolute device string, combining device and // ordinal attribute values. std::string GetAbsDeviceStr(Operation* op, uint64_t device_ordinal) { std::string device_ordinal_str = std::to_string(device_ordinal); auto device_attr = op->getAttrOfType<StringAttr>("device"); if (!device_attr || device_attr.getValue().empty()) return device_ordinal_str;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)