Unverified Commit e3d1a8da authored by Santiago Castro's avatar Santiago Castro Committed by GitHub
Browse files

Add a missing space in a deprecation message (#15651)

parent 1ddf3c2b
......@@ -305,7 +305,7 @@ class AdamW(Optimizer):
if not no_deprecation_warning:
warnings.warn(
"This implementation of AdamW is deprecated and will be removed in a future version. Use the"
"PyTorch implementation torch.optim.AdamW instead, or set `no_deprecation_warning=True` to disable this warning",
" PyTorch implementation torch.optim.AdamW instead, or set `no_deprecation_warning=True` to disable this warning",
FutureWarning,
)
require_version("torch>=1.5.0") # add_ with alpha
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment