Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 166 for assign_id (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

             (sharding.tile_assignment_devices(0) < 0)))
          return cluster_func.emitError(llvm::formatv(
              "incorrect sharding format for outputs. Maximal "
              "sharding should be assigned to device id in range "
              "[0, {0}). Currently assigned to {1}",
              num_cores_per_replica, sharding.tile_assignment_devices(0)));
    
        output_sharding_list->emplace_back(std::move(sharding));
      }
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	nodeName := types.NodeName(pod.Spec.NodeName)
    	if len(nodeName) == 0 {
    		// If pod has not been assigned a host, return an empty location
    		return nil, nil, errors.NewBadRequest(fmt.Sprintf("pod %s does not have a host assigned", name))
    	}
    	nodeInfo, err := connInfo.GetConnectionInfo(ctx, nodeName)
    	if err != nil {
    		return nil, nil, err
    	}
    	params := url.Values{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/ipam/range_allocator_test.go

    			// nothing further expected
    			return
    		}
    		for _, updatedNode := range tc.fakeNodeHandler.GetUpdatedNodesCopy() {
    			if len(updatedNode.Spec.PodCIDRs) == 0 {
    				continue // not assigned yet
    			}
    			//match
    			for podCIDRIdx, expectedPodCIDR := range tc.expectedAllocatedCIDR {
    				if updatedNode.Spec.PodCIDRs[podCIDRIdx] != expectedPodCIDR {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. plugin/pkg/admission/serviceaccount/admission_test.go

    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if pod.Spec.ServiceAccountName != DefaultServiceAccountName {
    		t.Errorf("Expected service account %s assigned, got %s", DefaultServiceAccountName, pod.Spec.ServiceAccountName)
    	}
    }
    
    func TestDeniesInvalidServiceAccount(t *testing.T) {
    	ns := "myns"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/tutorial_using_tasks.adoc

    The `hello` task from the previous section can be detailed with a *description* and assigned to a *group* with the following update:
    
    .build.gradle.kts
    [source,kotlin]
    ----
    tasks.register("hello") {
        group = "Custom"
        description = "A lovely greeting task."
        doLast {
            println("Hello world!")
        }
    }
    ----
    
    Once the task is assigned to a group, it will be listed by `./gradlew tasks`:
    
    [source]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 00:09:06 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/riscv64/asm.go

    	}
    
    	// Generate a local text symbol for each relocation target, as the
    	// R_RISCV_PCREL_LO12_* relocations generated by elfreloc1 need it.
    	if ctxt.Textp == nil {
    		log.Fatal("genSymsLate called before Textp has been assigned")
    	}
    	var hi20Syms []loader.Sym
    	for _, s := range ctxt.Textp {
    		relocs := ldr.Relocs(s)
    		for ri := 0; ri < relocs.Count(); ri++ {
    			r := relocs.At(ri)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. pkg/controller/tainteviction/taint_eviction_test.go

    		expectDelete bool
    	}{
    		{
    			description: "Creating Node matching already assigned Pod",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    			},
    			node:         testutil.NewNode("node1"),
    			expectPatch:  false,
    			expectDelete: false,
    		},
    		{
    			description: "Creating tainted Node matching already assigned Pod",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/pv_controller_test.go

    	}{
    		// [Unit test set 15] - retroactive storage class assignment tests
    		{
    			storageClasses: []*storagev1.StorageClass{},
    			tests: []controllerTest{
    				{
    					name:            "15-1 - pvc storage class is not assigned retroactively if there are no default storage classes",
    					initialVolumes:  novolumes,
    					expectedVolumes: novolumes,
    					initialClaims:   newClaimArray("claim15-1", "uid15-1", "1Gi", "", v1.ClaimPending, nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. pkg/controller/podgc/gc_controller.go

    	if quit {
    		return
    	}
    	// Delete orphaned pods
    	for _, pod := range pods {
    		if !deletedNodesNames.Has(pod.Spec.NodeName) {
    			continue
    		}
    		logger.V(2).Info("Found orphaned Pod assigned to the Node, deleting", "pod", klog.KObj(pod), "node", klog.KRef("", pod.Spec.NodeName))
    		condition := &v1.PodCondition{
    			Type:    v1.DisruptionTarget,
    			Status:  v1.ConditionTrue,
    			Reason:  "DeletionByPodGC",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    Here is an example of a task that consumes the previous service via a property annotated with `@ServiceReference`:
    
    ====
    [source.multi-language-sample,java]
    .Download.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top