mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-03 10:06:44 +00:00
[NFC] fix typo applications/ and colossalai/ (#3735)
This commit is contained in:
@@ -169,7 +169,7 @@ def size_value_converting_pass(gm: torch.fx.GraphModule, device_mesh: DeviceMesh
|
||||
This function is used to process the dependency between the size node and its users after
|
||||
inserting the size_process_node.
|
||||
'''
|
||||
# store original node and processing node pair in node_pairs dictioanry
|
||||
# store original node and processing node pair in node_pairs dictionary
|
||||
# It will be used to replace the original node with processing node in slice object
|
||||
node_pairs[node] = size_processing_node
|
||||
size_processing_node._meta_data = node._meta_data
|
||||
@@ -388,7 +388,7 @@ def module_params_sharding_pass(gm: torch.fx.GraphModule, device_mesh: DeviceMes
|
||||
"""
|
||||
mod_graph = gm.graph
|
||||
nodes = tuple(mod_graph.nodes)
|
||||
# This stream is created for overlaping the communication and computation.
|
||||
# This stream is created for overlapping the communication and computation.
|
||||
reduction_stream = torch.cuda.Stream()
|
||||
|
||||
def _add_hook_for_grad_communication(node, param, name=None):
|
||||
|
Reference in New Issue
Block a user