mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-06 20:10:08 +00:00
[update] update text;
This commit is contained in:
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()};")
|
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()
|
@rerun_if_address_is_in_use()
|
||||||
def test_dx_dw_dist():
|
def test_dx_dw_dist():
|
||||||
# spawn(
|
|
||||||
# model_chunk_dx_dw_communication,
|
|
||||||
# nprocs=2,
|
|
||||||
# )
|
|
||||||
|
|
||||||
spawn(
|
spawn(
|
||||||
model_chunk_dx_dw_comm_interleaved,
|
model_chunk_dx_dw_comm_interleaved,
|
||||||
|
Loading…
Reference in New Issue
Block a user