Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TryToLoadExecutable (0.18 sec)

  1. tensorflow/compiler/jit/device_executable_persistor_test.cc

      XlaDeviceExecutablePersistor persistor(config,
                                             DefaultXlaOptions().device_type);
    
      MockXlaCompilerClient mock_client;
      auto executable = persistor.TryToLoadExecutable(
          123, "signature_string", DefaultXlaOptions(), compilation_result_add_,
          &mock_client);
      EXPECT_FALSE(executable.has_value());
    }
    
    TEST_F(DeviceExecutionPersistorTest, LoadSuccess) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_executable_persistor.h

      // (or returns a status).
      // TODO(b/255826209): Take in Signature instead of hash and string once cache
      // is refactored.
      std::optional<StatusOr<std::unique_ptr<ExecutableType>>> TryToLoadExecutable(
          uint64 signature_hash, const std::string& signature_str,
          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& compilation_result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compiler.h

      }
      TF_RETURN_IF_ERROR(cache_value.compilation_status);
      TF_RET_CHECK(cache_value.executable == nullptr);
      TF_RET_CHECK(out_compilation_result->computation != nullptr);
    
      auto loaded_executable = persistor_->TryToLoadExecutable(
          DeviceCompilationClusterSignature::Hash()(sig), sig.HumanString(),
          options, *out_compilation_result, compiler_client_.get());
    
      if (loaded_executable.has_value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top