Skip to content

[BUG]: [chat] Unable to run train_prompts.sh by single card #3620

@zhang-yi-chi

Description

@zhang-yi-chi

🐛 Describe the bug

Missing definition for prompt_sampler and pretrain_sampler in examples/train_prompts.py when dist.get_world_size() == 1.

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