Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for numaNodes (0.15 sec)

  1. samples/kind-lb/setupkind.sh

      exit 1
    fi
    
    if [[ "${MODE}" == "ambient" ]]; then
      NUMNODES=${NUMNODES:-2}
    fi
    
    NODES=$(cat <<-EOM
    nodes:
    - role: control-plane
    EOM
    )
    
    if [[ -n "${NUMNODES}" ]]; then
    for _ in $(seq 1 "${NUMNODES}"); do
      NODES+=$(printf "\n%s" "- role: worker")
    done
    fi
    
    CONFIG=$(cat <<-EOM
    kind: Cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    // candidates returned will never be greater than <numNodes>.
    func (pl *DefaultPreemption) calculateNumCandidates(numNodes int32) int32 {
    	n := (numNodes * pl.args.MinCandidateNodesPercentage) / 100
    	if n < pl.args.MinCandidateNodesAbsolute {
    		n = pl.args.MinCandidateNodesAbsolute
    	}
    	if n > numNodes {
    		n = numNodes
    	}
    	return n
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. cluster/gce/config-common.sh

    # limitations under the License.
    
    # Returns the total number of Linux and Windows nodes in the cluster.
    #
    # Vars assumed:
    #   NUM_NODES
    #   NUM_WINDOWS_NODES
    function get-num-nodes {
      echo "$((NUM_NODES + NUM_WINDOWS_NODES))"
    }
    
    # Vars assumed:
    #   NUM_NODES
    #   NUM_WINDOWS_NODES
    function get-master-size {
      local suggested_master_size=2
      if [[ "$(get-num-nodes)" -gt "10" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:06:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/cc/client/client_session.cc

                 nullptr);
    }
    
    Status ClientSession::Impl::MaybeExtendGraph() const {
      mutex_lock l(mu_);
      int num_nodes = graph_->num_node_ids();
      if (num_nodes > last_num_graph_nodes_) {
        GraphDef graph_def;
        graph_->ToGraphDefSubRange(&graph_def, last_num_graph_nodes_);
        last_num_graph_nodes_ = num_nodes;
        return session_->Extend(graph_def);
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/cache/snapshot.go

    	return s
    }
    
    // StorageInfos returns a StorageInfoLister.
    func (s *Snapshot) StorageInfos() framework.StorageInfoLister {
    	return s
    }
    
    // NumNodes returns the number of nodes in the snapshot.
    func (s *Snapshot) NumNodes() int {
    	return len(s.nodeInfoList)
    }
    
    // List returns the list of nodes in the snapshot.
    func (s *Snapshot) List() ([]*framework.NodeInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

            VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
                    << (*graph)->num_edges();
            is_module_updated = true;
          }
        } else if (pass_state == MlirOptimizationPassState::FallbackEnabled) {
          VLOG(2) << "Run MLIR graph optimization pass with fallback: "
                  << StringRefToView(name);
          VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. internal/bucket/bandwidth/monitor.go

    // NewMonitor returns a monitor with defaults.
    func NewMonitor(ctx context.Context, numNodes uint64) *Monitor {
    	m := &Monitor{
    		bucketsMeasurement:    make(map[BucketOptions]*bucketMeasurement),
    		bucketsThrottle:       make(map[BucketOptions]*bucketThrottle),
    		bucketMovingAvgTicker: time.NewTicker(2 * time.Second),
    		ctx:                   ctx,
    		NodeCount:             numNodes,
    	}
    	go m.trackEWMA()
    	return m
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/cache/cache.go

    	snapshot.havePodsWithRequiredAntiAffinityNodeInfoList = make([]*framework.NodeInfo, 0, cache.nodeTree.numNodes)
    	snapshot.usedPVCSet = sets.New[string]()
    	if updateAll {
    		// Take a snapshot of the nodes order in the tree
    		snapshot.nodeInfoList = make([]*framework.NodeInfo, 0, cache.nodeTree.numNodes)
    		nodesList, err := cache.nodeTree.list()
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  9. cluster/gce/config-default.sh

    ZONE=${KUBE_GCE_ZONE:-us-central1-b}
    export REGION=${ZONE%-*}
    RELEASE_REGION_FALLBACK=${RELEASE_REGION_FALLBACK:-false}
    REGIONAL_KUBE_ADDONS=${REGIONAL_KUBE_ADDONS:-true}
    NODE_SIZE=${NODE_SIZE:-e2-standard-2}
    NUM_NODES=${NUM_NODES:-3}
    NUM_WINDOWS_NODES=${NUM_WINDOWS_NODES:-0}
    MASTER_SIZE=${MASTER_SIZE:-e2-standard-$(get-master-size)}
    MASTER_MIN_CPU_ARCHITECTURE=${MASTER_MIN_CPU_ARCHITECTURE:-} # To allow choosing better architectures.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. cluster/gce/config-test.sh

    ZONE=${KUBE_GCE_ZONE:-us-central1-b}
    export REGION=${ZONE%-*}
    RELEASE_REGION_FALLBACK=${RELEASE_REGION_FALLBACK:-false}
    REGIONAL_KUBE_ADDONS=${REGIONAL_KUBE_ADDONS:-true}
    NODE_SIZE=${NODE_SIZE:-e2-standard-2}
    NUM_NODES=${NUM_NODES:-3}
    NUM_WINDOWS_NODES=${NUM_WINDOWS_NODES:-0}
    MASTER_SIZE=${MASTER_SIZE:-e2-standard-$(get-master-size)}
    MASTER_MIN_CPU_ARCHITECTURE=${MASTER_MIN_CPU_ARCHITECTURE:-} # To allow choosing better architectures.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top