Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for tpu0 (0.09 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    using ::tensorflow::tpu::FunctionToHloArgs;
    using ::tensorflow::tpu::GuaranteedConsts;
    using ::tensorflow::tpu::MlirToHloArgs;
    using ::tensorflow::tpu::ShardingAndIndex;
    
    auto* phase2_bridge_compilation_status =
        tensorflow::monitoring::Counter<1>::New(
            "/tensorflow/core/tf2xla/api/v1/"
            "phase2_compilation_status", /*metric_name*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

        tf_executor.fetch
      }
      func.return
    }
    // CHECK: "tf.opA"
    // device = "/TPU:0"
    // CHECK: _parallel_execution_ids = "r0:0"
    // CHECK: "tf.opA"
    // device = "/TPU:0"
    // CHECK: _parallel_execution_ids = "r0:1"
    // CHECK: "tf.opA"
    // device = "/TPU:1"
    // CHECK: _parallel_execution_ids = "r1:0"
    // CHECK: "tf.opA"
    // device = "/TPU:1"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/fuse_tpu_compile_and_execute_ops.mlir

      %6 = "tf.TPUExecute"(%3#1, %1, %program#1) {_producer_name = "UNKNOWN", device = "/TPU:1"} : (tensor<1x1xf32>, tensor<1x1xf32>, tensor<3x!tf_type.string>) -> tensor<1x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

      if (!op->hasAttr(TF::kTpuReplicateAttr)) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "missing _tpu_replicate attr");
        return false;
      }
      auto opattr = op->getAttr(TF::kTpuReplicateAttr);
      if (opattr != attr) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "invalid _tpu_replicate attr.")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc

            if (!exported_model.ok()) return exported_model.status();
    
            // Remove the `tpu` tag from the debug quantized saved model as it is
            // for CPU. Note the 'tpu' value should be the same as `TPU` defined in
            // tensorflow/python/saved_model/tag_constants.py.
            if (quantization_options.has_debugger_config()) {
              tags.erase("tpu");
            }
            py_function_library.SaveExportedModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

        mlir::ArrayAttr device_assignment_attr);
    
    // Finds the TPU compilation device and execution devices from `devices` for a
    // TPU computation subgraph. Compilation device is determined from looking up
    // all TPU_SYSTEM:0 devices and choosing the CPU device associated to the first
    // TPU_SYSTEM device sorted lexicographically by replica and task. Execution
    // devices are determined by looking up all TPU devices associated with each
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_validate_inputs.mlir

        // expected-warning @+1 {{TF2XLA TPU bridge input check: cluster op = tf.opA with cluster = cluster has successor as non cluster op tf.opB}}
        %out2, %c2 = tf_executor.island wraps "tf.opB"(%out) : (tensor<i32>) -> tensor<i32>
        // expected-error @+1 {{tf.TPUReplicatedOutput' op TF2XLA TPU bridge input check: non-cluster op = tf.opB has invalid successor op = tf.TPUReplicatedOutput}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        arg->set_dtype(dtype);
        // TODO(lyandy): Support other arg kinds.
        if (dtype == tensorflow::DT_RESOURCE)
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::VARIABLE);
        else
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
    
        // Populate argument shapes.
        *arg->mutable_shape() = tensorflow::TensorShapeProto();
        if (auto ranked_tensor_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

    // TPU-annotated operations and intended to preserve backward compatibility with
    // TFv1.
    struct TpuV1BridgeExecutorIslandCoarsening
        : public impl::TpuV1BridgeExecutorIslandCoarseningPassBase<
              TpuV1BridgeExecutorIslandCoarsening> {
      void runOnOperation() override;
    };
    
    // Returns name of TPU cluster, if op belongs to a TPU cluster. Otherwise,
    // returns `std::nullopt`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    namespace {
    
    using ::tensorflow::monitoring::testing::CellReader;
    using ::tensorflow::tpu::FunctionToHloArgs;
    using ::tensorflow::tpu::MlirToHloArgs;
    using ::tensorflow::tpu::ShardingAndIndex;
    using ::tsl::monitoring::testing::Histogram;
    
    static constexpr char kCompilationTimeStreamzName[] =
        "/tensorflow/core/tf2xla/api/v1/phase2_compilation_time";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top