Skip to content

Rename checkpoint_callback to enable_checkpointing in Trainer constructor #9665

@daniellepintz

Description

@daniellepintz

Proposed refactoring or deprecation

Rename checkpoint_callback to enable_checkpointing in Trainer constructor

Motivation

checkpoint_callback in the Trainer constructor serves as a flag to enable/disable checkpointing. This can be confusing to users, especially since the Trainer has a checkpoint_callback property which is what is sounds like, an instance of the callback ModelCheckpoint. A more appropriate arg name would be enable_checkpointing

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions