From 6fb27c45263bd184b155d7ade593abf41c80cc35 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 24 Jul 2019 19:29:51 -0400 Subject: [PATCH] pt dpp some ignores --- pytorch_lightning/pt_overrides/override_data_parallel.py | 2 +- setup.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pytorch_lightning/pt_overrides/override_data_parallel.py b/pytorch_lightning/pt_overrides/override_data_parallel.py index 522955e86d..89b550fdbb 100644 --- a/pytorch_lightning/pt_overrides/override_data_parallel.py +++ b/pytorch_lightning/pt_overrides/override_data_parallel.py @@ -112,7 +112,7 @@ class LightningDistributedDataParallel(DistributedDataParallel): return output -def parallel_apply(modules, inputs, kwargs_tup=None, devices=None): +def parallel_apply(modules, inputs, kwargs_tup=None, devices=None): # pragma: no cover r"""Applies each `module` in :attr:`modules` in parallel on arguments contained in :attr:`inputs` (positional) and :attr:`kwargs_tup` (keyword) on each of :attr:`devices`. diff --git a/setup.cfg b/setup.cfg index 01c0b04981..f090474258 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,6 +33,7 @@ exclude_lines = raise Exception warnings print + raise RuntimeError omit = pytorch_lightning/callbacks/pt_callbacks.py