Skip to content

Fix UnboundLocalError in UNet2DModel when wrapped in DataParallel#13990

Open
Whning0513 wants to merge 1 commit into
huggingface:mainfrom
Whning0513:fix-issue-13789
Open

Fix UnboundLocalError in UNet2DModel when wrapped in DataParallel#13990
Whning0513 wants to merge 1 commit into
huggingface:mainfrom
Whning0513:fix-issue-13789

Fix #13789: UNet2DModel dtype 属性在 nn.DataParallel 下报 UnboundLocalError

e14301b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
size-label
succeeded Jun 19, 2026 in 5s