Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Parallelizer (0.3 sec)

  1. pkg/scheduler/framework/parallelize/parallelism.go

    limitations under the License.
    */
    
    package parallelize
    
    import (
    	"context"
    	"math"
    
    	"k8s.io/client-go/util/workqueue"
    	"k8s.io/kubernetes/pkg/scheduler/metrics"
    )
    
    // DefaultParallelism is the default parallelism used in scheduler.
    const DefaultParallelism int = 16
    
    // Parallelizer holds the parallelism for scheduler.
    type Parallelizer struct {
    	parallelism int
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 17:12:30 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/parallelize/parallelism_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import (
    	"fmt"
    	"testing"
    )
    
    func TestChunkSize(t *testing.T) {
    	tests := []struct {
    		input      int
    		wantOutput int
    	}{
    		{
    			input:      32,
    			wantOutput: 3,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/parallelize/error_channel_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import (
    	"context"
    	"errors"
    	"testing"
    )
    
    func TestErrorChannel(t *testing.T) {
    	errCh := NewErrorChannel()
    
    	if actualErr := errCh.ReceiveError(); actualErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/parallelize/error_channel.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import "context"
    
    // ErrorChannel supports non-blocking send and receive operation to capture error.
    // A maximum of one error is kept in the channel and the rest of the errors sent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. src/syscall/rlimit.go

    // (limited by the size of fd_set).
    //
    // Go does not use select, so it should not be subject to these limits.
    // On some systems the limit is 256, which is very easy to run into,
    // even in simple programs like gofmt when they parallelize walking
    // a file tree.
    //
    // After a long discussion on go.dev/issue/46279, we decided the
    // best approach was for Go to raise the limit unconditionally for itself,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            return parallelize(subProjectTestClassTimes, testCoverage) { numberOfBatches ->
                if (testCoverage.os == Os.LINUX)
                    ParallelizationMethod.TestDistribution
                else
                    ParallelizationMethod.TeamCityParallelTests(numberOfBatches)
            }
        }
    
        private fun parallelize(
            subProjectTestClassTimes: List<SubprojectTestClassTime>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/README.adoc

    == Anti-patterns:
    
    .Don't reference other project tasks directly
    --
    A frequent anti-pattern to declare cross-project dependencies is below.
    
    This publication model is unsafe and can lead to non-reproducible and hard to parallelize builds.
    By declaring a dependency in this way, the task ordering between consumers and producers is not known to Gradle at the time when it is deciding the order of tasks for a given build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/BUILD

    #         "@absl_py//absl/testing:parameterized",
    #     ],
    # )
    #
    # tf_py_strict_test(
    #     name = "quantize_model_test",
    #     srcs = ["integration_test/quantize_model_test.py"],
    #     shard_count = 50,  # Parallelize the test to avoid timeouts.
    #     deps = [
    #         ":quantization",
    #         ":quantize_model_test_base",
    #         "//tensorflow/compiler/mlir/quantization/common/python:testing",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 20:18:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/server-workers.md

    ## Deployment Concepts
    
    Here you saw how to use **Gunicorn** (or Uvicorn) managing **Uvicorn worker processes** to **parallelize** the execution of the application, take advantage of **multiple cores** in the CPU, and be able to serve **more requests**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top