Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TPUReshardVariables (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/end-to-end-tpu-reshard-variables.mlir

    // RUN: tf-opt %s -tf-replicated-clustering-bridge-v2 -tfrt-lower-cluster-to-runtime-ops-tpu 2>&1 | FileCheck %s
    
    // TPUReshardVariables should be inserted even when While functions' shapes are
    // different than While operand shapes. Test the whole tf-tpu-bridge because
    // correct insertion of TPUReshardVariables depends on multiple passes including
    // TPUVariableRuntimeReformatting, ShapeInference, WhileRegion canonicalization,
    // and TPUMergeVariablesWithExecute.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

                // CHECK: "tf_device.launch"
                // CHECK-SAME: device = "TPU_REPLICATED_CORE_0"
                // CHECK-NEXT: "tf.TPUReshardVariables"(%[[ID]], %[[R1]], %[[COMPILE]]#1, %[[R_STATE]])
                // CHECK-NEXT: tf_device.return
                // CHECK: "tf.TPUExecuteAndUpdateVariables"(%[[ID]], %[[R1]], %[[COMPILE]]#1)
                "tf_device.launch"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

      });
      if (reshard_was_inserted)
        VLOG(1) << "tf-tpu-variable-runtime-reformatting inserted at least one "
                   "TPUReshardVariables";
      else
        VLOG(1) << "tf-tpu-variable-runtime-reformatting inserted no "
                   "TPUReshardVariables";
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTPUVariableRuntimeReformattingPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/flags.cc

                "Enables TPUVariableRuntimeReformatting pass for MLIR-Based "
                "TensorFlow Compiler Bridge. This enables weight update sharding "
                "and creates TPUReshardVariables ops.")});
    
      AppendMarkForCompilationPassFlagsInternal(flag_list);
      xla::ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", *flag_list);
    
      mlir_flags = new MlirCommonFlags;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
      TF_DerivedResultSizeAttr num_replicas = TF_DerivedResultSizeAttr<0>;
    }
    
    def TF_TPUReshardVariablesOp : TF_Op<"TPUReshardVariables", []> {
      let summary = "Op that reshards on-device TPU variables to specified state.";
    
      let description = [{
    Op that reshards on-device TPU variables to specified state. Internal use only.
    
    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