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
chenpangpang
transformers
Commits
aa3787c8
"docs/vscode:/vscode.git/clone" did not exist on "4766e009b034ec698f09526a2225b6b5fc34a75e"
Commit
aa3787c8
authored
Feb 23, 2023
by
ydshieh
Browse files
Skip test_log_level for now
parent
1d4b7978
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/trainer/test_trainer.py
tests/trainer/test_trainer.py
+2
-0
No files found.
tests/trainer/test_trainer.py
View file @
aa3787c8
...
...
@@ -1093,6 +1093,8 @@ class TrainerIntegrationTest(TestCasePlus, TrainerIntegrationCommon):
self
.
assertTrue
(
np
.
array_equal
(
2
*
expected
+
1
,
seen
[:
expected
.
shape
[
0
]]))
self
.
assertTrue
(
np
.
all
(
seen
[
expected
.
shape
[
0
]
:]
==
-
100
))
# FIXME: sgugger
@
unittest
.
skip
(
reason
=
"might be flaky after PR #21700. Skip for now."
)
def
test_log_level
(
self
):
# testing only --log_level (--log_level_replica requires multiple gpus and DDP and is tested elsewhere)
logger
=
logging
.
get_logger
()
...
...
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