From c671d8ce511ede83245b3c06badc78e7c5ed636b Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 13:08:04 +0000 Subject: [PATCH] [Test] Ignore annoying jit_utils warning with device context manager ghstack-source-id: 23fffb80e79bb839b34178cf5e20faea7a8115c5 Pull Request resolved: https://github.com/pytorch/tensordict/pull/1151 --- test/test_tensordict.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_tensordict.py b/test/test_tensordict.py index de9fad1e7..23f139dd3 100644 --- a/test/test_tensordict.py +++ b/test/test_tensordict.py @@ -133,6 +133,9 @@ pytest.mark.filterwarnings( "ignore:The content of the stacked NonTensorData objects matched in value but not identity" ), + pytest.mark.filterwarnings( + "ignore:No PYTORCH_KERNEL_CACHE_PATH or HOME environment variable set" + ), ] mp_ctx = "spawn"