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 8ca701f commit 8e3fb98Copy full SHA for 8e3fb98
tensordict/nn/cudagraphs.py
@@ -211,7 +211,7 @@ def __init__(
211
if not strtobool(os.environ.get("EXCLUDE_TD_FROM_PYTREE", "0")):
212
warnings.warn(
213
f"Tensordict is registered in PyTree. This is incompatible with {self.__class__.__name__}. "
214
- f"Removing TDs from PyTree. To silence this warning, call tensordict.nn.functional_module._exclude_td_from_pytree().set() "
+ f"Removing TDs from PyTree. To silence this warning, call tensordict.nn.functional_modules._exclude_td_from_pytree().set() "
215
f"or set the environment variable `EXCLUDE_TD_FROM_PYTREE=1`. "
216
f"This operation is irreversible."
217
)
0 commit comments