mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-04-25 17:22:12 +00:00
fix layernorm
This commit is contained in:
@@ -574,7 +574,7 @@ class IndexTracer(object):
|
||||
node_idx (int)
|
||||
"""
|
||||
self._assign_index_as_input(node, idx)
|
||||
self._mark_computation(node, idx, [-1, -2])
|
||||
self._mark_computation(node, idx, [-1])
|
||||
|
||||
def _assign_elementwise_index(self, node, idx):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user