Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
9d516fa6
Commit
9d516fa6
authored
Dec 18, 2022
by
oahzxl
Browse files
fix layernorm
parent
e66a18a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
chunk_codegen.py
chunk_codegen.py
+1
-1
No files found.
chunk_codegen.py
View file @
9d516fa6
...
@@ -574,7 +574,7 @@ class IndexTracer(object):
...
@@ -574,7 +574,7 @@ class IndexTracer(object):
node_idx (int)
node_idx (int)
"""
"""
self
.
_assign_index_as_input
(
node
,
idx
)
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
):
def
_assign_elementwise_index
(
self
,
node
,
idx
):
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment