Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for compilation_result (0.2 sec)

  1. tensorflow/compiler/jit/device_compilation_cache_test.cc

      auto compilation_result2 = std::make_unique<XlaCompiler::CompilationResult>();
      auto executable1 = std::make_unique<FakeExecutable>("foo_exe");
      auto executable2 = std::make_unique<FakeExecutable>("bar_exe");
      cache->Store(key1, DeviceCompileState::kCompiled,
                   errors::InvalidArgument("Invalid argument."),
                   std::move(compilation_result1), std::move(executable1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_cache.h

                  executable.get());
    
          int64_t hlo_module_size = 0;
          if (compilation_result != nullptr &&
              compilation_result->computation != nullptr) {
            hlo_module_size =
                compilation_result->computation->proto().ByteSizeLong();
          }
    
          return absl::StrCat(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_compile_util_test.cc

          DeviceCompileMode::kStrict, /*has_ref_vars=*/true,
          /*may_alias_resource_update=*/true, device_setup.flr(), &resource_mgr,
          &compilation_result, &pjrt_client, &pjrt_executable));
    
      EXPECT_TRUE(compilation_result != nullptr);
      EXPECT_TRUE(pjrt_executable != nullptr);
      EXPECT_TRUE(pjrt_client != nullptr);
    }
    
    TEST(PjrtCompileUtilTest, CompileToPjRtLoadedExecutableWithOpKernelContext) {
      DeviceSetup device_setup;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 21 23:21:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

            arg_shapes, arg_core_mapping, per_core_arg_shapes, client,
            compilation_result.get()));
    
        DumpHloCompilationResult("legalize_tf_fallback.hlo",
                                 compilation_result.get())
            .IgnoreError();
        return *compilation_result;
      }
    
      auto combined_bridge_status = internal::LegalizeTfToHlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/pjrt_compile_util.cc

        const std::vector<XlaCompiler::Argument>& args,
        DeviceCompileMode compile_mode, bool has_ref_vars,
        bool may_alias_resource_update, FunctionLibraryRuntime* flr,
        ResourceMgr* rm, const XlaCompiler::CompilationResult** compilation_result,
        xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable) {
      PjRtDeviceCompiler* pjrt_device_compiler;
      DeviceCompilationProfiler* profiler;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_compiler_disable_test.cc

      }
    
      DisableXlaCompilation();
    
      xla::LocalClient* client = xla::ClientLibrary::LocalClientOrDie();
      DeviceType device_type = DeviceType(DEVICE_CPU_XLA_JIT);
    
      const XlaCompiler::CompilationResult* compilation_result;
      xla::LocalExecutable* executable;
    
      using XlaDeviceExecutablePersistor =
          DeviceExecutablePersistor<xla::LocalExecutable, xla::LocalClient>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

          shape_determination_fns, use_tuple_args, compilation_result,
          custom_legalization_passes, arg_shapes, arg_core_mapping,
          per_core_arg_shapes);
    
      if (mlir_bridge_status.ok()) {
        VLOG(1) << "Successfully compiled MLIR computation to XLA HLO using MLIR "
                   "tf2xla bridge";
        return *compilation_result;
      }
    
      tsl::error_logging::Log(kBridgeComponent,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir_test.cc

      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
    
      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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/pjrt_compile_util.h

        const NameAttrList& function,
        const std::vector<XlaCompiler::Argument>& args,
        DeviceCompileMode compile_mode, bool has_ref_vars,
        bool may_alias_resource_update,
        const XlaCompiler::CompilationResult** compilation_result,
        xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable);
    
    // Similar to the above function but it does not take a OpKernelContext.
    // Instead, it takes the following arguments that are obtained from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top