style: cargo fmt --workspace (whitespace/wrapping only, no semantic change)
Whole-workspace rustfmt pass picked up while iterating on Mamba GPU backward work. Verified formatting-only via diff sampling; no logic changed. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
@@ -345,9 +345,11 @@ mod tests {
|
||||
let scheduler = PipelineScheduler::new(config);
|
||||
let schedule = scheduler.schedule();
|
||||
|
||||
let has_higher_stage = schedule.iter().flatten().any(|op| matches!(op,
|
||||
PipelineOp::Forward { stage, .. } if *stage >= 4
|
||||
));
|
||||
let has_higher_stage = schedule.iter().flatten().any(|op| {
|
||||
matches!(op,
|
||||
PipelineOp::Forward { stage, .. } if *stage >= 4
|
||||
)
|
||||
});
|
||||
assert!(
|
||||
has_higher_stage,
|
||||
"interleaved schedule must reference virtual stages >= num_stages"
|
||||
|
||||
Reference in New Issue
Block a user