- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,121 for Devices (0.14 sec)
-
tensorflow/compiler/jit/xla_cpu_device.cc
public: Status ListPhysicalDevices(std::vector<string>* devices) override; Status CreateDevices(const SessionOptions& options, const string& name_prefix, std::vector<std::unique_ptr<Device>>* devices) override; }; Status XlaCpuDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) { XlaDeviceFlags* flags = GetXlaDeviceFlags();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.5K bytes - Viewed (0) -
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) -
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) -
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) -
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/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 17 07:28:40 UTC 2024 - 9K bytes - Viewed (0) -
pkg/kubelet/cm/util/cdi/cdi.go
} if err := validateVendorName(vendor); err != nil { return "", "", device, fmt.Errorf("invalid device %q: %v", device, err) } if err := validateClassName(class); err != nil { return "", "", device, fmt.Errorf("invalid device %q: %v", device, err) } if err := validateDeviceName(name); err != nil { return "", "", device, fmt.Errorf("invalid device %q: %v", device, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:48:24 UTC 2023 - 9.5K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/types.go
podresourcesapi "k8s.io/kubelet/pkg/apis/podresources/v1" ) // DevicesProvider knows how to provide the devices used by the given container type DevicesProvider interface { // UpdateAllocatedDevices frees any Devices that are bound to terminated pods. UpdateAllocatedDevices() // GetDevices returns information about the devices assigned to pods and containers GetDevices(podUID, containerName string) []*podresourcesapi.ContainerDevices
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 17:33:04 UTC 2023 - 2.6K bytes - Viewed (0)