Skip to content

Split ModelCheckpoint filepath into dirpath and filename #3583

@carmocca

Description

@carmocca

🚀 Feature

Previous discussions:

#3163 (comment)
#3163 (comment)
#3001

Idea:

Keep backwards compatibility by having filepath (old parameter) and dirpath, filename (new parameters)
- if filepath is set: old logic, show deprecated warning.
- if dirpath and filename are set: new logic.
- if filepath, dirpath, and filename are set: raise MisconfigurationException


cc @Borda @awaelchli @ananthsub @rohitgr7 @ydcjeff

Metadata

Metadata

Assignees

Labels

featureIs an improvement or enhancementhelp wantedOpen to be worked onlet's do it!approved to implement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions