Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,897 for Devices (0.33 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    }
    
    // -----
    
    // Tests collecting compilation and execution devices results in an error.
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      func.func @bad_devices() {
        // expected-error@+1 {{error in fetching TPU compilation/execution devices: no TPU_SYSTEM devices found}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

                    {n = 2 : i32,
                     devices = {DEVICE_ALIAS_0 = ["/DEVICE:0", "/DEVICE:1"],
                                DEVICE_ALIAS_1 = ["/DEVICE:2", "/DEVICE:3"]}} {
      // Inside the region, %0, %2, %4, and %6 corresponds to
      // "/DEVICE:0"/"/DEVICE:2" and %1, %3, %5, and %7 corresponds to
      // "/DEVICE:1"/"/DEVICE:3", depending on which device alias is used.
      %k = "tf_device.launch"() ( {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/jit/xla_platform_info.h

    // configuring the persistor used in the DeviceCompiler. Please note that
    // non-XLA devices aren't supported yet. This is because:
    // 1. PjRtClient doesn't support data transfer for non-XLA devices yet
    // 2. Fetching the PjRtClient for non-XLA devices is also not supported yet
    Status GetOrCreatePjRtDeviceCompilerAndProfiler(
        const OpKernelContext& ctx, const XlaPlatformInfo& platform_info,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

        device_list_for_alias.reserve(device_list.size());
    
        for (auto device : device_list)
          device_list_for_alias.emplace_back(
              mlir::cast<StringAttr>(device).getValue());
    
        devices.insert({device_alias, device_list_for_alias});
      }
    
      OpBuilder builder(replicate);
      builder.setInsertionPoint(while_op);
      // Create per-device variables for formatting state, and add them to the while
      // loop.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/test_util.cc

    }
    
    Device* DeviceSetup::GetDevice(const string& device_name) {
      if (device_mgr_ == nullptr) {
        return nullptr;
      }
    
      string full_device_name = absl::StrCat(
          "/job:localhost/replica:0/task:0/device:", device_name, ":0");
      Device* device;
      TF_CHECK_OK(device_mgr_->LookupDevice(full_device_name, &device));
      return device;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_device.h

        // The name of the compilation device (e.g., "XLA_CPU_JIT");
        string compilation_device_name;
    
        // If 'use_multiple_streams' is true, we create separate streams for
        // compute, host-to-device, and device-to-host communication.
        bool use_multiple_streams = false;
    
        // If true, the XLA devices with the same device ordinal will share the same
        // compute stream. Otherwise each XLA device will having their own compute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir

      tf_device.replicate() {n = 2 : i32, devices = {TPU_REPLICATED_CORE_0 = ["/DEVICE:0", "/DEVICE:1"], TPU_REPLICATED_CORE_1 = ["/DEVICE:2", "/DEVICE:3"]}} {
        tf_device.return
      }
      func.return
    
    // CHECK:      tf_device.replicate
    // CHECK-SAME: devices = {TPU_REPLICATED_CORE_0 = ["/DEVICE:0", "/DEVICE:1"], TPU_REPLICATED_CORE_1 = ["/DEVICE:2", "/DEVICE:3"]}
    // CHECK-SAME: n = 2
    // CHECK-NEXT:   tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_host_send_recv_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]);
    
        AllocatorAttributes host_alloc_attr;
        host_alloc_attr.set_on_host(true);
        host_allocator_ = device_->GetAllocator(host_alloc_attr);
    
        AllocatorAttributes device_alloc_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/claiminfo.go

    func (info *ClaimInfo) cdiDevicesAsList() []kubecontainer.CDIDevice {
    	var cdiDevices []kubecontainer.CDIDevice
    	for _, devices := range info.CDIDevices {
    		for _, device := range devices {
    			cdiDevices = append(cdiDevices, kubecontainer.CDIDevice{Name: device})
    		}
    	}
    	return cdiDevices
    }
    
    // addPodReference adds a pod reference to the claim info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top