Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for borrowing (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go

    	"k8s.io/utils/ptr"
    )
    
    type borrowingTestConstraints struct {
    	lendable, borrowing int32
    }
    
    // TestBorrowing tests borrowing of concurrency between priority levels.
    // It runs two scenarios, one where the borrowing hits the limit on
    // lendable concurrency and one where the borrowing hits the limit on
    // borrowing of concurrency.
    // Both scenarios are the same except for the limits.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device.cc

        }
    
        return device_contexts_;
      }
    
      TF_ASSIGN_OR_RETURN(xla::LocalClient * client, GetOrCreateClient());
      xla::Backend* backend = client->mutable_backend();
    
      // Ensure all our streams are valid, borrowing new streams if necessary.
      bool need_new_device_context = device_contexts_.empty();
      if (use_global_compute_stream_) {
        mutex_lock lock(global_mu_);
        if (global_compute_streams_->size() <= device_ordinal_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // (BorrowingCL) and is a limit on the total number of seats that this
      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
      // non-negative integer and the limit is calculated as follows.
      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/types.go

    	// (BorrowingCL) and is a limit on the total number of seats that this
    	// level may borrow at any one time.
    	// This field holds the ratio of that limit to the level's nominal
    	// concurrency limit. When this field is non-nil, it must hold a
    	// non-negative integer and the limit is calculated as follows.
    	//
    	// BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/flowcontrol/v1/types_swagger_doc_generated.go

    the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1beta3/types_swagger_doc_generated.go

    the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1/generated.proto

      // (BorrowingCL) and is a limit on the total number of seats that this
      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
      // non-negative integer and the limit is calculated as follows.
      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device.h

      // If false, only stream_ is valid and all computation and transfers use
      // stream_. If true, computation is performed by stream_ and transfers are
      // performed by host_to_device/device_to_device stream or borrowing a stream
      // for each device to host transfer.
      const bool use_multiple_streams_;
      // If use_multiple_streams_, host to device transfers are performed using this
      // stream.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    		var lendableCL, borrowingCL int
    		if lendablePercent != nil {
    			lendableCL = int(math.Round(float64(concurrencyLimit) * float64(*lendablePercent) / 100))
    		}
    		if borrowingLimitPercent != nil {
    			borrowingCL = int(math.Round(float64(concurrencyLimit) * float64(*borrowingLimitPercent) / 100))
    		} else {
    			borrowingCL = meal.cfgCtlr.serverConcurrencyLimit
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  10. internal/jwt/parser.go

    	}
    	for i := range hmacSigners {
    		h := hmacSigners[i].Hash
    		hmacSigners[i].HasherPool.New = func() interface{} {
    			return h.New()
    		}
    	}
    }
    
    // HashBorrower allows borrowing hashes and will keep track of them.
    func (s *SigningMethodHMAC) HashBorrower() HashBorrower {
    	return HashBorrower{pool: &s.HasherPool, borrowed: make([]hash.Hash, 0, 2)}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top