Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for r2devices (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

      mlir::Builder builder(ctx);
    
      // Collect devices with attached metadata.
      llvm::SmallVector<mlir::NamedAttribute, 8> devices;
      devices.reserve(device_set->devices().size());
    
      // For device that do not have any metadata, or if we failed to parse metadata
      // from the DeviceSet, we add a unit attribute to the `tf.devices` attribute.
      for (Device* device : device_set->devices()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

      (*module_ref)->setAttr("tf.devices", device_dict);
    
      mlir::TF::RuntimeDevices devices;
      EXPECT_TRUE(mlir::succeeded(GetDevicesFromOp(*module_ref, &devices)));
    
      ASSERT_EQ(devices.NumDevices(), 1);
      ASSERT_EQ(devices.device_names().size(), 1);
      ASSERT_EQ(DeviceNameUtils::ParsedNameToString(devices.device_names()[0]),
                "/job:worker/replica:0/task:0/device:CPU:0");
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    		pods             []*v1.Pod
    		devices          []*podresourcesv1.ContainerDevices
    		expectedResponse *v1alpha1.ListPodResourcesResponse
    	}{
    		{
    			desc:             "no pods",
    			pods:             []*v1.Pod{},
    			devices:          []*podresourcesv1.ContainerDevices{},
    			expectedResponse: &v1alpha1.ListPodResourcesResponse{},
    		},
    		{
    			desc: "pod without devices",
    			pods: []*v1.Pod{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/jit/device_util.cc

            "Multiple CPU devices ", device_info_cache.DebugString(devices)));
      }
    
      if (multiple_gpu_devices) {
        FAILED_TO_PICK_DEVICE(errors::Internal(
            "Multiple GPU devices ", device_info_cache.DebugString(devices)));
      }
    
      if (multiple_unknown_devices) {
        FAILED_TO_PICK_DEVICE(errors::Internal(
            "Multiple unknown devices ", device_info_cache.DebugString(devices)));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_util.h

    //    same type.
    //  - GPU is preferred over CPU.
    //  - If `allow_mixing_unknown_and_cpu` is true then unknown devices are
    //    preferred over CPU.
    //  - XLA devices count as "unrecognized devices".
    //
    // This set of rules above implicitly assume that XLA:GPU can compile all
    // operations in the cluster that XLA:CPU can compile, and if
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go

    func New(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint {
    	return newV2(devEntries, devices)
    }
    
    func newV2(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint {
    	return &Data{
    		Data: checkpointData{
    			PodDeviceEntries:  devEntries,
    			RegisteredDevices: devices,
    		},
    	}
    }
    
    // MarshalCheckpoint returns marshalled data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top