24#ifndef TVM_RELAX_ATTRS_DISTRIBUTED_H_
25#define TVM_RELAX_ATTRS_DISTRIBUTED_H_
40 namespace refl = tvm::ffi::reflection;
41 refl::ObjectDef<DistributionAttrs>()
43 "The device mesh of a tensor's distribution plan")
45 "The placement of a tensor's distribution plan");
Base class of all attribute class.
Definition attrs.h:49
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
Managed reference to a DeviceMesh.
Definition global_info.h:63
Managed reference to a Placement.
Definition type.h:108
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
Data structure for distributed inference.
Type definitions for DTensor (Distributed Tensor)
Attributes for redistribute and annotate_sharding operator.
Definition distributed.h:35
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.DistributionAttrs", DistributionAttrs, AttrsNode)
distributed::DeviceMesh device_mesh
Definition distributed.h:36
distributed::Placement placement
Definition distributed.h:37
static void RegisterReflection()
Definition distributed.h:39