Skip to content
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

[fleet_executor] Add interceptor gc #37889

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

wangxicoding
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

Add interceptor gc

@paddle-bot-old
Copy link

paddle-bot-old bot commented Dec 6, 2021

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

}
// The carrier will be always waiting for outside initializer
// since there is no interceptor has been created during auto init
creating_flag_mutex_.lock();
Copy link
Contributor

Choose a reason for hiding this comment

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

为啥把这个放在外面了。。。
之前的判断逻辑是,如果没有默认的config,那么一定要是外部创建,外部就无需多调用一次SetCreatingFlag操作。这么改完是不是那几个单测都要set一下flag为true?

Copy link
Contributor

@FeixLiu FeixLiu left a comment

Choose a reason for hiding this comment

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

LGTM

@wangxicoding wangxicoding merged commit 6b48dfe into PaddlePaddle:develop Dec 8, 2021
@wangxicoding wangxicoding deleted the add_interceptor_gc branch December 8, 2021 06:19
Zjq9409 pushed a commit to Zjq9409/Paddle that referenced this pull request Dec 10, 2021
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