MCPcopy Create free account
hub / github.com/togethercomputer/OpenChatKit / get_pp_module

Function get_pp_module

training/pipeline_parallel/dist_pp_utils.py:4–10  ·  view source on GitHub ↗
(args, config, device, use_dp)

Source from the content-addressed store, hash-verified

2
3
4def get_pp_module(args, config, device, use_dp):
5
6 if args.pp_mode == 'gpipe':
7 return GpipeAsync(args, config, device, use_dp)
8 else:
9 print("Not recognize this pipeline parallel mode.")
10 assert False
11

Callers 2

mainFunction · 0.90
mainFunction · 0.90

Calls 1

GpipeAsyncClass · 0.85

Tested by

no test coverage detected