Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for clustered (0.26 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.h

    //   purposes and doesn't affect logic. module_name - What the input module name
    //   is for debugging help.
    //
    // Output: Modifies the input module in place with clustered operations.
    //   status - Whether the transformation to cluster the input MLIR module was
    //   successful.
    tensorflow::Status RunFunctionTf2xlaClusteringBridge(
        mlir::ModuleOp module, bool is_supported_by_replicated_brige,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 23:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          cluster.constraints = std::move(member.constraints);
    
        // Add operation to the cluster.
        if (auto op = member.source.dyn_cast<Operation *>())
          cluster.operations.emplace_back(op);
      }
    
      llvm::SmallVector<Cluster> clusters;
      for (auto &kv : root_clusters) {
        Cluster &cluster = kv.getSecond();
        // Skip degenerate clusters formed by a single basic block argument.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

          TF_RET_CHECK(absl::SimpleAtoi(*maybe_cluster, &cluster));
          clustered_nodes++;
        }
        clusters[cluster][n->type_string()]++;
        cluster_size[cluster]++;
      }
    
      string result =
          absl::StrCat("Clustered nodes: ", clustered_nodes,
                       "\nUnclustered nodes: ", cluster_size[kNoCluster],
                       "\nNumber of clusters: ", clusters.size() - 1, "\n\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/partially_decluster_pass.cc

        // We don't want to decluster F in a graph like
        //
        //   Input -> OP -> Shape -> F -> Reshape
        //
        // Doing so will break up the cluster.  Even if we were okay with breaking
        // up the cluster we will at least have to relabel the two clusters to have
        // different cluster names.
        //
        // We may want to revisit this in the future: we may have cases where OP is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      auto clusters = GetClusters(*graph);
      EXPECT_EQ(4, clusters.size());
      EXPECT_EQ(clusters["B"], clusters["C"]);
      EXPECT_EQ(clusters["E"], clusters["F"]);
      EXPECT_NE(clusters["B"], clusters["E"]);
      EXPECT_TRUE(clusters.find("A") == clusters.cend());
      EXPECT_TRUE(clusters.find("D") == clusters.cend());
    }
    
    TEST(XlaCompilationTest, UncompilableCycles) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/flags.cc

                "If true then insert Print nodes to print out values produced by "
                "XLA clusters."),
           Flag("tf_xla_check_cluster_input_numerics",
                &build_ops_flags->tf_xla_check_cluster_input_numerics,
                "If true then insert CheckNumerics nodes to check all cluster "
                "inputs."),
           Flag("tf_xla_check_cluster_output_numerics",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/flags.h

    // Flags common to the _Xla* ops and their kernels.
    struct XlaOpsCommonFlags {
      // If true, _XlaCompile always refuses to compile the cluster, which means the
      // XLA clusters always run in the TF executor.  Defaults to false.
      bool tf_xla_always_defer_compilation;
      // If true, _XlaCompile compiles the cluster asynchronously with respect to
      // the main execution. The fallback path is taken while compilation happens.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      // Returns true if the devices in `cluster_a` and `cluster_b` are compatible
      // and therefore not a hindrance for combining the two clusters into a larger
      // cluster.
      absl::StatusOr<bool> AreDevicesCompatible(const Cluster& cluster_a,
                                                const Cluster& cluster_b);
    
      void DumpPostClusteringGraphs();
      void VLogClusteringSummary();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  9. pilot/pkg/xds/endpoints/ep_filters_test.go

    				Weight: 42,
    			},
    		},
    		wantWorkloadMetadata: []string{
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1b",
    			";ns;example;;cluster4",
    			";;;;cluster2a",
    			";;;;cluster2b",
    			";;;;cluster2b",
    		},
    	},
    	{
    		name:  "from_network1_cluster1b",
    		proxy: makeProxy("network1", "cluster1b"),
    		want: []xdstest.LocLbEpInfo{
    			{
    				LbEps: []xdstest.LbEpInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

    // CHECK-SAME: device = "device_1"
    // CHECK-SAME: topology = "topology_1"
    // CHECK:      return %[[CLUSTER_0]], %[[CLUSTER_1]]
    
    
    // Test operands and results of ops of a cluster that are interleaved between
    // other ops of the same cluster are moved before and after the cluster
    // properly.
    // CHECK-LABEL: func @interleaved_cluster_operands_results
    func.func @interleaved_cluster_operands_results() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top