Skip to content

Commit 9138b31

Browse files
committed
Fix warning
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
1 parent 5f53bab commit 9138b31

File tree

8 files changed

+16
-7
lines changed

8 files changed

+16
-7
lines changed

nemo/collections/avlm/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@
2525
"AVLMModel",
2626
"avlm_8b",
2727
]
28+
29+
30+
import warnings
31+
32+
warnings.warn(
33+
"nemo.collections.avlm is deprecated and will be removed in the next major NeMo FW container release.",
34+
DeprecationWarning,
35+
stacklevel=2,
36+
)

nemo/collections/llm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455

456456

457457
warnings.warn(
458-
"nemo.collections.llm is deprecated and will be removed in the next major NeMo FW container release."
458+
"nemo.collections.llm is deprecated and will be removed in the next major NeMo FW container release.",
459459
DeprecationWarning,
460460
stacklevel=2,
461461
)

nemo/collections/multimodal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import warnings
1616

1717
warnings.warn(
18-
"nemo.collections.multimodal is deprecated and will be removed in the next major NeMo FW container release."
18+
"nemo.collections.multimodal is deprecated and will be removed in the next major NeMo FW container release.",
1919
DeprecationWarning,
2020
stacklevel=2,
2121
)

nemo/collections/multimodal_autoregressive/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import warnings
1616

1717
warnings.warn(
18-
"nemo.collections.multimodal_autoregressive is deprecated and will be removed in the next major NeMo FW container release."
18+
"nemo.collections.multimodal_autoregressive is deprecated and will be removed in the next major NeMo FW container release.",
1919
DeprecationWarning,
2020
stacklevel=2,
2121
)

nemo/collections/nlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import warnings
3030

3131
warnings.warn(
32-
"nemo.collections.nlp is deprecated and will be removed in the next major NeMo FW container release."
32+
"nemo.collections.nlp is deprecated and will be removed in the next major NeMo FW container release.",
3333
DeprecationWarning,
3434
stacklevel=2,
3535
)

nemo/collections/vision/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import warnings
2828

2929
warnings.warn(
30-
"nemo.collections.nlp is deprecated and will be removed in the next major NeMo FW container release."
30+
"nemo.collections.nlp is deprecated and will be removed in the next major NeMo FW container release.",
3131
DeprecationWarning,
3232
stacklevel=2,
3333
)

nemo/collections/vlm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
import warnings
195195

196196
warnings.warn(
197-
"nemo.collections.vlm is deprecated and will be removed in the next major NeMo FW container release."
197+
"nemo.collections.vlm is deprecated and will be removed in the next major NeMo FW container release.",
198198
DeprecationWarning,
199199
stacklevel=2,
200200
)

nemo/lightning/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _is_slurm_interactive_mode():
8282
import warnings
8383

8484
warnings.warn(
85-
"nemo.lightning is deprecated and will be removed in the next major NeMo FW container release."
85+
"nemo.lightning is deprecated and will be removed in the next major NeMo FW container release.",
8686
DeprecationWarning,
8787
stacklevel=2,
8888
)

0 commit comments

Comments
 (0)