Skip to content

Fix use-after-free by making GeneratorParams co-own its Model - #2270

Merged
David Fan (jiafatom) merged 3 commits into
mainfrom
fix/generatorparams-model-lifetime
Jul 13, 2026
Merged

Fix use-after-free by making GeneratorParams co-own its Model#2270
David Fan (jiafatom) merged 3 commits into
mainfrom
fix/generatorparams-model-lifetime

Address review: rename model_owner_ to model_

339ef81
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Integration Tests (Test · Windows x64 cuda · Phi-4-mini-instruct) succeeded Jul 10, 2026 in 6m 46s

Test · Windows x64 cuda · Phi-4-mini-instruct succeeded