def __getattr__(self, name):
        """Forward missing attributes to wrapped module."""
        try:
            return super().__getattr__(name)  # defer to nn.Module's logic
        except AttributeError:
            return getattr(self.module, name)
Forward missing attributes to wrapped module.
structured_prompting/fairseq-version/fairseq/fairseq/distributed/distributed_timeout_wrapper.py