Skip to content

The steps of "Training complete" #23

@AIxyz

Description

@AIxyz

I use different num GPUs to SFT, but when I get "Training complete" for (2GPUs, 4GPUs, 8GPUs), the progress bar hasn't finished loading of steps. @exlaw

# 1 GPU
python3 train.py --config configs/example.yaml

# 2 GPUs
accelerate launch --multi_gpu --num_processes 2 --mixed_precision bf16 train.py --config configs/example.yaml

# 4 GPUs
accelerate launch --multi_gpu --num_processes 4 --mixed_precision bf16 train.py --config configs/example.yaml

# 8 GPUs
accelerate launch --multi_gpu --num_processes 8 --mixed_precision bf16 train.py --config configs/example.yaml
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions