Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 109 for tpu0 (0.05 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    using ::tensorflow::monitoring::testing::CellReader;
    using tpu::MlirToHloArgs;
    using tpu::ShardingAndIndex;
    using tpu::TPUCompileMetadataProto;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/BUILD

            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core/tpu:tpu_compile",
            "//tensorflow/core/tpu/kernels:tpu_compile_op_support",
            "//tensorflow/core/tpu/kernels:tpu_compile_proto_cc",
            "//tensorflow/core/tpu/kernels:tpu_util",
            "@com_google_absl//absl/container:flat_hash_set",
            "@com_google_absl//absl/log",
            "@com_google_absl//absl/status",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

      return absl::OkStatus();
    }
    
    // TODO(b/305211853): Unify the CPU/TPU/GPU Execution Ops and thus these two
    // passes should merge together.
    void RegisterTPULowerClusterToRuntimeOpsPassPipeline() {
      static mlir::PassPipelineRegistration<StandardPipelineOptions> pipeline(
          "tfrt-lower-cluster-to-runtime-ops-tpu",
          "Run all the passes involved after the clustering transformations from "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. .bazelrc

    # ARM64 WHEEL
    test:linux_arm64_wheel_test_filters --test_tag_filters=-no_oss,-no_aarch64,-oss_excluded,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // For all other inputs that go from TPU op to TPU op, insert the
      // TPUOutput/Input pair.
    
      // Add TPUReplicatedInput/TPUReplicatedOutput pairs along each edge.
      // TODO(bfontain): Should be merged with the above loop.
      llvm::SetVector<Value> values_to_add_nodes;
    
      for (Operation* op : backward_pass_ops) {
        // TODO(bfontain): Should validate that all the TPU ops are in the same
        // replication region.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc

      getOperation().walk([&](tf_device::ClusterFuncOp cluster_func) {
        cluster_funcs.push_back(cluster_func);
      });
    
      OpBuilder builder(&getContext());
      // Add resource reads for resource writes from TPU cluster where for such
      // resources the TPU cluster does not read from.
      for (tf_device::ClusterFuncOp cluster_func : cluster_funcs) {
        builder.setInsertionPoint(cluster_func);
    
        SmallVector<Value, 4> read_operands;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_device_copy_conversion.cc

                                            const StringAttr &op_device) {
        // In TFRT TPU, tensor transfer is handled specifically by D2H and
        // H2D transfer kernels. So fold the tf.Identity op if:
        // * the identity op is placed on TPU, and
        // * the arg to the identity op is produced by a TPUExecuteOp.
        if (op_device && op_device.getValue().contains("TPU")) {
          return true;
        }
    
        Operation *def_op = arg.getDefiningOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/BUILD

            "//tensorflow/core:lib",
            "//tensorflow/core/platform:statusor",
            "//tensorflow/core/tpu:tpu_compile",
            "//tensorflow/core/tpu/kernels:tpu_compile_op_support",
            "//tensorflow/core/tpu/kernels:tpu_compile_proto_cc",
            "//tensorflow/core/tpu/kernels:tpu_util_hdrs",
            "@com_google_absl//absl/log",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/strings",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top