-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
checkpointingRelated to checkpointingRelated to checkpointingdiscussionIn a discussion stageIn a discussion stagetrainer: argument
Description
Proposed refactor
Do 1 of 2 options:
- Do not deprecate
resume_from_checkpoint
from Trainer's initialization as recommended in [checkpoint] Resolve 2 different checkpoint loading paths acrossfit
vsvalidate
/test
/predict
#9405 - Provide a public facing property that acts as a default in the case when
ckpt_path
is passed as None to trainer.fit. This property should be accessible after trainer initialization
Motivation
Our current design pattern is to initialization the Trainer object, and then inject our own logic into the Trainer class, and finally calling trainer.fit(model) without adding any additional arguments to fit(). Moving this argument from trainer's init to fit() will require us to rewrite all of our training scripts.
Pitch
See Proposed refactor
Metadata
Metadata
Assignees
Labels
checkpointingRelated to checkpointingRelated to checkpointingdiscussionIn a discussion stageIn a discussion stagetrainer: argument