- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,948 for Devices (0.33 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/replica_id_to_device_ordinal.cc
return signalPassFailure(); } // Get the number of devices per host. int device_num = 0; mlir::TF::RuntimeDevices devices; if (failed(tensorflow::GetDevicesFromOp( getOperation()->getParentOfType<ModuleOp>(), &devices))) return signalPassFailure(); for (const auto& device_name : devices.device_names()) { if (device_name.has_type && device_name.type == "TPU") ++device_num; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4K bytes - Viewed (0) -
tensorflow/compiler/jit/device_context_test.cc
SessionOptions options; std::vector<std::unique_ptr<Device>> devices; Status s = device_factory->CreateDevices( options, "/job:worker/replica:0/task:0", &devices); device_ = std::move(devices[0]); tensorflow::AllocatorAttributes host_alloc_attr; host_alloc_attr.set_on_host(true); host_allocator_ = device_->GetAllocator(host_alloc_attr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
void AsyncWait(TFE_Context* context, TF_Status* status) const; // Device strings for component devices that only include a // worker/task/replica if any of those differ across components. Useful for // printing debug messages. std::vector<std::string> SummarizeDeviceNames() const; private: // A sequence of device names, indicating which devices replicated operations // are forwarded to.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 25 15:21:13 UTC 2023 - 12.9K bytes - Viewed (0)