mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-03 02:26:26 +00:00
fix layernorm
This commit is contained in:
parent
e66a18a0bf
commit
9d516fa68f
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user