mirror of https://github.com/hpcaitech/ColossalAI
[update] update text;
parent
203033ea16
commit
107230d27a
|
@ -1176,12 +1176,16 @@ def model_chunk_dx_dw_comm_interleaved(
|
|||
print(f"After del: {torch.cuda.memory_allocated()/1024**3 :.3f} GB on device {stage_manager.get_rank()};")
|
||||
|
||||
|
||||
def run_fwd_bwd(
|
||||
rank: int,
|
||||
world_size: int,
|
||||
port: int,
|
||||
):
|
||||
pass
|
||||
|
||||
|
||||
@rerun_if_address_is_in_use()
|
||||
def test_dx_dw_dist():
|
||||
# spawn(
|
||||
# model_chunk_dx_dw_communication,
|
||||
# nprocs=2,
|
||||
# )
|
||||
|
||||
spawn(
|
||||
model_chunk_dx_dw_comm_interleaved,
|
||||
|
|
Loading…
Reference in New Issue