mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-11 05:49:55 +00:00
[autochunk] support parsing blocks (#2506)
This commit is contained in:
@@ -2,6 +2,14 @@ from typing import Any, Callable, Dict, Iterable, List, Tuple
|
||||
|
||||
from torch.fx.node import Node
|
||||
|
||||
from colossalai.logging import get_dist_logger
|
||||
|
||||
logger = get_dist_logger()
|
||||
|
||||
|
||||
def get_logger():
|
||||
return logger
|
||||
|
||||
|
||||
def flat_list(inputs: Any) -> List:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user