Skip to content

Commit ab2eff7

Browse files
committed
update
1 parent 4f081dc commit ab2eff7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/diffusers/hooks/group_offloading.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,6 @@ def _apply_group_offloading_block_level(
609609

610610
for i in range(0, len(submodule), num_blocks_per_group):
611611
current_modules = submodule[i : i + num_blocks_per_group]
612-
start_idx = i
613-
end_idx = i + len(current_modules) - 1
614612
group_id = f"{name}_{i}_{i+len(current_modules)-1}"
615613
group = ModuleGroup(
616614
modules=current_modules,

0 commit comments

Comments
 (0)