# What does this PR do?
1. Fixes #24724. Should be merged after https://github.com/huggingface/accelerate/pull/1753
2. Fixes #24568.  Should be merged after https://github.com/huggingface/accelerate/pull/1753

fsdp fixes and enhancements. # What does this PR do?
1. Fixes #24724. Should be merged after https://github.com/huggingface/accelerate/pull/1753
2. Fixes #24568.  Should be merged after https://github.com/huggingface/accelerate/pull/1753

x+)JMU041`01̢LY[͇.ӵ4yZ嗥%%3dޱޖQcC3Ǘ{^)K,I,))L*-I-fHeSwLwRwE޷j)PaFi[J*<zL/Je0t̨߳U輪ưhzO笠^?51Hf3Lk[Ks^n
&{ÀfT9~KzB<BC<AJ?#sbgqUl2Bz-6@G
oĚSdly%|<]]2_˙~-'^݅#
}*MNMIe1l<v2'TM+خK
^M[?@GQŧ%E]`9cL_^yGUR~$@٥ltD(񟬪b8쟷onj^v>HN-E^M]A\]zQ&q⸧jLٳ&HV*-*eg+0	\?W}d+I<|WέGw:<%f1TuUyq~d!_Li/d+ŦdrCZggm֏g9`W ϐH98WXٱ[j{5TYbyjq~nnI"3;TL|R{vC2C$R^A%J]N.Ӗ'6l>BSJ~rvjܟ],R.d3]+LYys!MɊKc ҩ9,;#-;k3:N~`~9Ono[nuBOI͉ON,J)fx+Ί~OZ/ob>*/$5)??Xݫ噞*/(?+5D$?7a"%;7jzrEӊ2J:Ru~<{aΫ|-UZRZr%Nv7]PytE`ѦZJUvy"[
DPv$J15'k~I۰yb&y短נK;D"_ZS̰OgIwum7;u
x+)JMU041`01̢LY[͇.ӵ4yZ嗥%%3dޱޖQcC3Ǘ{^)K,I,))L*-I-fHeSwLwRwE޷j)PaFi[J*<zL/Je0t̨߳U輪ưhzO笠^?51Hf3Lk[Ks^n
&{ÀfT9~KzB<BC<AJ?#sbgqUl2Bz-6@G
oĚSdly%|<]]2_˙~-'^݅#
}*MNMIe1l<v2'TM+خK
^M[?@GQŧ%E]`9cL_^yGUR~$@٥ltD(񟬪b8쟷onj^v>HN-E^M]A\]zQ&q⸧jLٳ&HV*-*eg+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