Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 155 for r2devices (0.15 sec)

  1. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    	if dswp.podPreviouslyProcessed(uniquePodName) {
    		return
    	}
    
    	allVolumesAdded := true
    	mounts, devices, seLinuxContainerContexts := util.GetPodVolumeNames(pod)
    
    	// Process volume spec for each volume defined in pod
    	for _, podVolume := range pod.Spec.Volumes {
    		if !mounts.Has(podVolume.Name) && !devices.Has(podVolume.Name) {
    			// Volume is not used in the pod, ignore it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. pkg/volume/util/util_test.go

    		t.Run(test.name, func(t *testing.T) {
    			mounts, devices, contexts := GetPodVolumeNames(test.pod)
    			if !mounts.Equal(test.expectedMounts) {
    				t.Errorf("Expected mounts: %q, got %q", sets.List[string](mounts), sets.List[string](test.expectedMounts))
    			}
    			if !devices.Equal(test.expectedDevices) {
    				t.Errorf("Expected devices: %q, got %q", sets.List[string](devices), sets.List[string](test.expectedDevices))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir

      %5:2 = tf_device.replicate([%2#0, %3#0] as %r0: tensor<3x3x1x32xf32>, [%2#1, %3#1] as %r1: tensor<3x3x1x32xf32>)
          {n = 2 : i32, devices = {TPU_REPLICATED_CORE_0 = ["/device:TPU:0", "/device:TPU:1"]}} {
        // CHECK: "tf.TPUExecute"(%[[R0]], %[[R1]], %[[COMPILE]]#1)
        %execute = "tf_device.launch"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods_linux_test.go

    					t.Fatalf("expected error message `%s` but got `%v`", tc.expectedErrMsg, err)
    				}
    				return
    			}
    			// otherwise validate the devices
    			if err != nil {
    				t.Fatal(err)
    			}
    			assert.Equal(t, tc.expectedDevices, blkVolumes, "devices of container %+v", tc.container)
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

    // product of possible devices and inference datatypes. For example, we might
    // raise a chunk of sequential operations from a block all having attributes
    // `{ tac.device = "GPU", tac.inference_type = "FLOAT"}` to a function
    // with the matching attributes. Assumed is that device type "CPU"
    // is the only device that is allowed to call other devices. I.e. ancestors of a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

      float* m_float = static_cast<float*>(TF_TensorData(m_data));
      TF_DeviceList* devices = TFE_ContextListDevices(ctx, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      int num_devices = TF_DeviceListCount(devices);
      for (int d = 0; d < num_devices; ++d) {
        const char* name = TF_DeviceListName(devices, d, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  7. tensorflow/c/ops.h

    // associative and commutative, and produce output with the same shape as the
    // input. The optimizer may replace an aggregate op taking input from multiple
    // devices with a tree of aggregate ops that aggregate locally within each
    // device (and possibly within groups of nearby devices) before communicating.
    TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderSetIsAggregate(
        TF_OpDefinitionBuilder* builder, bool is_aggregate);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    // Destroy an options object.
    TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
    
    // "Context" under which operations/functions are executed. It encapsulates
    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/volume_manager.go

    // getExpectedVolumes returns a list of volumes that must be mounted in order to
    // consider the volume setup step for this pod satisfied.
    func getExpectedVolumes(pod *v1.Pod) []string {
    	mounts, devices, _ := util.GetPodVolumeNames(pod)
    	return mounts.Union(devices).UnsortedList()
    }
    
    // getExtraSupplementalGid returns the value of an extra supplemental GID as
    // defined by an annotation on a volume and a boolean indicating whether the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/func_with_dead_ops.mlir

    module attributes {tf.devices = {"/job:tpu_host_worker/replica:0/task:0/device:CPU:0", "/job:tpu_host_worker/replica:0/task:0/device:TPU:0", "/job:tpu_host_worker/replica:0/task:0/device:TPU:1", "/job:tpu_host_worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:tpu_host_worker/replica:0/task:1/device:CPU:0", "/job:tpu_host_worker/replica:0/task:1/device:TPU:0", "/job:tpu_host_worker/replica:0/task:1/device:TPU:1", "/job:tpu_host_worker/replica:0/task:1/device:TPU_SYSTEM:0", "/job:tpu_host_wor...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top