Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,182 for replicas2 (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

      // operand is a replicate resource block argument, replace ShapeOp with
      // VariableShapeOp and use the associated first replica operand as its
      // operand.
      auto read_var_op = llvm::dyn_cast<TF::ReadVariableOp>(input_def);
      if (!read_var_op) return;
    
      // TODO(lyandy): Check if resource (first replica or replicate block arg)
      // shape has not changed in replicate prior to read. Currently after both
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set.go

    	// is updated and the watch notification from it retriggers
    	// this function), but in general extra resyncs shouldn't be
    	// that bad as ReplicaSets that haven't met expectations yet won't
    	// sync, and all the listing is done using local stores.
    	if *(oldRS.Spec.Replicas) != *(curRS.Spec.Replicas) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// to number replicas from an alternate index (eg: 1-indexed) over the default
    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    	//   [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
    	// If unset, defaults to 0. Replica indices will be in the range:
    	//   [0, .spec.replicas).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  4. pkg/controller/deployment/recreate.go

    }
    
    // scaleDownOldReplicaSetsForRecreate scales down old replica sets when deployment strategy is "Recreate".
    func (dc *DeploymentController) scaleDownOldReplicaSetsForRecreate(ctx context.Context, oldRSs []*apps.ReplicaSet, deployment *apps.Deployment) (bool, error) {
    	scaled := false
    	for i := range oldRSs {
    		rs := oldRSs[i]
    		// Scaling not required.
    		if *(rs.Spec.Replicas) == 0 {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 13 20:32:13 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. pkg/controller/deployment/util/deployment_util_test.go

    	*(rs2.Spec.Replicas) = 2
    	rs2.Status.Replicas = 3
    
    	tests := []struct {
    		Name           string
    		sets           []*apps.ReplicaSet
    		expectedCount  int32
    		expectedActual int32
    	}{
    		{
    			"1:2 Replicas",
    			[]*apps.ReplicaSet{&rs1},
    			1,
    			2,
    		},
    		{
    			"3:5 Replicas",
    			[]*apps.ReplicaSet{&rs1, &rs2},
    			3,
    			5,
    		},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  6. pkg/controller/deployment/rolling_test.go

    		},
    		{ // expect unhealthy replicas from old replica sets been cleaned up
    			deploymentReplicas:  10,
    			maxUnavailable:      intstr.FromInt32(2),
    			oldReplicas:         10,
    			newReplicas:         0,
    			readyPodsFromOldRS:  8,
    			readyPodsFromNewRS:  0,
    			scaleExpected:       true,
    			expectedOldReplicas: 8,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

               << replicate.getN() << ")";
      }
    
      // add block arg to region. This is in $body.
      unsigned block_arg_idx = replicate.GetNumReplicatedBlockArguments();
      Block& block = replicate.GetBody();
      block_arg = block.insertArgument(block_arg_idx, type, replicate.getLoc());
    
      // add to $replicated_inputs. This also updates OperandSegmentSizeAttr.
      replicate.getReplicatedInputsMutable().append(inputs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. pkg/controller/replicaset/replica_set_utils_test.go

    	rsStatusTests := []struct {
    		name                     string
    		replicaset               *apps.ReplicaSet
    		filteredPods             []*v1.Pod
    		expectedReplicaSetStatus apps.ReplicaSetStatus
    	}{
    		{
    			"1 fully labelled pod",
    			fullyLabelledRS,
    			[]*v1.Pod{
    				newPod("pod1", fullyLabelledRS, v1.PodRunning, nil, true),
    			},
    			apps.ReplicaSetStatus{
    				Replicas:             1,
    				FullyLabeledReplicas: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 19 20:18:23 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set_test.go

    			rss:         []*apps.ReplicaSet{someRS, unrelatedRS},
    			rs:          someRS,
    			expectedRSs: []*apps.ReplicaSet{someRS},
    		},
    		{
    			name:        "expect to get back the given ReplicaSet as well as any related ReplicaSet but not an unrelated ReplicaSet",
    			rss:         []*apps.ReplicaSet{someRS, relatedRS, unrelatedRS},
    			rs:          someRS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  10. pkg/registry/apps/replicaset/storage/storage.go

    		)
    	}
    
    	// move replicas/resourceVersion fields to object and return
    	replicaset.Spec.Replicas = scale.Spec.Replicas
    	replicaset.ResourceVersion = scale.ResourceVersion
    
    	updatedEntries, err := managedFieldsHandler.ToParent(scale.ManagedFields)
    	if err != nil {
    		return nil, err
    	}
    	replicaset.ManagedFields = updatedEntries
    
    	return replicaset, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top