We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be85c6 commit 85d1e70Copy full SHA for 85d1e70
torchrl/_utils.py
@@ -67,7 +67,7 @@
67
_os_is_windows = sys.platform == "win32"
68
RL_WARNINGS = strtobool(os.environ.get("RL_WARNINGS", "1"))
69
if RL_WARNINGS:
70
- warnings.simplefilter("once", DeprecationWarning)
+ warnings.filterwarnings("once", category=DeprecationWarning, module="torchrl")
71
72
BATCHED_PIPE_TIMEOUT = float(os.environ.get("BATCHED_PIPE_TIMEOUT", "10000.0"))
73
0 commit comments