- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,121 for Devices (0.11 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc
} return resource_users; } void ColocateCompositeResourceOpsInReplicate( tf_device::ReplicateOp replicate_op, OpBuilder* builder) { auto devices = replicate_op.getDevices(); if (!devices) return; if (!devices.value().get(tensorflow::GetDeviceAliasForLogicalCore(0))) return; const auto composite_resource_users = GetResourceOpsUsingCompositeArgsInReplicate(replicate_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 17:41:12 UTC 2023 - 5.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
pkg/kubelet/apis/podresources/server_v1.go
// with device information provided by the DevicesProvider func NewV1PodResourcesServer(providers PodResourcesProviders) podresourcesv1.PodResourcesListerServer { return &v1PodResourcesServer{ podsProvider: providers.Pods, devicesProvider: providers.Devices, cpusProvider: providers.Cpus, memoryProvider: providers.Memory,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:00:09 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc
SessionOptions options; options.config.mutable_device_count()->insert({"CPU", 3}); std::vector<std::unique_ptr<Device>> devices; TF_CHECK_OK(DeviceFactory::AddDevices( options, "/job:localhost/replica:0/task:0", &devices)); device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices)); ctx_ = testing::CreateTestingEagerContext(device_mgr_.get()); } EagerContext* context() { return ctx_.get(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/volume/util/volumepathhandler/volume_path_handler_linux.go
if err != nil { return "", fmt.Errorf("failed to evaluate path %s: %s", path, err) } devices, err := filepath.Glob("/sys/block/loop*") if err != nil { return "", fmt.Errorf("failed to list loop devices in sysfs: %s", err) } for _, device := range devices { backingFile := fmt.Sprintf("%s/loop/backing_file", device) // The contents of this file is the absolute path of "path".
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-retval-attr.pbtxt
# Verify arg and ret devices are added as arg and ret attributes. # CHECK-LABEL: func @main # CHECK-SAME: (%[[ARG_0:[a-z0-9]+]]: tensor<*xf32> {tf.device = "/CPU:0"}, %[[ARG_1:[a-z0-9]+]]: tensor<2x4x6x8xi32>) -> (tensor<*xf32>, tensor<*xi32> {tf.device = "/CPU:1"}) node { name: "args_0" op: "_Arg" device: "/CPU:0" attr { key: "T" value { type: DT_FLOAT
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Dec 07 17:45:22 UTC 2020 - 1.6K bytes - Viewed (0)