Skip to content

Commit

Permalink
fix cpups training bug:executor trainer use_ps_gpu value;test=develop (
Browse files Browse the repository at this point in the history
  • Loading branch information
danleifeng committed Feb 28, 2024
1 parent 3a083c3 commit d804975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/base/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2480,7 +2480,7 @@ def _run_from_dataset(

reused_trainer = program._heter_pipeline_opt is not None or (
program._fleet_opt is not None
and program._fleet_opt.get("use_ps_gpu", True)
and program._fleet_opt.get("use_ps_gpu", False)
)

if reused_trainer is False:
Expand Down

0 comments on commit d804975

Please sign in to comment.