Skip to content

[BUG]: training GPT2-S using a single card on colab, AssertionError: You should use zero_ddp_wrapper first #3423

@LivinLuo1993

Description

@LivinLuo1993

🐛 Describe the bug

when training GPT2-S using a single card on colab, !torchrun --standalone --nproc_per_node 1 benchmark_gpt_dummy.py --model s --strategy colossalai_gemini_cpu --experience_batch_size 1 --train_batch_size 1
meetting a bug "AssertionError: You should use zero_ddp_wrapper first
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 21342) of binary: /usr/bin/python3"

image

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions