24 #ifndef TVM_RELAX_ATTRS_CCL_H_
25 #define TVM_RELAX_ATTRS_CCL_H_
39 "The type of reduction operation to be applied to the input data. Now only sum is "
42 "Whether the reduction operation performs in group or globally or in group as default.");
54 "The number of workers, also the number of parts the given buffer should be chunked "
57 "Whether the allgather operation performs in group or globally or in group as default.");
69 "The number of workers, also the number of parts the given buffer should be chunked "
72 "The axis of the tensor to be scattered. The tensor will be chunked along "
The base class of the all the Use "curiously recurring template pattern".
Definition: attrs.h:870
Reference to string objects.
Definition: string.h:98
#define TVM_ATTR_FIELD(FieldName)
Declare an attribute field.
Definition: attrs.h:76
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Attributes used in allgather operators.
Definition: ccl.h:47
TVM_DECLARE_ATTRS(AllGatherAttrs, "relax.attrs.AllGatherAttrs")
Definition: ccl.h:51
int num_workers
Definition: ccl.h:48
bool in_group
Definition: ccl.h:49
Attributes used in allreduce operators.
Definition: ccl.h:33
bool in_group
Definition: ccl.h:35
String op_type
Definition: ccl.h:34
TVM_DECLARE_ATTRS(AllReduceAttrs, "relax.attrs.AllReduceAttrs")
Definition: ccl.h:37
Attributes used in scatter operators.
Definition: ccl.h:62
int num_workers
Definition: ccl.h:63
int axis
Definition: ccl.h:64
TVM_DECLARE_ATTRS(ScatterCollectiveAttrs, "relax.attrs.ScatterCollectiveAttrs")
Definition: ccl.h:66