- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 129 for r2devices (0.38 sec)
-
tensorflow/compiler/jit/xla_gpu_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 XlaGpuDeviceFactory::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 - 6.6K bytes - Viewed (0) -
pkg/volume/util/device_util_linux_test.go
mockDeviceUtil := NewDeviceHandler(&mockOsIOHandler{}) devices, err := mockDeviceUtil.FindDevicesForISCSILun("target1", 1) if err != nil { t.Fatalf("error getting devices for lun: %v", err) } if devices == nil { t.Fatal("no devices returned") } if len(devices) != 1 { t.Fatalf("wrong number of devices: %d", len(devices)) } if devices[0] != "sda" { t.Fatalf("incorrect device %v", devices) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir
// CHECK: "tf_device.launch" // CHECK: device = "CORE_0" // CHECK: "tf.opA" // Tests devices are not remapped if device is not in replicate devices. // CHECK-LABEL: func @no_override_device func.func @no_override_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"() : () -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 9.3K 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) -
pkg/volume/util/device_util_linux.go
// which are managed by the devicemapper dm-1. func (handler *deviceHandler) FindSlaveDevicesOnMultipath(dm string) []string { var devices []string io := handler.getIo // Split path /dev/dm-1 into "", "dev", "dm-1" parts := strings.Split(dm, "/") if len(parts) != 3 || !strings.HasPrefix(parts[1], "dev") { return devices } disk := parts[2]
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/mlir/tensorflow/tests/replica_id_to_device_ordinal.mlir
// RUN: tf-opt -split-input-file -verify-diagnostics %s -tf-replica-id-to-device-ordinal | FileCheck %s // Tests device ordinal is set correctly for multiple devices. // CHECK-LABEL: func @device_ordinal_attr_added_multiple_devices module attributes {tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0", "/job:worker/replica:0/task:0/device:TPU:1"]} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir
// CHECK-SAME: tfrt_ifrt_serving.program_id = [[PROGRAM_ID]] : i64 // CHECK: return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 17 07:28:40 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/xla_rewrite.mlir
// RUN: tf-opt %s -split-input-file -tf-xla-rewrite | FileCheck %s module attributes {tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:GPU:0"]} { // CHECK-LABEL: func.func @convert_cluster_func func.func @convert_cluster_func(%arg0: tensor<i32>) -> tensor<i32> { // CHECK: "tf.XlaLaunch"(%arg0) <{function = @func, operandSegmentSizes = array<i32: 0, 1, 0>}> : (tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/cm/util/cdi/cdi.go
} return annotationPrefix + name, nil } // annotationValue returns an annotation value for the given devices. func annotationValue(devices []string) (string, error) { value, sep := "", "" for _, d := range devices { if _, _, _, err := parseQualifiedName(d); err != nil { return "", err } value += sep + d sep = "," } return value, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:48:24 UTC 2023 - 9.5K bytes - Viewed (0)