Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
a045cbd6
Unverified
Commit
a045cbd6
authored
Jul 04, 2022
by
Dobatymo
Committed by
GitHub
Jul 04, 2022
Browse files
only a stupid typo, but it can lead to confusion (#17930)
parent
49c8c67f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/integrations.py
src/transformers/integrations.py
+1
-1
No files found.
src/transformers/integrations.py
View file @
a045cbd6
...
@@ -54,7 +54,7 @@ def is_wandb_available():
...
@@ -54,7 +54,7 @@ def is_wandb_available():
# any value of WANDB_DISABLED disables wandb
# any value of WANDB_DISABLED disables wandb
if
os
.
getenv
(
"WANDB_DISABLED"
,
""
).
upper
()
in
ENV_VARS_TRUE_VALUES
:
if
os
.
getenv
(
"WANDB_DISABLED"
,
""
).
upper
()
in
ENV_VARS_TRUE_VALUES
:
logger
.
warning
(
logger
.
warning
(
"Using the `WAND_DISABLED` environment variable is deprecated and will be removed in v5. Use the "
"Using the `WAND
B
_DISABLED` environment variable is deprecated and will be removed in v5. Use the "
"--report_to flag to control the integrations used for logging result (for instance --report_to none)."
"--report_to flag to control the integrations used for logging result (for instance --report_to none)."
)
)
return
False
return
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