We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f081dc commit ab2eff7Copy full SHA for ab2eff7
src/diffusers/hooks/group_offloading.py
@@ -609,8 +609,6 @@ def _apply_group_offloading_block_level(
609
610
for i in range(0, len(submodule), num_blocks_per_group):
611
current_modules = submodule[i : i + num_blocks_per_group]
612
- start_idx = i
613
- end_idx = i + len(current_modules) - 1
614
group_id = f"{name}_{i}_{i+len(current_modules)-1}"
615
group = ModuleGroup(
616
modules=current_modules,
0 commit comments