revert: enable return_outputs when necessary

pull/5842/head
Wenhao Chen 9 months ago committed by アマデウス
parent 856b39f69d
commit 32e642bf40

@ -181,6 +181,7 @@ def run_forward_backward_with_hybrid_plugin(
data_iter = iter([data]) data_iter = iter([data])
sharded_output = booster.execute_pipeline( sharded_output = booster.execute_pipeline(
data_iter, sharded_model, _criterion, sharded_optimizer, return_loss=True, return_outputs=True
data_iter, data_iter,
sharded_model, sharded_model,
_criterion, _criterion,

Loading…
Cancel
Save