- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 847 for device_1 (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir
// CHECK-SAME: device = "device_0" // CHECK-SAME: topology = "topology_0" // CHECK: %[[CLUSTER_1:[0-9]*]] = "tf_device.cluster"() ({ // CHECK-NEXT: %[[OP_B:[0-9]*]] = "tf.opB"(%[[ARG_0]]) // CHECK-NEXT: %[[OP_D:[0-9]*]] = "tf.opD"(%[[OP_B]]) // CHECK-NEXT: tf_device.return %[[OP_D]] // CHECK-NEXT: _replication_info = "replicate_1" // CHECK-SAME: device = "device_1" // CHECK-SAME: topology = "topology_1"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 53.9K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
}, CDIDevices: []kubecontainer.CDIDevice{ {Name: "vendor1.com/class1=device1"}, {Name: "vendor2.com/class2=device2"}, {Name: "vendor3.com/class3=device3"}, {Name: "vendor4.com/class4=device4"}, }, }, }, { description: "duplicate cdi devices are skipped",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
return true; }; devices.ForEach([&](jit::DeviceId device) { if (device_info_cache.IsGpu(device)) { if (maybe_gpu_device) { multiple_gpu_devices = is_multiple_devices(device, &maybe_gpu_device); if (multiple_gpu_devices) return false; } else { maybe_gpu_device = device; } } else if (device_info_cache.IsCpu(device)) { if (maybe_cpu_device) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
class DeviceInfoCache; class DeviceSet; // Instances of DeviceId represent TensorFlow devices as integers. // // This helps avoid having to manipulate device names as strings when // auto-clustering. class DeviceId { public: DeviceId(DeviceId&&) = default; DeviceId(const DeviceId&) = default; DeviceId& operator=(const DeviceId&) = default; bool operator==(const DeviceId& other) const { return id() == other.id(); }
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/kubelet/cm/devicemanager/endpoint_test.go
// Check plugin registration if callbackCount == 0 { require.Len(t, devices, 3) require.Equal(t, devices[0].ID, devs[0].ID) require.Equal(t, devices[1].ID, devs[1].ID) require.Equal(t, devices[2].ID, devs[2].ID) require.Equal(t, devices[0].Health, devs[0].Health) require.Equal(t, devices[1].Health, devs[1].Health) require.Equal(t, devices[2].Health, devs[2].Health) } // Check plugin update
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 7.6K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo_test.go
"vendor.com/device=device1", "vendor.com/device=device2", }, "test-plugin2": { "vendor.com/device=device1", "vendor.com/device=device2", }, }, }, }, expectedResult: []kubecontainer.CDIDevice{ { Name: "vendor.com/device=device1", }, { Name: "vendor.com/device=device1", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 21K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util_test.cc
TF_ASSERT_OK_AND_ASSIGN(jit::DeviceId device_id, device_info_cache.GetIdFor(device_name)); device_set.Insert(device_id); expected_devices.push_back(device_name); } device_set.ForEach([&](jit::DeviceId device_id) { actual_devices.push_back(string(device_info_cache.GetNameFor(device_id))); return true; });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
type wrappedManagerImpl struct { *ManagerImpl socketdir string callback func(string, []pluginapi.Device) } func (m *wrappedManagerImpl) PluginListAndWatchReceiver(r string, resp *pluginapi.ListAndWatchResponse) { var devices []pluginapi.Device for _, d := range resp.Devices { devices = append(devices, *d) } m.callback(r, devices) } func tmpSocketDir() (socketDir, socketName, pluginSocketName string, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K 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/tensorflow/utils/tpu_rewrite_device_util.cc
task_and_device = {task, device}; } } return topology; } // Determine execution devices when topology and device assignment are defined. // With a topology device coordinate to task and device mapping, device // assignment device coordinates can then be mapped to task and device for TPU // devices. The device assignment array is also validated. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0)