Config refactoring
`state_actions` are now interfaces:
class StateAction(ABC):
abstractclassmethod
def __call__(self, tensor: Tensor, rank: int) -> Tensor:
pass
abstractclassmethod
def undo(self, tensors: Sequence[Tensor]) -> Tensor:
pass
Callables and tuples of callables are still allowed but will produce deprecation warning.
**Full Changelog**: https://github.com/BlackSamorez/tensor_parallel/compare/v1.1.4...v1.2.0