__init__.py 451 B

123456789101112
  1. # Copyright 2019 Kakao Brain
  2. #
  3. # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
  4. #
  5. # This source code is licensed under the BSD license found in the
  6. # LICENSE file in the root directory of this source tree.
  7. """A Pipe implementation in PyTorch."""
  8. from .checkpoint import is_checkpointing, is_recomputing
  9. from .pipe import Pipe, WithDevice
  10. from .microbatch import NoChunk
  11. __all__ = ["Pipe", "is_checkpointing", "is_recomputing"]