Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for compile_count (0.17 sec)

  1. tensorflow/compiler/jit/device_compilation_profiler.cc

    namespace tensorflow {
    namespace {
    bool ShouldBeMegamorphic(int64_t compile_count, int64_t execution_count) {
      const int64_t kCompileThreshold = 10;
      const int64_t kMinExecutionsPerCompile = 50;
    
      // This heuristic is trying to capture the following property: have we sunk a
      // certain minimum amount of compile time into the cluster that didn't quite
      // "pay off"?
      return compile_count > kCompileThreshold &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_profiler.h

        bool is_megamorphic = false;
    
        std::string DebugString() const {
          return absl::StrCat(
              "DeviceCompilationProfiler::ClusterCompileStats {compile_count=",
              compile_count, ", execution_count=", execution_count,
              ", cumulative_compile_time_us=", cumulative_compile_time_us,
              ", is_megamorphic=", is_megamorphic, "}");
        }
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_activity_listener_test.cc

                expected_auto_clustering_activity.DebugString());
    
      EXPECT_EQ(listener()->jit_compilation_activity().cluster_name(), "cluster_0");
      EXPECT_EQ(listener()->jit_compilation_activity().compile_count(), 1);
    
      int64_t first_compile_time =
          listener()->jit_compilation_activity().compile_time_us();
      EXPECT_GT(first_compile_time, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler_test.cc

          listener_->GetListenerHistory();
      EXPECT_EQ(activity_history.size(), 1);
      EXPECT_EQ(activity_history[0].cluster_name(), fn.name());
      EXPECT_EQ(activity_history[0].compile_count(), 1);
      EXPECT_FALSE(activity_history[0].used_persistent_cache());
    
      listener_->ClearListenerHistory();
    
      // Create another DeviceCompiler object pointing to the same persistent cache
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top