Skip to content

Allow nested batch_arg_name in BatchSizeFinder/Tuner.scale_batch_size() #20560

@ibro45

Description

@ibro45

Description & Motivation

Hi,

Would it be possible to allow dot-notation in, for example, tuner.scale_batch_size(model, batch_arg_name="dataloaders.train.batch_size")?

Perhaps some other features would benefit from this. It should be simple to achieve that through lightning_hasattr and lightning_getattr.

Pitch

No response

Alternatives

No response

Additional context

No response

cc @lantiga @Borda

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIs an improvement or enhancementtuner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions