feat: Implement upscale functionality with ONNX models

- Added upscale operator to handle image upscaling by 4x using AI models.
- Introduced new jobs for upscale processing in the server, including debug and standard upscale jobs.
- Created a new ONNX model handler for upscale operations, supporting tiled inference and resource management.
- Updated tests to cover new upscale functionality, including input validation and output verification.
- Added documentation for the upscale feature, detailing usage and model options.
This commit is contained in:
2026-08-23 20:34:35 +08:00
parent 1613bd3194
commit 0cf04a13c6
66 changed files with 2156 additions and 1088 deletions

View File

@@ -1,4 +1,4 @@
from . import ben2, da3, moge2, realesrgan
from . import ben2, da3, moge2, upscale
def geometry_adapter(model_key):
@@ -9,6 +9,6 @@ __all__ = (
"ben2",
"da3",
"moge2",
"realesrgan",
"upscale",
"geometry_adapter",
)