git checkout v2.4.0
git pull https://gitee.com/tianye0806/pytorch.git cherry-pick-1728540605
git push origin v2.4.0