From b0faafe01297ed64347ab1c78bbbb258879ac334 Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Tue, 16 Apr 2024 13:25:28 -0400 Subject: [PATCH 1/2] filter neptune warning --- docs/source/trainer/file_uploading.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/trainer/file_uploading.rst b/docs/source/trainer/file_uploading.rst index 1f3d727b48..7fb1775b9e 100644 --- a/docs/source/trainer/file_uploading.rst +++ b/docs/source/trainer/file_uploading.rst @@ -168,6 +168,12 @@ Neptune File upload The :class:`~composer.loggers.neptune_logger.NeptuneLogger` API Reference. +.. testsetup:: + + import warnings + + warnings.filterwarnings(action="ignore", message=".*NVML Shared Library Not Found.*") + .. testcode:: :skipif: not _NEPTUNE_INSTALLED From 42d1364635c5fdef1a24faae2addf0bbd98c757c Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Tue, 16 Apr 2024 13:37:36 -0400 Subject: [PATCH 2/2] skip true --- docs/source/trainer/file_uploading.rst | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/source/trainer/file_uploading.rst b/docs/source/trainer/file_uploading.rst index 7fb1775b9e..d6ad89d476 100644 --- a/docs/source/trainer/file_uploading.rst +++ b/docs/source/trainer/file_uploading.rst @@ -168,14 +168,8 @@ Neptune File upload The :class:`~composer.loggers.neptune_logger.NeptuneLogger` API Reference. -.. testsetup:: - - import warnings - - warnings.filterwarnings(action="ignore", message=".*NVML Shared Library Not Found.*") - .. testcode:: - :skipif: not _NEPTUNE_INSTALLED + :skipif: True from composer.loggers import NeptuneLogger from composer import Trainer