- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,466 for Devices (0.18 sec)
-
tensorflow/compiler/mlir/tfrt/tests/runtime_lowering_tpu.mlir
// RUN: tf-tfrt-opt -tfrt-lower-cluster-to-runtime-ops-tpu -split-input-file -verify-diagnostics %s | FileCheck %s 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_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} { // CHECK-LABEL: @converts_cluster func.func @converts_cluster() { // CHECK: %0:2 = "tf_device.launch"() <{{.*}}> ({
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 1.6K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
Builder* builder, OperationState* state, int n, std::optional<DictionaryAttr> devices, llvm::ArrayRef<std::pair<ValueRange, Type>> replicated_inputs, ValueRange packed_inputs, TypeRange replica_output_types) { DCHECK_GE(n, 2); state->addAttribute("n", builder->getI32IntegerAttr(n)); if (devices.has_value()) state->addAttribute("devices", devices.value()); Region* region = state->addRegion();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
// TODO(jpienaar): Remove this later. if (auto device = res->getAttrOfType<StringAttr>("device")) { if (!device.getValue().empty()) result_id->setAttr("device", device); else result_id->setAttr("device", compile_device_op); } else if (compile_device_op) { result_id->setAttr("device", compile_device_op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
pkg/util/procfs/procfs_fake.go
limitations under the License. */ package procfs type FakeProcFS struct{} // GetFullContainerName gets the container name given the root process id of the container. // E.g. if the devices cgroup for the container is stored in /sys/fs/cgroup/devices/docker/nginx, // return docker/nginx. Assumes that the process is part of exactly one cgroup hierarchy. func (fakePfs *FakeProcFS) GetFullContainerName(pid int) (string, error) { return "", nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 09:22:35 UTC 2023 - 986 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/argument-sharding.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/jit/defs.h
// The id of the compiled cluster. extern const char* const kXlaClusterIdAttr; // "_xla_compile_id" [[deprecated("XLA:CPU/GPU devices are deprecated")]] void RequestXlaDevicesCreation(); [[deprecated("XLA:CPU/GPU devices are deprecated")]] bool XlaDevicesCreationRequired(); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 07 01:03:32 UTC 2021 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>(); // Get runtime devices information from the closest parent module. auto module = getOperation(); mlir::TF::RuntimeDevices devices; if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return signalPassFailure(); OpBuilder builder(&getContext()); llvm::SmallVector<mlir::tf_device::ClusterOp, 4> clusters;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.6K bytes - Viewed (0) -
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)