Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,466 for Devices (0.31 sec)

  1. pkg/kubelet/cm/util/cgroups_linux.go

    }
    
    // getCgroupV1Path gets the file path to the "devices" subsystem of the desired cgroup.
    // cgroupPath is the path in the cgroup hierarchy.
    func getCgroupV1Path(cgroupPath string) (string, error) {
    	cgroupPath = libcontainerutils.CleanPath(cgroupPath)
    
    	mnt, root, err := libcontainercgroups.FindCgroupMountpointAndRoot(cgroupPath, "devices")
    	// If we didn't mount the subsystem, there is no point we make the path.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 12 07:50:19 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/flags.h

        // `enabled_for_gpu_` below.
        bool enabled_for_all_;
    
        // If true, enable Device API (PjRt) for TF GPU device. This is a helper
        // flag so that individual tests can turn on PjRt for GPU specifically.
        // Once the rollout to GPU is complete, this flag can be deprecated.
        bool enabled_for_gpu_;
    
       private:
        // Devices for which using Device API (PjRt) is allowed in the XlaLaunch op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    	s.Send(&pluginapi.ListAndWatchResponse{Devices: m.devs})
    
    	for {
    		select {
    		case <-m.stop:
    			return nil
    		case updated := <-m.update:
    			s.Send(&pluginapi.ListAndWatchResponse{Devices: updated})
    		}
    	}
    }
    
    // Update allows the device plugin to send new devices through ListAndWatch
    func (m *Stub) Update(devs []*pluginapi.Device) {
    	m.update <- devs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test_util.cc

        const string dev_name(TF_DeviceListName(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (dev_type == device_type) {
          *device_name = dev_name;
          LOG(INFO) << "Found " << device_type << " device " << *device_name;
          TF_DeleteDeviceList(devices);
          return true;
        }
      }
      TF_DeleteDeviceList(devices);
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_device.h

    #include "mlir/Interfaces/SideEffectInterfaces.h"  // from @llvm-project
    
    namespace mlir {
    namespace tf_device {
    
    // The TensorFlow Device dialect.
    //
    // This dialect contains operations to describe/launch computations on devices.
    // These operations do not map 1-1 to TensorFlow ops and requires a lowering
    // pass later to transform them into Compile/Run op pairs, like XlaCompile and
    // XlaRun.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/podresources/server_v1alpha1.go

    // with device information provided by the DevicesProvider
    func NewV1alpha1PodResourcesServer(providers PodResourcesProviders) v1alpha1.PodResourcesListerServer {
    	return &v1alpha1PodResourcesServer{
    		podsProvider:    providers.Pods,
    		devicesProvider: providers.Devices,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:01 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_kernel_creator_test.cc

        SessionOptions options;
        auto* device_count = options.config.mutable_device_count();
        device_count->insert({"CPU", 1});
        std::vector<std::unique_ptr<Device>> devices;
        TF_CHECK_OK(DeviceFactory::AddDevices(
            options, "/job:localhost/replica:0/task:0", &devices));
    
        FunctionDefLibrary proto;
        for (const auto& fdef : flib) {
          *(proto.add_function()) = fdef;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

    //
    // device_info is an opaque caller-defined type stored with the custom device
    // which is passed to the functions referenced in the TFE_CustomDevice struct
    // `device` (execute, delete_device, etc.). It can for example contain the
    // names of wrapped devices.
    //
    // There are currently no graph semantics implemented for registered custom
    // devices, so executing tf.functions which contain operations placed on the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

    // Check that replicate op's 'devices' attribute must consist of dictionary
    // with values as list with size equal to 'n' attribute.
    func.func @verifier_replicate_n_device_multiple_alias() {
      "tf_device.replicate" () ({
    // expected-error@-1 {{'tf_device.replicate' op expects number of devices (2) to be equal to 'n' (3)}}
      ^entry:
        tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager_windows.go

    	// just try to fetch device runtime information from cached state here
    	devOpts, err := cm.deviceManager.GetDeviceRunContainerOptions(pod, container)
    	if err != nil {
    		return nil, err
    	} else if devOpts == nil {
    		return opts, nil
    	}
    	opts.Devices = append(opts.Devices, devOpts.Devices...)
    	opts.Mounts = append(opts.Mounts, devOpts.Mounts...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 11:25:36 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top