Repository navigation
fix: honor --conv-direct for ESRGAN upscaler (#2163) - #2171
Vamsi-2581 wants to merge 4 commits into
Conversation
Parse explicit upscaler convolution assignments and apply them when the CLI or server creates the ESRGAN context. Preserve the legacy diffusion flag fallback, and document the assignment. Signed-off-by: Vamsi-1 <245859299+Vamsi-2581@users.noreply.github.com> Assisted-by: OpenAI Codex
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@Vamsi-2581, hello, maybe the parser could use same logic as for other conv-direct options, that is:
|
|
Thanks, the shared assignment path makes sense for runners initialized by |
|
@Vamsi-2581, since the upscaler is running after the generation, maybe just set inside diffusion_engine.cpp the And for upscale mode, skip all generation runners and parse conv-direct option only to configure |
Summary
Closes #2163.
Review follow-up
The latest commits address the maintainer's concern about examples calling core/ internals: the example now parses the assignment locally. Please review the updated parser and behavior, then re-review this PR.
Verification
Not run in this cloud workflow. The repository contribution guide says not to include test code in PRs. Human review of the updated implementation and the remaining CI check is pending.
AI assistance: OpenAI Codex assisted with implementation and review. Human review is pending.