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
gaoqiong
lm-evaluation-harness
Commits
e6492441
Commit
e6492441
authored
May 08, 2023
by
Benjamin Fattori
Browse files
world_size condition for padding
parent
074099f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-1
No files found.
lm_eval/evaluator.py
View file @
e6492441
...
@@ -167,7 +167,7 @@ def evaluate(
...
@@ -167,7 +167,7 @@ def evaluate(
for
req
in
reqs
:
for
req
in
reqs
:
cloned_reqs
.
extend
([
req
]
*
req
.
repeats
)
cloned_reqs
.
extend
([
req
]
*
req
.
repeats
)
if
(
numpad
>
0
):
if
(
lm
.
world_size
>
1
)
and
(
numpad
>
0
):
for
_
in
range
(
numpad
):
for
_
in
range
(
numpad
):
cloned_reqs
.
extend
([
req
]
*
req
.
repeats
)
cloned_reqs
.
extend
([
req
]
*
req
.
repeats
)
...
...
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