Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FunctionLibraryRuntime (0.34 sec)

  1. tensorflow/compiler/jit/compilability_check_util.h

      UncompilableNodesMap FindUncompilableNodes(
          const Node& node, FunctionLibraryRuntime* lib_runtime,
          const std::vector<StackFrame>* node_stack_trace = nullptr) const;
    
      // Returns true if `node` can be compiled by XLA.
      bool IsCompilableNode(const Node& node,
                            FunctionLibraryRuntime* lib_runtime) const {
        std::vector<StackFrameView> stack_trace;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_platform_info.cc

              std::move(persistor_config), compilation_device_type),
          std::make_unique<PjRtDeviceCompilerClient>(pjrt_client));
    }
    
    absl::StatusOr<std::optional<std::set<int>>> GetAllowedGpus(
        FunctionLibraryRuntime* flr) {
      std::optional<std::set<int>> gpu_ids = std::nullopt;
    
      if (flr->config_proto()) {
        string allowed_gpus =
            flr->config_proto()->gpu_options().visible_device_list();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util.cc

    }
    
    Status GetBodyAndConstantsAndResources(FunctionLibraryRuntime* flr,
                                           const NameAttrList& function,
                                           const FunctionBody** fbody,
                                           std::vector<int>* constant_arg_indices,
                                           std::vector<int>* resource_arg_indices) {
      FunctionLibraryRuntime::Handle handle;
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_cluster_util.cc

    Status GetNodesRelatedToRefVariablesInDirection(
        const Graph& graph, FunctionLibraryRuntime* lib_runtime,
        Direction direction, int depth, absl::flat_hash_set<Node*>* result);
    
    absl::StatusOr<bool> DoesAnyCalleeHaveRefNodes(
        const CallTargetListTy& call_target_list,
        FunctionLibraryRuntime* lib_runtime, Direction direction, int depth) {
      const int kMaxDepth = 10;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/get_compiler_ir.cc

      std::string device_name;
      if (!platform_name.empty()) {
        device_name = absl::StrCat("/device:", platform_name, ":0");
      }
      FunctionLibraryRuntime* flr = pflr->GetFLR(device_name);
      if (flr == nullptr) {
        // Use CPU as the fallback to get the `FunctionLibraryRuntime`.
        flr = pflr->GetFLR("/device:CPU:0");
      }
    
      TF_ASSIGN_OR_RETURN(
          std::vector<XlaCompiler::Argument> args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_cluster_util_test.cc

      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr(
          new ProcessFunctionLibraryRuntime(
              nullptr, Env::Default(), /*config=*/nullptr, TF_GRAPH_DEF_VERSION,
              flib_def, OptimizerOptions{}));
      FunctionLibraryRuntime* lib_runtime =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
    
      TF_ASSIGN_OR_RETURN(absl::flat_hash_set<Node*> nodes_related_to_ref_vars,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/partially_decluster_pass.cc

      OptimizerOptions opts;
      auto pflr = std::make_unique<ProcessFunctionLibraryRuntime>(
          nullptr, env, /*config=*/nullptr, TF_GRAPH_DEF_VERSION, flib_def, opts);
      FunctionLibraryRuntime* lib_runtime =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
      TF_RETURN_IF_ERROR(BackwardsConstAnalysis(*graph, nullptr,
                                                &compile_time_const_nodes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/compilability_check_util_test.cc

        return std::make_unique<RecursiveCompilabilityChecker>(op_filter_,
                                                                device_type_);
      }
    
      FunctionLibraryRuntime* GetFunctionLibraryRuntime() {
        OptimizerOptions opts;
        pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
            nullptr, Env::Default(), /*config=*/nullptr, TF_GRAPH_DEF_VERSION,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
Back to top