Skip to content

[cherry-pick]Fix checkpoint of Light-NAS #18332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

wanghaoshuang
Copy link
Contributor

Add getstate function to Light-NAS strategy to avoid pickling sockets instance while saving checkpoints.

Socket can't be pickled.

test=release/1.5
@wanghaoshuang wanghaoshuang changed the title Fix checkpoint of Light-NAS [cherry-pick]Fix checkpoint of Light-NAS Jun 25, 2019
Copy link
Contributor

@SunGaofeng SunGaofeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@wanghaoshuang wanghaoshuang merged commit e0cb671 into PaddlePaddle:release/1.5 Jun 26, 2019
@wanghaoshuang wanghaoshuang deleted the fix_nas branch May 20, 2022 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants