Commit Graph

50 Commits (148b0116921ea2ca4e2724df4775ac61dbd3e6af)

Author SHA1 Message Date
Vladimir Mandic 640aff898c global lancosz
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-02-10 11:24:05 -05:00
Disty0 59911b776b OpenVINO enable Upscaler compile by default 2025-02-09 01:33:20 +03:00
Disty0 1acbabb276 Upate OpenVINO to PyTorch 2.6 and fix mismatched shapes error on too many resolution changes 2025-02-09 01:17:06 +03:00
Vladimir Mandic ae9b40c688 refactor to unify latent, resize and model based upscalers
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-18 14:29:40 -05:00
Disty0 8f35f09117 Don't reset dynamo on upcaler compile 2024-12-31 19:56:03 +03:00
Vladimir Mandic 554e5c8224 torch dynamic profiling 2024-05-16 18:40:18 -04:00
Vladimir Mandic 6cb20edf7e fix upscaler compile, diffusers enum, svd 2024-03-09 08:35:18 -05:00
Vladimir Mandic bf14e6ed6d fix mask missing options and system paths 2024-02-10 08:10:24 -05:00
Disty0 dbe4d2ff70 Cleanup upscalers 2024-01-27 02:54:39 +03:00
Disty0 d4ca4acd7d Unify settings 2024-01-13 00:44:03 +03:00
Vladimir Mandic fcdc53addc lazy load imports 2024-01-08 12:51:12 -05:00
Vladimir Mandic d2940a05d1 fix folder enum and refactor control ipadapter 2024-01-07 17:57:58 -05:00
Vladimir Mandic de80b74c64 uniform listdir and use threadpool to index loras 2024-01-06 15:15:23 -05:00
Vladimir Mandic 606e4d5c08 configurable hf cache 2023-11-18 08:46:59 -05:00
Disty0 bdc4bd846f IPEX fix torch.load 2023-11-18 15:42:53 +03:00
Vladimir Mandic d46dddd024 fix upscale and add some compile options 2023-11-17 16:59:33 -05:00
Vladimir Mandic 12cf688cbe authentication and locking improvements 2023-11-16 15:26:36 -05:00
Disty0 f5f14282fb OpenVINO move caches to compiled_model_state 2023-11-15 20:35:50 +03:00
Vladimir Mandic 35cd05b721 fix model compile 2023-11-13 12:35:00 -05:00
Vladimir Mandic 653d253bfe allow upscalers in subfolders 2023-11-10 08:34:35 -05:00
Vladimir Mandic dc436b1f9d fix 2023-11-10 08:28:33 -05:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -04:00
Vladimir Mandic c0ef02abba update scripts 2023-10-22 12:27:33 -04:00
Disty0 0c70e6e595 Add compile support for upscalers 2023-10-22 00:29:37 +03:00
Vladimir Mandic 079f5c9f2a add compatibility reexport for codeformers 2023-10-18 13:01:26 -04:00
Vladimir Mandic a29b740cee reset pipeline and handle hypertile errors 2023-10-14 17:03:49 -04:00
Vladimir Mandic 24a8699890 fixed 2023-10-12 12:47:33 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -04:00
Vladimir Mandic d67152cab4 cleanup upscaler settings 2023-09-27 09:24:23 -04:00
Vladimir Mandic 8ca79ad9b5 refactor upscalers 2023-09-20 13:07:29 -04:00
Vladimir Mandic f0ad70c80a fix upscalers 2023-06-06 08:48:11 -04:00
Vladimir Mandic 0a46f8ada7 enable per-extension update 2023-05-12 10:07:19 -04:00
Vladimir Mandic 1288aec459 correct metadata before/after 2023-05-09 09:09:31 -04:00
Vladimir Mandic 41182009cb switch some cmdopts to opts 2023-05-08 09:27:50 -04:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Vladimir Mandic ba02d0c2e8 fix realesrgan path, secondary sampler 2023-04-27 09:22:10 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic cb72d69970
Merge pull request #29 from AUTOMATIC1111/master
sync branches
2023-01-28 10:42:43 -05:00
Max Audron 5eee2ac398 add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
Vladimir Mandic 1377ab0a45
Merge pull request #19 from AUTOMATIC1111/master
sync branches
2023-01-18 08:20:34 -05:00
AUTOMATIC aede265f1d Fix unable to find Real-ESRGAN model info error (AttributeError: 'NoneType' object has no attribute 'data_path') #6841 #5170 2023-01-17 13:57:55 +03:00
Vladimir Mandic edf8074cac fix upscaler 2023-01-09 08:03:31 -05:00
AUTOMATIC 4dbde228ff make it possible to use fractional values for SD upscale. 2023-01-02 20:01:16 +03:00
AUTOMATIC 30b1bcc64e fix upscale loop erroneously applied multiple times 2022-11-04 22:56:18 +03:00
victorca25 c9bb33dd43 add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, add nearest 2022-10-30 12:54:06 +01:00
AUTOMATIC 77a719648d fix logic error in #1832 2022-10-09 13:48:04 +03:00
Milly 0609ce06c0 Removed duplicate definition model_path 2022-10-09 12:46:07 +03:00
AUTOMATIC a5e7b371d6 fix the bug with broken rescaling in PR 2022-09-30 10:38:48 +03:00
AUTOMATIC 8f1b315318 fix bugs in the PR 2022-09-30 09:46:52 +03:00
d8ahazard 0dce0df1ee Holy $hit.
Yep.

Fix gfpgan_model_arch requirement(s).
Add Upscaler base class, move from images.
Add a lot of methods to Upscaler.
Re-work all the child upscalers to be proper classes.
Add BSRGAN scaler.
Add ldsr_model_arch class, removing the dependency for another repo that just uses regular latent-diffusion stuff.
Add one universal method that will always find and load new upscaler models without having to add new "setup_model" calls. Still need to add command line params, but that could probably be automated.
Add a "self.scale" property to all Upscalers so the scalers themselves can do "things" in response to the requested upscaling size.
Ensure LDSR doesn't get stuck in a longer loop of "upscale/downscale/upscale" as we try to reach the target upscale size.
Add typehints for IDE sanity.
PEP-8 improvements.
Moar.
2022-09-29 17:46:23 -05:00