Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for num_partitions (0.57 sec)

  1. tensorflow/compiler/jit/pjrt_device_compiler_client.cc

      VLOG(2) << "Compiled PJRT executable " << executable->name()
              << " num_replicas " << executable->num_replicas()
              << " num_partitions " << executable->num_partitions();
    
      return std::move(executable);
    }
    
    absl::StatusOr<std::string> PjRtDeviceCompilerClient::SerializeExecutable(
        const xla::PjRtLoadedExecutable& executable) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/convert_xla_call_module_op_to_bfloat16.mlir

        %0:2 = "tf.XlaCallModule"(%arg0, %arg1, %arg2) {
          Sout = [#tf_type.shape<10>], dim_args_spec = [],
          _entry_function = @main_0,
          _stablehlo_module_attrs = { mhlo.num_partitions = 1 }, module = "",
          platforms = [], version = 5 : i64
        } : (tensor<10xf32>, tensor<10xf32>, tensor<6xi32>) -> (tensor<10xf32>, tensor<6xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/call_xla_module_to_stablehlo.mlir

    \05\0B\03\05\1D\05\06!\03\05\05\01\01\07\04\01\03\03\06\03\01\05\01\00f\051\0F\0B\03!\1B\1D[;\05\1F\15\1D\15\1D%)9\13\15\19\11\0F\0B\11builtin\00vhlo\00module\00func_v1\00multiply_v1\00return_v1\00sym_name\00jax.uses_shape_polymorphism\00mhlo.num_partitions\00mhlo.num_replicas\00jit_jax_model\00arg_attrs\00function_type\00res_attrs\00sym_visibility\00x\00jit(jax_model)/jit(main)/mul\00experimental/users/ypang/lite/convert_ulm.py\00mhlo.sharding\00{replicated}\00jax.result_info\00\00main\00public\00",...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 21:25:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

      // Restore the deserialized stablehlo module's attributes to the reconstructed
      // stablehlo module. The stablehlo module's attributes can contain important
      // information such as SPMD num_replicas and num_partitions.
      auto original_stablehlo_module_attrs =
          op->getAttrOfType<DictionaryAttr>(kStablehloModuleAttrsAttrName);
      if (original_stablehlo_module_attrs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_launch_util.cc

      std::vector<std::unique_ptr<xla::PjRtBuffer>> execute_outputs;
      std::optional<xla::PjRtFuture<>> future;
      if (executable->num_replicas() != 1 || executable->num_partitions() != 1) {
        TF_ASSIGN_OR_RETURN(
            execute_outputs,
            executable->ExecuteSharded(
                executable_args, device,
                GetPjRtExecuteOptions(device_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult TPUPartitionedInputV2Op::verify() {
      TPUPartitionedInputV2Op op = *this;
    
      int num_partitions = 1;
      const mlir::ArrayAttr partition_dims = op.getPartitionDims();
      for (const mlir::Attribute &dim : partition_dims) {
        num_partitions *= dim.cast<IntegerAttr>().getInt();
      }
    
      const bool is_packed = op.getIsPacked();
      const bool replicated = partition_dims.empty();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    For example:
    
    ```python
        # Scalar partitions.
        partitions = 1
        num_partitions = 2
        data = [10, 20]
        outputs[0] = []  # Empty with shape [0, 2]
        outputs[1] = [[10, 20]]
    
        # Vector partitions.
        partitions = [0, 0, 1, 1, 0]
        num_partitions = 2
        data = [10, 20, 30, 40, 50]
        outputs[0] = [10, 20, 50]
        outputs[1] = [30, 40]
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util_test.cc

        xla::ExecuteOptions exe_options;
        exe_options.arguments_are_tupled = false;
        exe_options.untuple_result = true;
    
        // TODO(b/257548614): currently PJRT is compiled as portable (num_replica =
        // 1 and num_partition = 1). Support multiple partitions case.
        return executable->ExecutePortable(executable_args, pjrt_device,
                                           exe_options);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top