- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetTopology (0.11 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
return std::pair<TPUDevicesAndHosts, xla::DeviceAssignmentProto>( std::move(devices_and_hosts), std::move(device_assignment_proto)); } mlir::LogicalResult GetTopology(mlir::tf_device::ClusterOp cluster, std::string& topology) { mlir::StringAttr topology_attr = cluster->getAttrOfType<mlir::StringAttr>(tensorflow::kTopologyAttr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux.go
} func detectNumCPU() int { // try get numCPU from /sys firstly due to a known issue (https://github.com/kubernetes/kubernetes/issues/99225) _, numCPU, err := machine.GetTopology(sysfs.NewRealSysFs()) if err != nil || numCPU < 1 { return goruntime.NumCPU() } return numCPU }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0)