24 #ifndef TVM_RELAX_ATTRS_DISTRIBUTED_H_
25 #define TVM_RELAX_ATTRS_DISTRIBUTED_H_
The base class of the all the Use "curiously recurring template pattern".
Definition: attrs.h:870
Managed reference to a DeviceMesh.
Definition: global_info.h:81
Managed reference to a Placement.
Definition: struct_info.h:121
Struct info for DTensor (Distributed Tensor)
#define TVM_ATTR_FIELD(FieldName)
Declare an attribute field.
Definition: attrs.h:76
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Data structure for distributed inference.
Attributes for redistribute and annotate_sharding operator.
Definition: distributed.h:35
distributed::DeviceMesh device_mesh
Definition: distributed.h:36
distributed::Placement placement
Definition: distributed.h:37
TVM_DECLARE_ATTRS(DistributionAttrs, "relax.attrs.DistributionAttrs")
Definition: distributed.h:39