Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for set_num_replicas (0.14 sec)

  1. tensorflow/compiler/jit/device_compiler_client.cc

        const XlaCompiler::Options& options,
        const XlaCompiler::CompilationResult& result, int default_device_ordinal) {
      xla::ExecutableBuildOptions build_options;
      if (result.collective_info) {
        build_options.set_num_replicas(result.collective_info->group_size);
      }
      if (options.device_ordinal != -1) {
        build_options.set_device_ordinal(options.device_ordinal);
      } else if (default_device_ordinal != -1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 20:35:26 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        if (!metadata->mutable_compile_options()->ParseFromArray(
                options_attr.data(), options_attr.size())) {
          return failure();
        }
      }
      metadata->set_num_replicas(num_replicas);
      metadata->set_num_cores_per_replica(num_cores_per_replica);
    
      if (failed(SetMetadataProtoStepMarkerLocation(op, metadata)))
        return failure();
    
      if (xla_device_assignment.has_value())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/get_compiler_ir.cc

        argument_layouts[i] = &result.xla_input_shapes[i];
      }
      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());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top