Skip to content

Add run_name argument support for wandb integration #4046

@firefighter-eric

Description

@firefighter-eric

Describe the feature

Currently, the swift framework supports logging to Weights & Biases (wandb), but does not provide a CLI option to set a custom run name, like transformers does via the run_name parameter in TrainingArguments.

This makes it harder to organize and distinguish experiments in the W&B dashboard, especially when running multiple jobs via command line scripts.

Requested change

Add a new CLI argument:

–-run_name 

Additional context

swift sft --model qwen --run_name "exp_lr5e4_bs2" --other_args ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions