SIGN IN SIGN UP

fix(pipeline): preserve model.generation_config precedence over pipeline defaults (#47752) (#47953)

* fix(pipeline): preserve model.generation_config precedence over pipeline defaults (#47752)

* address review feedback: simplify generation_config merge logic and expand priority order unit tests

* Update src/transformers/pipelines/base.py

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>

---------

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
N
Nithin committed
bc7772617f789287d7b754478bab38799192765a
Parent: ff09c38
Committed by GitHub <noreply@github.com> on 8/18/2026, 2:02:11 PM