(parser)
| 648 | |
| 649 | @staticmethod |
| 650 | def communicator(parser): |
| 651 | return parser.add_argument('--communicator', |
| 652 | type=str, |
| 653 | default='nccl', |
| 654 | choices=['nccl', 'native', 'cuda-ipc'], |
| 655 | help='Communication backend for multi-GPU inference. The "native" option is ' |
| 656 | 'deprecated and serves as an alias for "cuda-ipc"') |
| 657 | |
| 658 | @staticmethod |
| 659 | def enable_microbatch(parser): |
no outgoing calls
no test coverage detected