Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for pflr (0.52 sec)

  1. tensorflow/compiler/jit/get_compiler_ir.cc

      }
      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,
          PrepareXlaCompilerArgs(flr, function, context, /*dev=*/nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cluster_util_test.cc

      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
    
      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);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/partially_decluster_pass.cc

      std::vector<bool> compile_time_const_nodes(graph->num_node_ids());
      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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_platform_info.cc

          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();
        TF_ASSIGN_OR_RETURN(gpu_ids, ParseVisibleDeviceList(allowed_gpus));
      }
    
      return gpu_ids;
    }
    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_compiler_options_util_test.cc

          compilation_device_type, platform_id, xla_device_metadata.get(),
          /*pjrt_device_metadata=*/nullptr, custom_allocator);
    
      XlaCompiler::Options options = GenerateCompilerOptionsForPjRt(
          *device_setup_.flr(), device, platform_info,
          /*pjrt_device_compiler=*/nullptr);
    
      EXPECT_EQ(options.device_type, compilation_device_type);
      EXPECT_EQ(options.device_ordinal, 0);
      EXPECT_NE(options.flib_def, nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

          bool *has_outside_compilation) {
        OptimizerOptions opts;
        pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
            device_mgr_.get(), Env::Default(), /*config=*/nullptr,
            TF_GRAPH_DEF_VERSION, fld, opts,
            /*default_thread_pool=*/nullptr);
        auto flr = pflr_->GetFLR("/job:localhost/replica:0/task:0/cpu:0");
        return ExtractOutsideCompilationForFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_platform_info_test.cc

          DeviceType compilation_device_type,
          GetCompilationDeviceType(platform_info.device_type()));
    
      XlaDeviceCompiler* xla_device_compiler = nullptr;
      TF_EXPECT_OK(BuildXlaDeviceCompiler(device, device_setup_.flr(),
                                          platform_info, compilation_device_type,
                                          &xla_device_compiler));
      core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/compilability_check_util_test.cc

      }
    
      FunctionLibraryRuntime* GetFunctionLibraryRuntime() {
        OptimizerOptions opts;
        pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
            nullptr, Env::Default(), /*config=*/nullptr, TF_GRAPH_DEF_VERSION,
            flib_def_.get(), opts);
    
        return pflr_->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
      }
    
      RecursiveCompilabilityChecker::OperationFilter op_filter_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/compilability_check_util.cc

      FunctionLibraryRuntime::Handle handle;
      TF_RETURN_IF_ERROR(
          flr->Instantiate(function.name(), AttrSlice(&function.attr()), &handle));
      *fbody = flr->GetFunctionBody(handle);
      CHECK(*fbody);  // Can't be nullptr since we just instantiated it.
      const DataTypeVector& arg_types = (*fbody)->arg_types;
      std::vector<bool> const_args(arg_types.size());
    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/mlir/tf2xla/transforms/tf2xla_rewriter.cc

          tensorflow::OpRegistry::Global(), tensorflow::FunctionDefLibrary());
      pflr_ = std::make_unique<tensorflow::ProcessFunctionLibraryRuntime>(
          device_mgr_.get(), tensorflow::Env::Default(), /*config=*/nullptr,
          version_or.value(), flib_def_.get(), tensorflow::OptimizerOptions());
      params_.function_library = pflr_->GetFLR(device_->name());
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top