Files
ColossalAI/colossalai/auto_parallel/solver/dot_handler.py
Frank Lee 9dae9bb2bc [autoparallel] introduced baseclass for op handler and reduced code redundancy (#1471)
* [autoparallel] introduced baseclass for op handler and reduced code redundancy

* polish code
2022-08-19 16:51:38 +08:00

13 lines
377 B
Python

from .operator_handler import OperatorHanlder
class DotHandler(OperatorHanlder):
"""
A OperatorHandler which deals with the sharding strategies of linear matrix multiplication.
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# TODO: refactor the dot handler in my local branch to align with the latest main branch