Skip to content

save checkpoint issue in nested trainer #7669

Discussion options

You must be logged in to vote

Hi @eddiecong, the trainer is not pickleable and so you're probably correct that it's to do with your nested trainer code. You could override the on_save_checkpoint hook and then delete the trainer from the checkpoint as suggested by this answer: #3444 (comment)

Hope that helps 😃

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eddiecong
Comment options

@GuillaumeTong
Comment options

Answer selected by eddiecong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants