Backport #28560 by @lunny Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit 47f9b3f484)
47f9b3f484