- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for HasModelParallelism (0.37 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.h
// the root cluster's host device. `callback` returning WasInterrupted // indicates failure. // The host device is null when the tpu_cluster HasModelParallelism: The // HasModelParallelism case is currently unsupported in combination with // outside compilation. mlir::LogicalResult WalkReachableFromTpuCluster( ModuleOp module, std::function<WalkResult(Operation*, tf_device::ClusterOp,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h
std::string GetDeviceAliasForHostOfLogicalCore(int core_index); // Returns true if cluster contains model parallelism based on // `num_cores_per_replica_attribute`. Otherwise returns false. bool HasModelParallelism(mlir::tf_device::ClusterOp cluster); // Returns true if the devices list contain any TPU devices bool HasTPUDevice(const mlir::TF::RuntimeDevices& devices);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc
cluster->setAttr(kTopologyAttr, builder.getStringAttr("")); cluster->setAttr(kDeviceAssignmentAttr, builder.getArrayAttr({})); EXPECT_FALSE(HasModelParallelism(cluster)); } TEST(TPURewriteDeviceUtilTest, TestHasModelParallelismTrue) { mlir::MLIRContext context; context.loadDialect<mlir::tf_device::TensorFlowDeviceDialect>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
} std::string GetDeviceAliasForHostOfLogicalCore(const int core_index) { return llvm::formatv("{0}_{1}", kTPUReplicatedHost, core_index).str(); } bool HasModelParallelism(mlir::tf_device::ClusterOp cluster) { mlir::IntegerAttr num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>( tensorflow::kNumCoresPerReplicaAttr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0)