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
ea1a95b8
Unverified
Commit
ea1a95b8
authored
Aug 30, 2022
by
Super Daniel
Committed by
GitHub
Aug 30, 2022
Browse files
[hotfix] fix coloproxy typos. (#1519)
parent
af5438ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
colossalai/fx/proxy.py
colossalai/fx/proxy.py
+2
-2
No files found.
colossalai/fx/proxy.py
View file @
ea1a95b8
...
...
@@ -117,8 +117,8 @@ class ColoAttribute(ColoProxy):
method
=
getattr
(
meta_args
[
0
].
__class__
,
self
.
attr
)
if
meta_patched_function
.
has
(
method
):
meta_target
=
meta_patched_function
.
get
(
method
)
elif
meta_patched_function
.
has
(
target
.
__name__
):
meta_target
=
meta_patched_function
.
get
(
target
.
__name__
)
elif
meta_patched_function
.
has
(
method
.
__name__
):
meta_target
=
meta_patched_function
.
get
(
method
.
__name__
)
else
:
meta_target
=
method
meta_out
=
meta_target
(
*
meta_args
,
**
meta_kwargs
)
...
...
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