Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,466 for Devices (0.13 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/utils/device_util.h

    namespace tensorflow {
    
    // Collects all devices known to the system by name and adds them as a
    // `tf.devices` dictionary attribute with a full device name as a key, and
    // device metadata as a value.
    //
    // Device names added in full parsed device form:
    //   /job:<name>/replica:<replica>/task:<task>/device:<type>:<device_num>
    //
    // Supported device metadata types:
    // (1) GpuDeviceMetadata: GPU device compute capability.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 05 20:02:33 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

    // CHECK: device = "/TPU:2"
    // CHECK: "tf.opA"
    
    
    // Tests devices are remapped if device is in replicate devices.
    // CHECK-LABEL: func @remap_device
    func.func @remap_device() {
      tf_executor.graph {
        %0 = tf_executor.island {
          tf_device.replicate {n = 2 : i32, devices = {CORE_0 = ["/CPU:0", "/GPU:1"]}} {
            "tf_device.launch"() ({
              "tf.opA"() : () -> ()
              tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

    // replicate island. Devices are remapped from aliased devices to explicit
    // devices, for `tf_device.launch` ops.
    //
    // For example, the following:
    //
    // %0:2 = tf_executor.island(%control) {
    //   %1:4 = tf_device.replicate([%arg0, %arg1] as %ri: tensor<i1>)
    //              {n = 2 : i32,
    //               devices = {DEVICE_ALIAS_0 = ["/DEVICE:0", "/DEVICE:1"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/jit/device_util.h

    };
    
    // Caches some miscellaneous information about TF devices.  Thread compatible.
    class DeviceInfoCache {
     public:
      bool IsGpu(DeviceId device) const { return is_gpu_[device.id()]; }
      bool IsCpu(DeviceId device) const { return is_cpu_[device.id()]; }
    
      absl::string_view GetNameFor(DeviceId device) const {
        return names_[device.id()];
      }
    
      absl::StatusOr<DeviceId> GetIdFor(absl::string_view name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

    // device = "/TPU:2"
    // CHECK: _parallel_execution_ids = "r0:1"
    
    
    // Tests devices are remapped if device is in replicate devices.
    // CHECK-LABEL: func @remap_device
    func.func @remap_device() {
      tf_executor.graph {
        %0 = tf_executor.island {
          tf_device.replicate {n = 2 : i32, devices = {CORE_0 = ["/CPU:0", "/GPU:1"]}} {
            "tf_device.launch"() ({
              "tf.opA"() : () -> ()
              tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. pkg/volume/fc/fc_util.go

    	if len(dm) != 0 {
    		// Find all devices which are managed by multipath
    		devices = c.deviceUtil.FindSlaveDevicesOnMultipath(dm)
    		if err := util.deleteMultipathDevice(c.exec, dm); err != nil {
    			return err
    		}
    	} else {
    		// Add single device path to devices
    		devices = append(devices, dstPath)
    	}
    	var lastErr error
    	for _, device := range devices {
    		err = util.detachFCDisk(c.io, c.exec, device)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  10. pkg/volume/util/device_util_linux.go

    	if len(parts) != 3 || !strings.HasPrefix(parts[1], "dev") {
    		return devices
    	}
    	disk := parts[2]
    	slavesPath := filepath.Join("/sys/block/", disk, "/slaves/")
    	if files, err := io.ReadDir(slavesPath); err == nil {
    		for _, f := range files {
    			devices = append(devices, filepath.Join("/dev/", f.Name()))
    		}
    	}
    	return devices
    }
    
    // GetISCSIPortalHostMapForTarget given a target iqn, find all the scsi hosts logged into
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top