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
evt_fugx1
dcu_megatron
Commits
48b2dafd
Commit
48b2dafd
authored
May 19, 2025
by
dongcl
Browse files
support 1f1b overlap
parent
c63fceee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dcu_megatron/adaptor/megatron_adaptor.py
dcu_megatron/adaptor/megatron_adaptor.py
+4
-4
No files found.
dcu_megatron/adaptor/megatron_adaptor.py
View file @
48b2dafd
...
@@ -25,11 +25,11 @@ class MegatronAdaptation:
...
@@ -25,11 +25,11 @@ class MegatronAdaptation:
MegatronAdaptation
.
apply
()
MegatronAdaptation
.
apply
()
# apply features
# apply features
#
from .patch_utils import MegatronPatchesManager
from
.patch_utils
import
MegatronPatchesManager
#
from .features_manager import a2a_overlap_adaptation
from
.features_manager
import
a2a_overlap_adaptation
#
a2a_overlap_adaptation(MegatronPatchesManager)
a2a_overlap_adaptation
(
MegatronPatchesManager
)
#
MegatronPatchesManager.apply_patches()
MegatronPatchesManager
.
apply_patches
()
@
classmethod
@
classmethod
def
register
(
cls
,
orig_func_name
,
new_func
=
None
,
force_patch
=
False
,
create_dummy
=
False
,
apply_wrapper
=
False
,
remove_origin_wrappers
=
False
):
def
register
(
cls
,
orig_func_name
,
new_func
=
None
,
force_patch
=
False
,
create_dummy
=
False
,
apply_wrapper
=
False
,
remove_origin_wrappers
=
False
):
...
...
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