Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,568 for Devices (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

    func.func @serving_default(%arg0: tensor<1x3xf32>) -> () {
      %outputs  =  "tf.TPUCompilationResult"() {_tpu_compilation_status = "cluster", device = ""} : () -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

        value_to_device.insert({result, device});
      }
    }
    
    // Checks if an operation can have TPU devices propagated through.
    bool IsSupportedOpToSetDevice(Operation& op) {
      return IsSupportedExecutorOp(op) ||
             isa<TF::IdentityOp, TF::IdentityNOp, TF::ShapeOp>(op);
    }
    
    // Finds nonconflicting TPU device for an operation from its operands. If an
    // operand has no device or a non TPU device, or if there are conflicting
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_colocate_composite_resource_ops.mlir

           tf_device.return
        }) {device = "TPU_REPLICATED_CORE_0"} : () -> ()
        "tf_device.launch"() ({
          // CHECK:  "tf.B"(%[[RESOURCE_OUT]])
          "tf.B"(%1) : (tensor<4xf32>) -> ()
           tf_device.return
        }) {device = "TPU_REPLICATED_CORE_0"} : () -> ()
        tf_device.return
      }
      func.return
    }
    
    // Tests AssignVariable op using composite device resource is wrapped inside
    // tf_device.Cluster.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top