Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for FunctionLibraryRuntime (0.3 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_kernel_creator.cc

    namespace tensorflow {
    
    bool XlaKernelCreator::CanCreateKernel(
        const FunctionLibraryRuntime& flr,
        const std::shared_ptr<const NodeProperties>& props) const {
      return CanCreateXlaKernel(props->node_def) &&
             !XlaOpRegistry::IsCompilationDevice(flr.device()->device_type());
    }
    
    static Status CreateXlaKernel(FunctionLibraryRuntime* flr,
                                  const NodeDef& node_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_compiler_options_util.cc

              << ",detailed_logging=" << options.detailed_logging << "]";
    }
    }  // namespace
    
    XlaCompiler::Options GenerateCompilerOptions(
        const XlaDeviceCompiler& xla_device_compiler,
        const FunctionLibraryRuntime& function_library, DeviceBase* device,
        se::Stream* stream, const XlaPlatformInfo& platform_info,
        bool has_ref_vars) {
      XlaCompiler::Options options;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/jit/xla_kernel_creator.h

    namespace tensorflow {
    
    class FunctionLibraryRuntime;
    class OpKernel;
    
    class XlaKernelCreator : public CustomKernelCreator {
     public:
      // Given a NodeDef 'node_def' and the function library runtime 'flr', returns
      // true if 'node_def' is a call to a compilable function defined in 'flr',
      // with the kXlaCompileAttr set.
      bool CanCreateKernel(
          const FunctionLibraryRuntime& flr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 26 19:43:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_platform_info.h

    // the persistor used in the DeviceCompiler. The platform ID from
    // `platform_info` must not be null in CPU case.
    Status BuildXlaDeviceCompiler(
        DeviceBase* dev, FunctionLibraryRuntime* flr,
        const XlaPlatformInfo& platform_info, DeviceType compilation_device_type,
        DeviceCompiler<xla::LocalExecutable, xla::LocalClient>**
            xla_device_compiler);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_compiler_options_util.h

        const DeviceCompiler<xla::LocalExecutable, xla::LocalClient>&
            xla_device_compiler,
        const FunctionLibraryRuntime& function_library);
    
    // Returns created options for XLA compiler when PjRt (Device API) is used for
    // compilation and execution.
    XlaCompiler::Options GenerateCompilerOptionsForPjRt(
        const FunctionLibraryRuntime& function_library,
        const DeviceBase* device_base, const XlaPlatformInfo& platform_info,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/extract_outside_compilation_pass.h

        const NameAttrList& func_name_attrs, const string& new_func_name,
        const string& host_graph_func_name,
        const std::map<string, int>& host_compute_core, FunctionLibraryRuntime* flr,
        FunctionLibraryDefinition* fld, std::vector<string>* shape_inference_graphs,
        bool* has_outside_compilation);
    
    // Rewrites XLA computation in `clusters` to replace outside compilation nodes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/jit/pjrt_compile_util.h

    // computation.
    // - `flr`: the FunctionLibraryRuntime for the `function`.
    Status CompileToPjRtLoadedExecutable(
        const DeviceBase* device, const XlaPlatformInfo& platform_info,
        const NameAttrList& function,
        const std::vector<XlaCompiler::Argument>& args,
        DeviceCompileMode compile_mode, bool has_ref_vars,
        bool may_alias_resource_update, FunctionLibraryRuntime* flr,
    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