API REFERENCE
PipelinableContext
LayerSpec
Useful links for Colossal-AI
A context manager to split the model into pipeline stages.
Create a layer spec list and func list with execution sequence given by user. If exec_seq is None, we will take the module initizing order as execution order.
Partitioned model will be built respect to partion policy. The real module instance will be built in this method.
Build the stored specification.
build_kwargs_for_module()
exec_func_with_kwargs()
customized_partition()