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
opencompass
Commits
07574fdd
"...composable_kernel-1.git" did not exist on "d66421fe34f2b69de7fe53876a7eb5dea4f3fd9f"
Unverified
Commit
07574fdd
authored
Sep 22, 2023
by
Tong Gao
Committed by
GitHub
Sep 22, 2023
Browse files
[Fix] keep keys (#431)
parent
a1ea3c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
opencompass/partitioners/base.py
opencompass/partitioners/base.py
+1
-1
No files found.
opencompass/partitioners/base.py
View file @
07574fdd
...
@@ -62,7 +62,7 @@ class BasePartitioner:
...
@@ -62,7 +62,7 @@ class BasePartitioner:
tgt_ptr
[
key
]
=
{}
tgt_ptr
[
key
]
=
{}
tgt_ptr
=
tgt_ptr
[
key
]
tgt_ptr
=
tgt_ptr
[
key
]
tgt_ptr
[
key_chain
[
-
1
]]
=
ori_ptr
[
key_chain
[
-
1
]]
tgt_ptr
[
key_chain
[
-
1
]]
=
ori_ptr
[
key_chain
[
-
1
]]
except
AttributeError
:
except
Exception
:
self
.
logger
.
warning
(
f
'Key
{
k
}
not found in config, ignored.'
)
self
.
logger
.
warning
(
f
'Key
{
k
}
not found in config, ignored.'
)
tasks
=
self
.
partition
(
models
,
tasks
=
self
.
partition
(
models
,
...
...
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