From 1a28f9bf349b91d1e8f71f5a4ef188a79a353e40 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Tue, 24 Jan 2023 08:44:52 -0600 Subject: [PATCH] chore(release): 0.5.0 --- CHANGELOG.md | 128 +++++++++++++++++++++++++++++++++++++++++++++++ api/setup.py | 2 +- gui/package.json | 2 +- 3 files changed, 130 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0b6fa4..27ef0636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,134 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [0.5.0](https://github.com/ssube/onnx-web/compare/v0.4.0...v0.5.0) (2023-01-24) + + +### Features + +* add additional Real ESRGAN models, strings for them ([d52c22e](https://github.com/ssube/onnx-web/commit/d52c22e58b4b62463c3d14bbbe930f1b90640209)) +* add fill color control to inpaint ([3679735](https://github.com/ssube/onnx-web/commit/3679735d86e982c18ae9534118567b2a24990868)) +* add outscaling option ([8d3ebed](https://github.com/ssube/onnx-web/commit/8d3ebede5a402499f285f1b06d367c8e9b8b2126)) +* add ROCm provider to list ([#10](https://github.com/ssube/onnx-web/issues/10)) ([3bcd7a8](https://github.com/ssube/onnx-web/commit/3bcd7a8156328dbc0087efc12450abf22df443fd)) +* add upscale controls to client, params to server ([d1e4fa9](https://github.com/ssube/onnx-web/commit/d1e4fa9cf1da5188b71d34d8a1753ba0e6186009)) +* add upscaling tab and endpoint ([4aeee60](https://github.com/ssube/onnx-web/commit/4aeee60b19ac843e703f1eaf7ca50353eb386ee4)) +* add version check to parameters ([be3a17b](https://github.com/ssube/onnx-web/commit/be3a17b2ffa9f78ab96a9a1659ce22a0ab0279d2)) +* **api:** add basic upscaling ([77cb84c](https://github.com/ssube/onnx-web/commit/77cb84c60eb3272cb16525c4f6157367342b1726)) +* **api:** add conversion script for models ([e59449f](https://github.com/ssube/onnx-web/commit/e59449fec1137cd1e8dfe688330b86f6154f9da0)) +* **api:** add ESRGAN/GFPGAN deps ([9f43837](https://github.com/ssube/onnx-web/commit/9f4383716e04464825e032b0ead3c4efc1cbf64f)) +* **api:** add ONNX implementation of Real ESRGAN net ([9519fc1](https://github.com/ssube/onnx-web/commit/9519fc16e993f314118cd4c9597e395fccc4300b)) +* **api:** add option for HuggingFace token in convert script ([45a3ddc](https://github.com/ssube/onnx-web/commit/45a3ddc2a9dd2a5ccacf8bace8d681f16f8d81f7)) +* **api:** add strength param to inpaint, remove same from upscale ([5ba752e](https://github.com/ssube/onnx-web/commit/5ba752e526ff4cb04baceeb8ee97bc9961350345)) +* **api:** add support for Stable Diffusion models to conversion script ([decb281](https://github.com/ssube/onnx-web/commit/decb2813c6078664661138273d34f4e0b90ea6fb)) +* **api:** backend support for multiple GPUs in diffusion pipelines ([a868c8c](https://github.com/ssube/onnx-web/commit/a868c8cf6bd249571700b0d1fbf6b2ea2cc54d09)) +* **api:** return all types of models ([ee6308a](https://github.com/ssube/onnx-web/commit/ee6308a0918a865bfde2615d9a75e86f8796bb89)) +* **api:** split up test scripts for diffusers and real esrgan ([48963fa](https://github.com/ssube/onnx-web/commit/48963fa591413905403adc343b8ac2124ec0eca5)) +* **api:** start adding model sources to convert script ([4d0898a](https://github.com/ssube/onnx-web/commit/4d0898a52cf95566101a7085474d0607bdc6872a)) +* **build:** add DirectML and ROCm images ([b18567c](https://github.com/ssube/onnx-web/commit/b18567ca43fab9408730e08926b0eeb43fb7ff8e)) +* **build:** compile ONNX runtime with ROCm support ([a8bc371](https://github.com/ssube/onnx-web/commit/a8bc3714785bfc9b495406ef16366142c02f3c7a)) +* **build:** run convert script when container starts ([a8769a5](https://github.com/ssube/onnx-web/commit/a8769a5919ead33d3328ff75ca09bc68168933ab)) +* **docs:** add platform/model compatibility list ([b22f156](https://github.com/ssube/onnx-web/commit/b22f15600bb8f80a6c906fb25471d1f4a2ff7314)) +* **gui:** add API server to settings ([d402db8](https://github.com/ssube/onnx-web/commit/d402db85092b9923b7a16b7b26ee1c035809ab4b)) +* **gui:** add blend strength to inpainting controls ([691aeab](https://github.com/ssube/onnx-web/commit/691aeabfd93dc6df801306c8dee37d0a8be6e7d2)) +* **gui:** add invert button to inpaint mask (fixes [#65](https://github.com/ssube/onnx-web/issues/65)) ([9e31445](https://github.com/ssube/onnx-web/commit/9e31445ccc36f9a47496331d307678faf793cb9a)) +* **gui:** add menus for upscaling and correction models ([0080d86](https://github.com/ssube/onnx-web/commit/0080d86d91fbb476684a0e8614a3950c25cede06)) +* **gui:** add validation to numeric inputs, token counter to prompt ([a1b16bb](https://github.com/ssube/onnx-web/commit/a1b16bb435f1890d83175ad7317bc42693efc15e)) +* **run:** add Docker Compose files for API containers ([2a6df0f](https://github.com/ssube/onnx-web/commit/2a6df0f3aa52585b6dfb15c02bcb2cf66160c388)) + + +### Bug Fixes + +* **api:** actually return the filtered list of platforms ([facd69f](https://github.com/ssube/onnx-web/commit/facd69f452d5dc921da5a220c4b515833e443cb3)) +* **api:** add an option to skip certain models during conversion ([556d5b8](https://github.com/ssube/onnx-web/commit/556d5b84d6b7e969b4249a6f2819959e2c571843)) +* **api:** add extra models to convert script ([e083411](https://github.com/ssube/onnx-web/commit/e0834110fc31e9d8f42b5a2b1e624a7fdf425ad4)) +* **api:** add missing params to load stub ([fe65746](https://github.com/ssube/onnx-web/commit/fe657468bf3ae6011690eac1de07a1842dc9e82f)) +* **api:** check if output file exists for ready endpoint ([#57](https://github.com/ssube/onnx-web/issues/57)) ([b2e7ad5](https://github.com/ssube/onnx-web/commit/b2e7ad599ff0e866ea729538db8ab6a93b6976bb)) +* **api:** check image size before blending ([08dbc0c](https://github.com/ssube/onnx-web/commit/08dbc0c7380c5110361d2be19c5c684b96a3266e)) +* **api:** convert back to PIL after upscaling ([45d65d1](https://github.com/ssube/onnx-web/commit/45d65d1342d9d1b63f0aee06fc760c0bc9ebff40)) +* **api:** convert image to numpy before upscaling ([1fe6fa9](https://github.com/ssube/onnx-web/commit/1fe6fa91fb051f9f82aa63e6b1e8d5d7c6a52587)) +* **api:** copy checkpoints into correct location, handle more models ([353a655](https://github.com/ssube/onnx-web/commit/353a65513f273b5530a04fb55dc9ef85b4b57948)) +* **api:** correct denoise max, add missing face strength param ([227056d](https://github.com/ssube/onnx-web/commit/227056d97686480a41b1fb5d8f282e26e0737956)) +* **api:** correct name for kwargs ([9bff64c](https://github.com/ssube/onnx-web/commit/9bff64c7c9e1cad7440e6484550ff3a4006974bf)) +* **api:** correct output paths, read strength from params ([a76793d](https://github.com/ssube/onnx-web/commit/a76793d1058fce99f7abfbe4414834b68bdce0f7)) +* **api:** correct stub method name ([f493246](https://github.com/ssube/onnx-web/commit/f493246192ae33218ae9c0afb1516afded54cf73)) +* **api:** dedupe models after removing extension ([c0ca7cf](https://github.com/ssube/onnx-web/commit/c0ca7cf62f85eb7a8c16d9d9ddcf8c2a39017d5e)) +* **api:** enable tiling when fixing faces after upscaling ([ba3eff5](https://github.com/ssube/onnx-web/commit/ba3eff5c038e05be682eab126e1cbdc194ac5a14)) +* **api:** explicitly delete pipeline results after saving ([dddadfc](https://github.com/ssube/onnx-web/commit/dddadfc9a256f1cd8ebbcd9313618b70a61dc7ce)) +* **api:** filter platforms based on available providers (fixes [#69](https://github.com/ssube/onnx-web/issues/69)) ([c768cd8](https://github.com/ssube/onnx-web/commit/c768cd8f42d31787160cff5751b90f7cbbe2d63d)) +* **api:** generate correct latents for non-square images ([86fb2ae](https://github.com/ssube/onnx-web/commit/86fb2ae28e2cdd2cd04d29a6095cdb0718d81cfb)) +* **api:** get all server paths from environ ([4809e00](https://github.com/ssube/onnx-web/commit/4809e009820dc28768edc5e2242e869b9a281541)) +* **api:** get ESRGAN/GFPGAN paths from server context, clean up test scripts ([120056f](https://github.com/ssube/onnx-web/commit/120056f878593989d83fdf0c5f8f59bcf8f8d0bc)) +* **api:** get upscale params from request ([1f0c19a](https://github.com/ssube/onnx-web/commit/1f0c19af04e403f0ae78181544d0daddc4a967f6)) +* **api:** handle parameters correctly when list of valid values is empty (fixes [#72](https://github.com/ssube/onnx-web/issues/72)) ([2921eba](https://github.com/ssube/onnx-web/commit/2921eba1f641891313daa9df7717f8c014296db5)) +* **api:** include model scale ([dba6113](https://github.com/ssube/onnx-web/commit/dba6113c0983d1796b6550e7435bdb66897a9852)) +* **api:** join globs to avoid py 3.10-only args ([0273dea](https://github.com/ssube/onnx-web/commit/0273dea2a68196f60a352da06aa10d7d14c3a322)) +* **api:** leave pipelines on default device unless specified ([505cacf](https://github.com/ssube/onnx-web/commit/505cacfbc2a588f4890906268fed8e6062b9fa1c)) +* **api:** load upscaling model from models dir ([806503c](https://github.com/ssube/onnx-web/commit/806503c7091f5c082bd65c24aa2a25bce48833c2)) +* **api:** look up noise coordinates correctly ([1283bc3](https://github.com/ssube/onnx-web/commit/1283bc3d3f8ba40bd6c77ddb7bbe750b33456647)) +* **api:** pass hardware platform to upscaling pipeline ([#77](https://github.com/ssube/onnx-web/issues/77)) ([f319e6a](https://github.com/ssube/onnx-web/commit/f319e6a49b7ad5f27e7410b6e77a51756782a116)) +* **api:** pass image size to upscale job ([cf6a151](https://github.com/ssube/onnx-web/commit/cf6a15154890aa5180dc8826f83af04b7969893c)) +* **api:** pass model to ONNX instances ([d406cd4](https://github.com/ssube/onnx-web/commit/d406cd4e99c92955c5e8fc5be2b2a3d4483d5e2d)) +* **api:** pass txt2img dimensions in correct order ([be16f33](https://github.com/ssube/onnx-web/commit/be16f33151760ec64fccdf7b245cd0cd11e1000b)) +* **api:** pass upscale params when creating RESRGAN ([091c4e6](https://github.com/ssube/onnx-web/commit/091c4e6109e5e276ac59228df0c091fc9e583477)) +* **api:** premultiply noise before compositing ([b496e71](https://github.com/ssube/onnx-web/commit/b496e7121ce04e60b8126d5b6b59a91c51b84630)) +* **api:** put conversion RNG on training device ([#67](https://github.com/ssube/onnx-web/issues/67)) ([abc1ae5](https://github.com/ssube/onnx-web/commit/abc1ae511245649e3c7498e1564f5330b72c71b0)) +* **api:** report accurate image size when upscaling ([9a2e7ad](https://github.com/ssube/onnx-web/commit/9a2e7adfb89a96a91caeb2436c29873c9b70dc45)) +* **api:** report accurate sizes ([4bf6875](https://github.com/ssube/onnx-web/commit/4bf68759d72b089082ddd490b110f91f0c4e5de9)) +* **api:** resolve face correction model relative to model path ([5a01fe4](https://github.com/ssube/onnx-web/commit/5a01fe4cb0c40fac4bf7511a716f5be6badf8302)) +* **api:** return structured error when image parameters are missing (fixes [#76](https://github.com/ssube/onnx-web/issues/76)) ([b62c7d3](https://github.com/ssube/onnx-web/commit/b62c7d3742a014f44ce199b78b6f70dc8e29844b)) +* **api:** run GC after changing pipeline ([#58](https://github.com/ssube/onnx-web/issues/58)) ([4a3bb97](https://github.com/ssube/onnx-web/commit/4a3bb9734218ede79f632b208a54da510d01ea00)) +* **api:** skip upscaling if scale is 1 ([b7c85aa](https://github.com/ssube/onnx-web/commit/b7c85aa51b36a3a01a369835629b745604515855)) +* **api:** sort models without discarding ([b09feda](https://github.com/ssube/onnx-web/commit/b09feda47427a6a2d79c7006a5d3d6f1cab7bc8d)) +* **api:** trim model names relative to model path ([4472a6f](https://github.com/ssube/onnx-web/commit/4472a6fd24fe59359009499b2f105d9ee2168c81)) +* **api:** unload old model before loading next one ([9e26ee5](https://github.com/ssube/onnx-web/commit/9e26ee5b8541317c44d471a498261a2053628ddc)) +* **api:** use correct base path for debug images ([634d2e8](https://github.com/ssube/onnx-web/commit/634d2e8ce63f57b108c09a8c2faa32274e4a5d1a)) +* **api:** use correct coordinate system for outpainting ([a5d3ffc](https://github.com/ssube/onnx-web/commit/a5d3ffcc737e76ad8acacfded05927782737172c)) +* **api:** use correct scale for background correction ([073ff8e](https://github.com/ssube/onnx-web/commit/073ff8e02f993ea3348a9564a94bda1a04ad514d)) +* **api:** use training device when loading Real ESRGAN model ([#67](https://github.com/ssube/onnx-web/issues/67)) ([8c9c99e](https://github.com/ssube/onnx-web/commit/8c9c99eeb549e3748465f2cf8bbfdca1b62d7508)) +* **api:** validate request params better, esp model path ([876b54a](https://github.com/ssube/onnx-web/commit/876b54a7a87d6610a1ea0223c5e315e73d6aa2f1)) +* **build:** add cv2 deps to CPU image ([77d68bf](https://github.com/ssube/onnx-web/commit/77d68bf6ac7fe27b2357da90d4fd0356fa3dc8b9)) +* **build:** add cv2 deps to CUDA and ROCm images ([52484e6](https://github.com/ssube/onnx-web/commit/52484e6e1f85973ec2eeb69cd64288340a814ad6)) +* **build:** add launcher script and use for API images ([88f9b62](https://github.com/ssube/onnx-web/commit/88f9b624ec6bd844209e9aadc38b9dc23702d5c1)) +* **build:** add params file to other images ([5286c4f](https://github.com/ssube/onnx-web/commit/5286c4f596e6ffc027107cfc707f4c9aa341f858)) +* **build:** correct venv path in containers ([348a4e2](https://github.com/ssube/onnx-web/commit/348a4e2405529922b5db3b1b109f06aedb771d51)) +* **build:** install prebuilt ROCm ORT ([5c026c4](https://github.com/ssube/onnx-web/commit/5c026c43d4336a527a8b318bb321532c2b4085b2)) +* **build:** remove DirectML container until a package can be found ([c7bcc62](https://github.com/ssube/onnx-web/commit/c7bcc62a3ebb8ec8cbeaff82e60ac00d543a89c7)) +* **build:** share layers from main image in feature branches ([455bfdd](https://github.com/ssube/onnx-web/commit/455bfddbc112fcc24b2f7dafee70912daebee511)) +* **build:** use and cache venv for API job ([46e0fe2](https://github.com/ssube/onnx-web/commit/46e0fe2cf72795efd63c196fa0e1521973fe2fbe)) +* **build:** use cached docker images to avoid rebuilding layers ([3f1bc0e](https://github.com/ssube/onnx-web/commit/3f1bc0e1b0fe64cc34d911a70e37fb3b4ac9e874)) +* **docs:** add podman rocm command to admin guide ([fe9206c](https://github.com/ssube/onnx-web/commit/fe9206c894ec250e31d05347c1dc92bde22bc595)) +* **docs:** add server admin guide, cross-link with user guide ([5d0aa60](https://github.com/ssube/onnx-web/commit/5d0aa60f1b6a3e28b681c6474230133b335df0a4)) +* **docs:** list correct packages in readme, move errors to user guide ([b1e7ab0](https://github.com/ssube/onnx-web/commit/b1e7ab0a3e51baaddc276857c3a25f92d379f39c)) +* **docs:** note that image parameters are not persisted when reloading ([700d31e](https://github.com/ssube/onnx-web/commit/700d31e2b87674f4063c4cc361d6e7e1bc81c6a5)) +* **gui:** add server version indicator to settings ([7b49b55](https://github.com/ssube/onnx-web/commit/7b49b551d56ca51bb5a5b0658fbc545228b46a4e)) +* **gui:** align background image when it is larger than canvas ([99982c6](https://github.com/ssube/onnx-web/commit/99982c6a1920f2d4683477ca37b92fb61398c311)) +* **gui:** bump state version for new output path ([246aa3d](https://github.com/ssube/onnx-web/commit/246aa3dd15431ed9b6137f52b1b9403dca4613dd)) +* **gui:** correct labels for Nvidia platforms ([0afd25f](https://github.com/ssube/onnx-web/commit/0afd25f25b69bebddc4ae0833cdf6d022e8f61dd)) +* **gui:** correct menu state for additional models ([7cd0345](https://github.com/ssube/onnx-web/commit/7cd0345cd237f3541c40eb95f44d7d11c34d95ab)) +* **gui:** correct state for face correction button ([3a3e92a](https://github.com/ssube/onnx-web/commit/3a3e92abb6e5a9609b12ff868fc9656de5dbdae1)) +* **gui:** disable face correction strength slider when option is not selected ([7c60621](https://github.com/ssube/onnx-web/commit/7c60621fe2f0a2683604ec2c4f55574be1de85f1)) +* **gui:** do not persist upscale image source ([dc84bec](https://github.com/ssube/onnx-web/commit/dc84becf693d6acb6b4d23c0059b02b8d7103d99)) +* **gui:** draw single clicks and avoid blending mask with itself ([5e23f84](https://github.com/ssube/onnx-web/commit/5e23f84e5a20053f935e9be9eef9d87c028fc926)) +* **gui:** emphasize the generate buttons, align fill color picker ([64663f5](https://github.com/ssube/onnx-web/commit/64663f5eeca8d2f37680c38b08a5db1adc405308)) +* **gui:** make all image cards show at the default size ([20ed8f6](https://github.com/ssube/onnx-web/commit/20ed8f60dc0e8dde61627527025e10b12cf871f9)) +* **gui:** mask canvas should not tile small images ([f1484dc](https://github.com/ssube/onnx-web/commit/f1484dc075fca73bf8a908d8c06b4ced945f0957)) +* **gui:** only enable generate buttons after image sources exist ([#64](https://github.com/ssube/onnx-web/issues/64)) ([4898197](https://github.com/ssube/onnx-web/commit/4898197f7738c17c9ac19be9ccdbfa400e0f2939)) +* **gui:** only send upscaling params when it is enabled ([5d2c22a](https://github.com/ssube/onnx-web/commit/5d2c22a64ae75b465bea763317bd4cb7ba5b02e6)) +* **gui:** only show inpaint image once ([d6f2c62](https://github.com/ssube/onnx-web/commit/d6f2c626f67faba361fbdbb7ba64d0604f85e5dc)) +* **gui:** populate empty select menus with first valid value ([0d1f236](https://github.com/ssube/onnx-web/commit/0d1f23609601f3c9aeab9268b9002a23a5bc6007)) +* **gui:** prevent client image history from accumulating indefinitely ([df7bba4](https://github.com/ssube/onnx-web/commit/df7bba47dd892db9b590ebcf5e31c468f3c59e04)) +* **gui:** read image size from its own field ([4d6560a](https://github.com/ssube/onnx-web/commit/4d6560aaba1a0964193ea5c8d72408dc4ed72296)) +* **gui:** reduce rendering when adjusting image controls ([4615614](https://github.com/ssube/onnx-web/commit/4615614e5e22ee58006c2751a9b3725ebb6b4c70)) +* **gui:** remove unused strength param from upscale ([d2c7fa9](https://github.com/ssube/onnx-web/commit/d2c7fa97e79267b4694556e0019c0abd63bd229a)) +* **gui:** send blend strength for inpainting ([521fa88](https://github.com/ssube/onnx-web/commit/521fa88e0598196fda5ee28e65485e81adf08bda)) +* **gui:** send upscale params ([5e5d748](https://github.com/ssube/onnx-web/commit/5e5d748c0b8f69eae27ce77e58b7f31d64918c4a)) +* **gui:** set a reasonable timeout on the initial params fetch ([50fe17b](https://github.com/ssube/onnx-web/commit/50fe17bce15b597dcc53351969eb10ae9af71c72)) +* **gui:** set initial fill color ([ce11165](https://github.com/ssube/onnx-web/commit/ce11165d0f72f2b63383bbaabf0e5dd9ff86e482)) +* **gui:** swap toggle buttons for decent checkboxes ([46026d9](https://github.com/ssube/onnx-web/commit/46026d9aa0b22eed0addc861ff7d9c3fdadcf098)) +* **gui:** use blur event on fill color for better perf ([b66cb8f](https://github.com/ssube/onnx-web/commit/b66cb8fcd6e9953ba939ab1d7b1775dd1df68151)) +* move output path out of API route (for [#7](https://github.com/ssube/onnx-web/issues/7)) ([cb005d3](https://github.com/ssube/onnx-web/commit/cb005d3b5d6c5360ddbc3ad3ecd4f0cfcae486b4)) +* send missing model params, add face strength control ([0e27cc8](https://github.com/ssube/onnx-web/commit/0e27cc830d8917ba083b255df667dacd17db0737)) + ## [0.4.0](https://github.com/ssube/onnx-web/compare/v0.3.0...v0.4.0) (2023-01-15) diff --git a/api/setup.py b/api/setup.py index 0fc742fe..dc8e5f95 100644 --- a/api/setup.py +++ b/api/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="onnx-web", - version="0.4.0", + version="0.5.0", author="ssube", author_email="seansube@gmail.com", description="web UI for running ONNX models", diff --git a/gui/package.json b/gui/package.json index 1aae2d11..53b5c010 100644 --- a/gui/package.json +++ b/gui/package.json @@ -1,6 +1,6 @@ { "name": "@apextoaster/onnx-web", - "version": "0.4.0", + "version": "0.5.0", "description": "onnx web gui", "type": "module", "main": "out/src/main.js",