Download torch/distributed/pipeline/sync/__init__.py from UMMJ/JSX_TTS: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/UMMJ/JSX_TTS/resolve/main/torch/distributed/pipeline/sync/__init__.py
- Command line
-
hf download hf://UMMJ/JSX_TTS/torch/distributed/pipeline/sync/__init__.py
-
curl -L -o __init__.py https://huggingface.co/UMMJ/JSX_TTS/resolve/main/torch/distributed/pipeline/sync/__init__.py
451 Bytes
| # Copyright 2019 Kakao Brain | |
| # | |
| # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. | |
| # | |
| # This source code is licensed under the BSD license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """A Pipe implementation in PyTorch.""" | |
| from .checkpoint import is_checkpointing, is_recomputing | |
| from .pipe import Pipe, WithDevice | |
| from .microbatch import NoChunk | |
| __all__ = ["Pipe", "is_checkpointing", "is_recomputing"] | |