Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for XLA_TPU_JIT (0.24 sec)

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

      std::vector<tensorflow::TensorShape> arg_shapes;
      XlaCompilationResult compilation_result;
      auto status = CompileSerializedMlirToXlaHlo(
          kMlirModuleStr, arg_shapes, /*device_type=*/"XLA_TPU_JIT",
          /*use_tuple_args=*/true, /*enable_op_fallback=*/false,
          /*shape_determination_fns=*/{}, &compilation_result);
    
      EXPECT_TRUE(status.ok());
      EXPECT_THAT(status.value(), HasSubstr("mhlo.const"));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/device_type.proto

    syntax = "proto2";
    
    package tensorflow.tf2xla.v2;
    
    // The requested device type to compile for.
    enum DeviceType {
      DEVICE_TYPE_UNSPECIFIED = 0;
      XLA_TPU_JIT = 1;
      XLA_CPU_JIT = 2;
      XLA_GPU_JIT = 3;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 15 15:50:12 UTC 2023
    - 204 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir_test.cc

      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      return CompileFromMlirToXlaHlo(
          compile_to_xla_hlo, mlir_to_hlo_args, metadata_proto,
          /*device_type=*/"XLA_TPU_JIT",
          /*shape_determination_fns=*/{}, use_tuple_args, compilation_result.get(),
          custom_legalization_passes, arg_shapes, &arg_core_mapping,
          &per_core_arg_shapes);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

      auto compilation_result = tensorflow::XlaCompilationResult();
    
      TF_EXPECT_OK(tensorflow::CompileSerializedMlirToXlaHlo(
                       legalization, arg_shapes, /*device_type=*/"XLA_TPU_JIT",
                       /*use_tuple_args=*/true, /*enable_op_fallback=*/false,
                       /*shape_determination_fns=*/{}, &compilation_result)
                       .status());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    //   . Legalizes the operations to XLA HLO operations.
    //   . Canonicalizes the XLA HLO operations.
    //
    // device_type: XLA JIT device to use for compilation such as "XLA_CPU_JIT",
    //   "XLA_GPU_JIT" or "XLA_TPU_JIT".
    // use_tuple_args: when this is true, always create a tuple argument for the
    //   entry computation.
    // enable_op_fallback: when this is true, prefer tf2xla fallback kernels over
    // MLIR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      return LegalizeTfToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                             /*device_type=*/"XLA_TPU_JIT",
                             /*shape_determination_fns=*/{}, arg_shapes,
                             &arg_core_mapping, &per_core_arg_shapes,
                             custom_legalization_passes, client,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

                       .ok());
    
      EXPECT_EQ(
          compilation_status.Delta(mlir::TF::kMlirPh1BridgeCounterReplicated,
                                   mlir::TF::kMlirPh1BridgeCounterV2, "XLA_TPU_JIT",
                                   "fallback_disabled", "failure"),
          1);
    }
    
    TEST_F(LowerClusterToRuntimeOpsTest, DumpsPipelinePasses) {
      std::vector<std::string> files;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

        TF_EXPECT_OK(tensorflow::tf2xla::v2::LegalizeMlirToHlo(
                         mlir_to_hlo_args, metadata_proto, use_tuple_args,
                         /*device_type=*/"XLA_TPU_JIT", custom_legalization_passes,
                         /*shape_determination_fns=*/{}, arg_shapes,
                         &arg_core_mapping, &per_core_arg_shapes, client)
                         .status());
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
    
      return LegalizeMlirToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                               /*device_type=*/"XLA_TPU_JIT",
                               custom_legalization_passes,
                               /*shape_determination_fns=*/{}, arg_shapes,
                               &arg_core_mapping, &per_core_arg_shapes, client);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/BUILD

            ":xla_cpu_jit",
            "//tensorflow/compiler/plugin",
        ] + if_cuda_or_rocm([
            ":xla_gpu_device",
            ":xla_gpu_jit",
        ]) + if_with_tpu_support([
            ":xla_tpu_device",
            ":xla_tpu_jit",
        ]),
        alwayslink = 1,
    )
    
    cc_library(
        name = "xla_cpu_jit",
        visibility = ["//visibility:public"],
        deps = [
            ":jit_compilation_passes",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 61.5K bytes
    - Viewed (0)
Back to top