- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for XlaCompilationResult (0.25 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc
CellReader<int64_t> reader(kMetric); ASSERT_THAT(failed(), Not(IncrementedOrFiltered(reader.Delta(kOkStatus), 1))); } tensorflow::XlaCompilationResult CreateXlaComputationResult( const char* hlo_name) { auto result = tensorflow::XlaCompilationResult(); xla::HloModuleProto hlo; hlo.set_name(hlo_name); result.computation = std::make_shared<xla::XlaComputation>(hlo); return result; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc
arg_core_mapping, per_core_arg_shapes); if (!sharding_result.ok()) { return sharding_result; } return compiled_mlir; } absl::StatusOr<XlaCompilationResult> LegalizeWithMlirBridge( const tpu::MlirToHloArgs& computation, const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args, llvm::StringRef device_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h
// arg_core_mapping - Which args go on which cores. // per_core_arg_shapes - For each core, the shapes for each argument. // client - The Xla Compilation client. absl::StatusOr<tensorflow::XlaCompilationResult> LegalizeMlirToHlo( const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation, const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args, llvm::StringRef device_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 07:32:57 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
llvm::cl::init(false)); } // namespace namespace tensorflow { namespace { mlir::LogicalResult PrintHloModuleText( const XlaCompilationResult& compilation_result, llvm::raw_ostream& output) { const xla::HloModuleConfig module_config( compilation_result.computation->GetProgramShape().value()); auto status_or_hlo_module = xla::HloModule::CreateFromProto(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc
return mlir_to_hlo_args; } class CompileTFGraphTest : public ::testing::Test { public: absl::StatusOr<XlaCompilationResult> CompileWithComputation( const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs> computation) { XlaCompilationResult compilation_result; se::Platform* platform = se::PlatformManager::PlatformWithName(kPlatformName).value(); auto client =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler.h
// compilation (HLO) using the XlaCompiler and compiles the resulting // XlaCompilationResult into an `ExecutableType` (eg. xla::LocalExecutable) by // calling `ClientType` (eg. xla::LocalClient). // // Caches the compiled XlaCompilationResult and Executable using a // DeviceCompilationCache. Compilation is done only when there's a cache miss. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 22.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc
} })"; SetPassThatChangedIdentity(""); std::vector<::tensorflow::TensorShape> arg_shapes = {{1}}; 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 19 22:54:26 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc
std::vector<ShardingAndIndex> arg_core_mapping; std::vector<std::vector<xla::Shape>> per_core_arg_shapes; std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes; 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
if (VLOG_IS_ON(2)) tensorflow::DumpMlirOpToFile("build_hlo_tf_after", module_op); return absl::OkStatus(); } Status PopulateCollectiveInfo(mlir::ModuleOp module_op, XlaCompilationResult* compilation_result) { // The StringRef cast is necessary before cxx14. mlir::IntegerAttr group_key_attr = module_op->getAttrOfType<mlir::IntegerAttr>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.cc
// Get-or-create thread pool for a given collective. static thread::ThreadPool* GetOrCreateThreadPoolForCollective( const XlaCompilationResult::CollectiveInfo& collective_info) { static absl::Mutex m(absl::kConstInit); static auto& thread_pool_cache ABSL_GUARDED_BY(m) = *new absl::node_hash_map<XlaCompilationResult::CollectiveInfo, thread::ThreadPool>(); absl::MutexLock l(&m);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 41.4K bytes - Viewed (0)