diff --git a/torchrl/envs/utils.py b/torchrl/envs/utils.py index cd51b4fd23b..08615ea12ae 100644 --- a/torchrl/envs/utils.py +++ b/torchrl/envs/utils.py @@ -193,7 +193,6 @@ def _is_reset(key: NestedKey): expected = set(expected) self.validated = expected.intersection(actual) == expected if not self.validated: - raise RuntimeError warnings.warn( "The expected key set and actual key set differ. " "This will work but with a slower throughput than "