Commit fa9ff03
authored
Fix Text2VideoPipeline crash with guidance_scale=1 when using default constructor (openvinotoolkit#3316)
Fixed regression where Text2VideoPipeline(model_dir, device) followed by
generate(guidance_scale=1.0) crashes with an assertion error. The
direct-compile constructor incorrectly assumed the model was compiled
for CFG based on the default config's guidance_scale, even though no
reshape() was called and the model has dynamic shapes. Also added a
regression test for this scenario.1 parent d8d6477 commit fa9ff03
File tree
2 files changed
+13
-2
lines changed- src/cpp/src/video_generation
- tests/python_tests
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | 413 | | |
416 | 414 | | |
417 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
235 | 248 | | |
236 | 249 | | |
237 | 250 | | |
| |||
0 commit comments