Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 639 for Devices (0.14 sec)

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

    				},
    				CDIDevices: []kubecontainer.CDIDevice{
    					{Name: "vendor1.com/class1=device1"},
    					{Name: "vendor2.com/class2=device2"},
    					{Name: "vendor3.com/class3=device3"},
    					{Name: "vendor4.com/class4=device4"},
    				},
    			},
    		},
    		{
    			description: "duplicate cdi devices are skipped",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

          task_and_device = {task, device};
        }
      }
    
      return topology;
    }
    
    // Determine execution devices when topology and device assignment are defined.
    // With a topology device coordinate to task and device mapping, device
    // assignment device coordinates can then be mapped to task and device for TPU
    // devices. The device assignment array is also validated.
    //
    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. pkg/kubelet/cm/devicemanager/manager.go

    	needed := required
    	// Gets list of devices that have already been allocated.
    	// This can happen if a container restarts for example.
    	devices := m.podDevices.containerDevices(podUID, contName, resource)
    	if devices != nil {
    		klog.V(3).InfoS("Found pre-allocated devices for resource on pod", "resourceName", resource, "containerName", contName, "podUID", podUID, "devices", sets.List(devices))
    		needed = needed - devices.Len()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/pod_devices.go

    	resources, exists := containers[contName]
    	if !exists {
    		return
    	}
    	for resource, devices := range resources {
    		allocatedResources[resource] = allocatedResources[resource].Difference(devices.deviceIds.Devices())
    	}
    }
    
    // Returns all devices allocated to the pods being tracked, keyed by resourceName.
    func (pdev *podDevices) devices() map[string]sets.Set[string] {
    	ret := make(map[string]sets.Set[string])
    	pdev.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // A TPU device for execution alongside its associated host CPU device.
    struct TPUDeviceAndHost {
      TPUDeviceAndHost() = default;
      TPUDeviceAndHost(llvm::StringRef device, llvm::StringRef host)
          : device(device), host(host) {}
    
      std::string device;
      std::string host;
    };
    
    // TPU devices to be used for execution (e.g. devices for TPUExecute ops) and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/topology_hints.go

    		// request size and the list of available devices.
    		deviceHints[resource] = m.generateDeviceTopologyHints(resource, available, sets.Set[string]{}, requested)
    	}
    
    	return deviceHints
    }
    
    func (m *ManagerImpl) deviceHasTopologyAlignment(resource string) bool {
    	// If any device has Topology NUMANodes available, we assume they care about alignment.
    	for _, device := range m.allDevices[resource] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_tpu_device.cc

                                  " device number ", i);
          return status;
        }
        device->SetAllowsSyncOnCompletion(false);
        if (tpu_xla_device_failure_closes_chips_flag) {
          device->SetHandleDeviceErrorCallback(&tpu::TpuNodeContext::CloseTpuHost);
        }
    
        devices->push_back(std::move(device));
      }
    
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

        devices.push_back(
            llvm::formatv("/job:worker/replica:0/task:{0}/device:CPU:0", task)
                .str());
        devices.push_back(
            llvm::formatv("/job:worker/replica:0/task:{0}/device:TPU_SYSTEM:0",
                          task)
                .str());
        for (int device = 0; device < num_devices_per_task; ++device)
          devices.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/podresources/server_v1_test.go

    							{
    								Name:             containerName,
    								Devices:          []*podresourcesapi.ContainerDevices{},
    								DynamicResources: []*podresourcesapi.DynamicResource{},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			desc:             "pod with devices",
    			pods:             pods,
    			devices:          devs,
    			cpus:             cpus,
    			memory:           memory,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

        value_to_device.insert({result, device});
      }
    }
    
    // Checks if an operation can have TPU devices propagated through.
    bool IsSupportedOpToSetDevice(Operation& op) {
      return IsSupportedExecutorOp(op) ||
             isa<TF::IdentityOp, TF::IdentityNOp, TF::ShapeOp>(op);
    }
    
    // Finds nonconflicting TPU device for an operation from its operands. If an
    // operand has no device or a non TPU device, or if there are conflicting
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top