Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for r2devices (0.33 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.True(ok)
    	checkAllocatableDevicesConsistsOf(as, devInstances, []string{"R1Device1", "R1Device2"})
    
    	// Unhealthy device becomes healthy
    	resource1Devs = []pluginapi.Device{
    		{ID: "R1Device1", Health: pluginapi.Healthy},
    		{ID: "R1Device2", Health: pluginapi.Healthy},
    		{ID: "R1Device3", Health: pluginapi.Healthy},
    	}
    	testManager.genericDeviceUpdateCallback(resourceName1, resource1Devs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

          absl::StrCat("found ", kDeviceTPUSystem, " devices with conflicting ",
                       attribute, "s '", a, "' and '", b, "'"));
    }
    
    // Find TPU_SYSTEM:0 devices in `devices`. If multiple TPU_SYSTEM devices are
    // found, the first one lexicographically is returned. If no TPU_SYSTEM device
    // is found or if there are multiple TPU_SYSTEM devices with different jobs or
    // replicas, a failure will be returned.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

      mlir::Builder builder(ctx);
    
      // Collect devices with attached metadata.
      llvm::SmallVector<mlir::NamedAttribute, 8> devices;
      devices.reserve(device_set->devices().size());
    
      // For device that do not have any metadata, or if we failed to parse metadata
      // from the DeviceSet, we add a unit attribute to the `tf.devices` attribute.
      for (Device* device : device_set->devices()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager.go

    	// Check if registered resource has healthy devices
    	if healthyDevices.Len() == 0 {
    		return nil, fmt.Errorf("no healthy devices present; cannot allocate unhealthy devices %s", resource)
    	}
    
    	// Check if all the previously allocated devices are healthy
    	if !healthyDevices.IsSuperset(devices) {
    		return nil, fmt.Errorf("previously allocated devices are no longer healthy; cannot allocate unhealthy devices %s", resource)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/endpoint_test.go

    			require.Equal(t, devices[1].Health, devs[1].Health)
    			require.Equal(t, devices[2].Health, devs[2].Health)
    		}
    
    		// Check plugin update
    		if callbackCount == 1 {
    			require.Len(t, devices, 3)
    			require.Equal(t, devices[0].ID, updated[0].ID)
    			require.Equal(t, devices[1].ID, updated[1].ID)
    			require.Equal(t, devices[2].ID, updated[2].ID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

      (*module_ref)->setAttr("tf.devices", device_dict);
    
      mlir::TF::RuntimeDevices devices;
      EXPECT_TRUE(mlir::succeeded(GetDevicesFromOp(*module_ref, &devices)));
    
      ASSERT_EQ(devices.NumDevices(), 1);
      ASSERT_EQ(devices.device_names().size(), 1);
      ASSERT_EQ(DeviceNameUtils::ParsedNameToString(devices.device_names()[0]),
                "/job:worker/replica:0/task:0/device:CPU:0");
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    		pods             []*v1.Pod
    		devices          []*podresourcesv1.ContainerDevices
    		expectedResponse *v1alpha1.ListPodResourcesResponse
    	}{
    		{
    			desc:             "no pods",
    			pods:             []*v1.Pod{},
    			devices:          []*podresourcesv1.ContainerDevices{},
    			expectedResponse: &v1alpha1.ListPodResourcesResponse{},
    		},
    		{
    			desc: "pod without devices",
    			pods: []*v1.Pod{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // Finds the TPU compilation device and execution devices from `devices` for a
    // TPU computation subgraph. Compilation device is determined from looking up
    // all TPU_SYSTEM:0 devices and choosing the CPU device associated to the first
    // TPU_SYSTEM device sorted lexicographically by replica and task. Execution
    // devices are determined by looking up all TPU devices associated with each
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_util.cc

            "Multiple CPU devices ", device_info_cache.DebugString(devices)));
      }
    
      if (multiple_gpu_devices) {
        FAILED_TO_PICK_DEVICE(errors::Internal(
            "Multiple GPU devices ", device_info_cache.DebugString(devices)));
      }
    
      if (multiple_unknown_devices) {
        FAILED_TO_PICK_DEVICE(errors::Internal(
            "Multiple unknown devices ", device_info_cache.DebugString(devices)));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    			request:     5,
    			devices: func() []pluginapi.Device {
    				devices := []pluginapi.Device{}
    				for i := 0; i < 100; i++ {
    					id := fmt.Sprintf("Dev%d", i)
    					devices = append(devices, makeNUMADevice(id, 0))
    				}
    				for i := 100; i < 200; i++ {
    					id := fmt.Sprintf("Dev%d", i)
    					devices = append(devices, makeNUMADevice(id, 1))
    				}
    				return devices
    			}(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top