Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flybird11111 committed Aug 27, 2024
1 parent ddfc5cc commit 79274ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colossalai/pipeline/stage_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def get_stage_index(
stage_indices.append([num_layers_per_stage_accumulated[stage], num_layers_per_stage_accumulated[stage + 1]])
stage_indices.append(
[
num_layers_per_stage_accumulated[num_stages - stage - 1],
num_layers_per_stage_accumulated[num_stages - stage],
num_layers_per_stage_accumulated[2 * num_stages - stage - 1],
num_layers_per_stage_accumulated[2 * num_stages - stage],
]
)
return stage_indices
Expand Down

0 comments on commit 79274ef

Please sign in to comment.