1
0
Fork 0
onnx-web/CHANGELOG.md

43 KiB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

0.5.0 (2023-01-24)

Features

  • add additional Real ESRGAN models, strings for them (d52c22e)
  • add fill color control to inpaint (3679735)
  • add outscaling option (8d3ebed)
  • add ROCm provider to list (#10) (3bcd7a8)
  • add upscale controls to client, params to server (d1e4fa9)
  • add upscaling tab and endpoint (4aeee60)
  • add version check to parameters (be3a17b)
  • api: add basic upscaling (77cb84c)
  • api: add conversion script for models (e59449f)
  • api: add ESRGAN/GFPGAN deps (9f43837)
  • api: add ONNX implementation of Real ESRGAN net (9519fc1)
  • api: add option for HuggingFace token in convert script (45a3ddc)
  • api: add strength param to inpaint, remove same from upscale (5ba752e)
  • api: add support for Stable Diffusion models to conversion script (decb281)
  • api: backend support for multiple GPUs in diffusion pipelines (a868c8c)
  • api: return all types of models (ee6308a)
  • api: split up test scripts for diffusers and real esrgan (48963fa)
  • api: start adding model sources to convert script (4d0898a)
  • build: add DirectML and ROCm images (b18567c)
  • build: compile ONNX runtime with ROCm support (a8bc371)
  • build: run convert script when container starts (a8769a5)
  • docs: add platform/model compatibility list (b22f156)
  • gui: add API server to settings (d402db8)
  • gui: add blend strength to inpainting controls (691aeab)
  • gui: add invert button to inpaint mask (fixes #65) (9e31445)
  • gui: add menus for upscaling and correction models (0080d86)
  • gui: add validation to numeric inputs, token counter to prompt (a1b16bb)
  • run: add Docker Compose files for API containers (2a6df0f)

Bug Fixes

  • api: actually return the filtered list of platforms (facd69f)
  • api: add an option to skip certain models during conversion (556d5b8)
  • api: add extra models to convert script (e083411)
  • api: add missing params to load stub (fe65746)
  • api: check if output file exists for ready endpoint (#57) (b2e7ad5)
  • api: check image size before blending (08dbc0c)
  • api: convert back to PIL after upscaling (45d65d1)
  • api: convert image to numpy before upscaling (1fe6fa9)
  • api: copy checkpoints into correct location, handle more models (353a655)
  • api: correct denoise max, add missing face strength param (227056d)
  • api: correct name for kwargs (9bff64c)
  • api: correct output paths, read strength from params (a76793d)
  • api: correct stub method name (f493246)
  • api: dedupe models after removing extension (c0ca7cf)
  • api: enable tiling when fixing faces after upscaling (ba3eff5)
  • api: explicitly delete pipeline results after saving (dddadfc)
  • api: filter platforms based on available providers (fixes #69) (c768cd8)
  • api: generate correct latents for non-square images (86fb2ae)
  • api: get all server paths from environ (4809e00)
  • api: get ESRGAN/GFPGAN paths from server context, clean up test scripts (120056f)
  • api: get upscale params from request (1f0c19a)
  • api: handle parameters correctly when list of valid values is empty (fixes #72) (2921eba)
  • api: include model scale (dba6113)
  • api: join globs to avoid py 3.10-only args (0273dea)
  • api: leave pipelines on default device unless specified (505cacf)
  • api: load upscaling model from models dir (806503c)
  • api: look up noise coordinates correctly (1283bc3)
  • api: pass hardware platform to upscaling pipeline (#77) (f319e6a)
  • api: pass image size to upscale job (cf6a151)
  • api: pass model to ONNX instances (d406cd4)
  • api: pass txt2img dimensions in correct order (be16f33)
  • api: pass upscale params when creating RESRGAN (091c4e6)
  • api: premultiply noise before compositing (b496e71)
  • api: put conversion RNG on training device (#67) (abc1ae5)
  • api: report accurate image size when upscaling (9a2e7ad)
  • api: report accurate sizes (4bf6875)
  • api: resolve face correction model relative to model path (5a01fe4)
  • api: return structured error when image parameters are missing (fixes #76) (b62c7d3)
  • api: run GC after changing pipeline (#58) (4a3bb97)
  • api: skip upscaling if scale is 1 (b7c85aa)
  • api: sort models without discarding (b09feda)
  • api: trim model names relative to model path (4472a6f)
  • api: unload old model before loading next one (9e26ee5)
  • api: use correct base path for debug images (634d2e8)
  • api: use correct coordinate system for outpainting (a5d3ffc)
  • api: use correct scale for background correction (073ff8e)
  • api: use training device when loading Real ESRGAN model (#67) (8c9c99e)
  • api: validate request params better, esp model path (876b54a)
  • build: add cv2 deps to CPU image (77d68bf)
  • build: add cv2 deps to CUDA and ROCm images (52484e6)
  • build: add launcher script and use for API images (88f9b62)
  • build: add params file to other images (5286c4f)
  • build: correct venv path in containers (348a4e2)
  • build: install prebuilt ROCm ORT (5c026c4)
  • build: remove DirectML container until a package can be found (c7bcc62)
  • build: share layers from main image in feature branches (455bfdd)
  • build: use and cache venv for API job (46e0fe2)
  • build: use cached docker images to avoid rebuilding layers (3f1bc0e)
  • docs: add podman rocm command to admin guide (fe9206c)
  • docs: add server admin guide, cross-link with user guide (5d0aa60)
  • docs: list correct packages in readme, move errors to user guide (b1e7ab0)
  • docs: note that image parameters are not persisted when reloading (700d31e)
  • gui: add server version indicator to settings (7b49b55)
  • gui: align background image when it is larger than canvas (99982c6)
  • gui: bump state version for new output path (246aa3d)
  • gui: correct labels for Nvidia platforms (0afd25f)
  • gui: correct menu state for additional models (7cd0345)
  • gui: correct state for face correction button (3a3e92a)
  • gui: disable face correction strength slider when option is not selected (7c60621)
  • gui: do not persist upscale image source (dc84bec)
  • gui: draw single clicks and avoid blending mask with itself (5e23f84)
  • gui: emphasize the generate buttons, align fill color picker (64663f5)
  • gui: make all image cards show at the default size (20ed8f6)
  • gui: mask canvas should not tile small images (f1484dc)
  • gui: only enable generate buttons after image sources exist (#64) (4898197)
  • gui: only send upscaling params when it is enabled (5d2c22a)
  • gui: only show inpaint image once (d6f2c62)
  • gui: populate empty select menus with first valid value (0d1f236)
  • gui: prevent client image history from accumulating indefinitely (df7bba4)
  • gui: read image size from its own field (4d6560a)
  • gui: reduce rendering when adjusting image controls (4615614)
  • gui: remove unused strength param from upscale (d2c7fa9)
  • gui: send blend strength for inpainting (521fa88)
  • gui: send upscale params (5e5d748)
  • gui: set a reasonable timeout on the initial params fetch (50fe17b)
  • gui: set initial fill color (ce11165)
  • gui: swap toggle buttons for decent checkboxes (46026d9)
  • gui: use blur event on fill color for better perf (b66cb8f)
  • move output path out of API route (for #7) (cb005d3)
  • send missing model params, add face strength control (0e27cc8)

0.4.0 (2023-01-15)

Features

  • add gaussian multiply to mask filters (40080ad)
  • add noise source with solid color (5bb3f6c)
  • api: add a mask filter to blend outpainting edges (6c07d12)
  • api: add endpoints for blend and noise settings (a8f0a7a)
  • api: add endpoints to serve GUI bundle (88fde63)
  • api: add helper to expand images for outpainting (66dc532)
  • api: add normal and uniform noise sources (9376de8)
  • api: add original source and gaussian blur noise sources (77470a6)
  • api: add parameters for noise source and blend op to inpaint (e403980)
  • api: add ready endpoint to check output status (55e8b80)
  • api: blend outpainting border with noise (1e24018)
  • api: limit simultaneous image workers (fixes #15) (e872eea)
  • api: move txt2img into a background task (0ef4d60)
  • api: put all image pipelines on background tasks (7e35b7b)
  • api: take outpainting dimensions from query params (d9bbb9b)
  • build: embed GUI bundle in API containers (6eaf92a)
  • common: add pod definitions for API (e0589e2)
  • gui: add copy to source buttons to image card (028d39c)
  • gui: add error message when server is not available (fixes #48) (65f2f4d)
  • gui: add fill with white, toggle for outpainting (0d53fdf)
  • gui: add menus for noise source and blend mode (d3ad43b)
  • gui: add outpainting dimension controls to inpaint tab (9e2921d)
  • gui: add outpainting to API client and state (6cd98bb)
  • gui: add selector for mask filter (2a30a04)
  • gui: add slider for brush strength (fixes #30) (56ac6c6)
  • gui: add update instructions to error screen (f00f36b)
  • gui: get API root from query string if available (f834997)
  • gui: implement image polling on the client (c36dadd)
  • gui: produce noise based on source image histogram (b24b1eb)
  • gui: replace mask to grayscale with fill button (3ad3299)
  • gui: save source and mask images while changing tabs (4e82241)
  • gui: show mask brush preview (fixes #39) (a87dc45)
  • gui: show source behind mask with offscreen painting (e915ab5)
  • gui: split mask canvas into its own component (1183216)
  • move API routes under prefix (b477a99)

Bug Fixes

  • api: add missing origin argument to noise sources (4675f89)
  • api: add time to filenames (for #55) (16108ae)
  • api: always apply mask filter for inpainting (e4020cf)
  • api: blend source and noise in correct order (eedea93)
  • api: clean up background jobs once they are ready (for #55) (9c93e16)
  • api: convert mask before blending source (f142418)
  • api: correct endpoint name for blend ops (0ed11af)
  • api: correct type of provider in output path (b1aca92)
  • api: fill gaussian blur with noise first (e2d17e1)
  • api: get default params from file, enforce minimum params (e8b580a)
  • api: include all parameters in output path (e429baf)
  • api: limit outpainting using image size params (34fa3f6)
  • api: make all path vars relative to API dir (360a151)
  • api: reduce copies, fix function signatures (f5ed77a)
  • api: resize images after getting request params (c29c92e)
  • api: restore inpainting without outpainting (09c9b2c)
  • api: reuse results of blur modes (ef06b45)
  • api: send CORS more consistently (fa82ac1)
  • api: set default mask filter to none, matching the client (df6b071)
  • api: use correct param name for platform (a3029c3)
  • api: use full-image compositing, write debug images to output dir (081a96d)
  • api: use same parameter name as GUI for negative prompt (dc33b7c)
  • build: correct path to pip requirements (f46647c)
  • build: correct paths for GUI bundle (6c11f52)
  • build: install torch before other packages in CPU container (e025dbb)
  • build: install torch before other packages in CUDA container (b60ccd5)
  • docs: add links to GUI client at GH pages (47f9eb1)
  • docs: note NodeJS dependency for building GUI, note about ONNX DML upgrading numpy (74eaac3)
  • gui: avoid saving mask while actively painting (d5f8838)
  • gui: break up state into slices for each tab (689a6a1)
  • gui: clear loading data after card leaves (600ebae)
  • gui: correct label for blur mode (1c2c8b2)
  • gui: disable react profiling in default bundle (1bb0a3a)
  • gui: do not persist loading flag (dcfce81)
  • gui: history is not iterable error when loading existing state (7885bbf)
  • gui: improve API link example (c09eb75)
  • gui: improve performance while using image controls (35e2e1d)
  • gui: invalidate loading query after mutations (fa639ef)
  • gui: load config relative to current page (fixes #43) (2e5c786)
  • gui: prevent mask canvas from going into a save loop (4dc915d)
  • gui: restore delete image button (68eb8eb)
  • gui: send CFG to API as decimal (ef33301)
  • gui: send strength for img2img requests (26a8ce7)

0.3.0 (2023-01-12)

Features

  • api: add inpaint endpoint (182ce6d)
  • api: add params endpoint, defaults file (03fd728)
  • api: set up venv in CUDA container, add onnxruntime-gpu (a3fe2ca)
  • build: add github status jobs (fixes #28) (c8b2abc)
  • build: replace Buster image with CUDA-based Ubuntu (07c18c2)
  • build: upload pip package (fixes #29) (8452b73)
  • gui: add inpaint call to API client (15ab44f)
  • gui: add inpaint tab and basic image mask component (11b9295)
  • gui: display source images after selection (f49fc96)
  • gui: implement mask painting, flood fill (5e71292)
  • gui: load and merge server params with config (37efd51)
  • gui: persist image control state (fixes #11) (07fa81a)
  • gui: share image history between tabs, add setting to adjust length of history (fixes #22) (662bf42)

Bug Fixes

  • api: add latents to inpaint, remove strength (131cff6)
  • api: allow decimal CFG (2f3b5c0)
  • api: omit negative prompt from pipeline (9bb01cc)
  • api: pass seed when calculating inpaint filenames (d20fb91)
  • api: rename to avoid shadowing type (48f42e5)
  • api: use correct dict for type hints (4abf760)
  • build: add venv to CPU image (362b732)
  • build: define template for curl jobs (9f7e16b)
  • build: put Github status jobs in correct stages (e704db5)
  • bump package versions to 0.2.1 (760b162)
  • docs: describe how to install inpainting model (2332c44)
  • gui: allow decimal steps for CFG (2ff4aee)
  • gui: consistently load image controls from server params (4a6458d)
  • gui: default mask brush to white/full replacement (63758b0)
  • gui: handle cancel from file input (6b3c0fe)
  • gui: move seed control onto same line with cfg and steps (1aa2181)

0.2.1 (2023-01-08)

Bug Fixes

  • gui: allow max safe seed constant (477d89b)

0.2.0 (2023-01-08)

Features

  • api: add image with pytorch CUDA (a721008)
  • api: add img2img endpoint (09ce654)
  • api: experimentally add CUDA provider and Nvidia platform (8359bd5)
  • api: switch to package structure (599e0ee)
  • api: use hash of params as output filename (e82379c)
  • gui: add download and delete buttons to image history (e605c9f)
  • gui: add seed to image controls with random button (fixes #16) (4585792)
  • gui: add sliders to numeric inputs (c5e0439)
  • gui: add strength to img2img controls (2328c5f)
  • gui: implement img2img tab (98a8db1)
  • gui: put in a proper loading card (3ec8f7c)
  • implement negative prompts (f2e2b20)
  • make additional schedulers available in UI (93e53f6)

Bug Fixes

  • api: adjust output path for module structure (c6662d1)
  • api: clamp im2img strength (282a7cf)
  • api: defer first model load until first request (0232c71)
  • api: hash full range of seed values (057eea2)
  • api: keep strength as a float (926f77b)
  • api: remove prompt from output name (0d4c0a5)
  • api: seed rng for each image (8c133e9)
  • api: typesafe param hashing (f4ca6a0)
  • api: update serve app name, add module entrypoint (b59519c)
  • build: automatically push after tagging releases (55d4354)
  • docs: add section with known errors (067a9b3)
  • docs: begin clarifying packages for each environment (#19) (f99438e)
  • docs: include onnxruntime in list of common deps (6442e68)
  • docs: move ONNX DML package to Windows setup (16c8b54)
  • docs: note cloning and fix test script name in readme (9973bf1)
  • docs: note python3 command and venv "name cmd" error in readme (f119cb4)
  • gui: add npm ignore (8f7c1e7)
  • gui: add strings for more stable diffusion models, nvidia GPUs (33fd5f1)
  • gui: bind dev server to localhost by default, open binding in containers (fc988e4)
  • gui: disable img2img tab for now, consistent quotes in jsx (de48450)
  • gui: handle decimal inputs correctly (d5c4040)
  • gui: key image history by order (17e62fb)
  • gui: limit seed to safe values, prep for more settings (3dfbb00)
  • gui: send seed with img2img requests (4894e0d)
  • gui: switch txt2img to post on client (e454203)

0.1.0 (2023-01-06)

Features

  • add model and output directories 41d93c9
  • add vscode workspace with subdir roots 4088bf4
  • api: add endpoint to get previous outputs 50221af
  • api: add endpoint to list models 4cb6ce8
  • api: add endpoints to list platforms/accelerators and pipeline schedulers c70728d
  • api: add introspection to index endpoint 8c985e9
  • api: add option to switch between AMD hardware and CPU software rendering 668e46a
  • api: add remaining inputs params to response bbd0e93
  • api: cache pipeline between requests (part of #5) 82e7fbf
  • api: cache pipeline when changing scheduler, make txt2img logging more verbose cab13f6
  • build: add basic CI c6579b7
  • build: add basic python CI 8d3ca31
  • build: add bundle to JS build, add API image jobs 6d560af
  • build: add git multi-push target 917f6ce
  • build: add nginx-based GUI images 5e9890f
  • build: add release target ce759ca
  • build: add root makefile and common targets 3be185d
  • build: put image base OS at the end of the image tag 7b8f96f
  • docs: add readme note about monorepo paths b20f200
  • docs: notes about bundling UI, ONNX_WEB paths for server b22f50f
  • gui: add labels to dropdowns d3f4607
  • gui: get default params and prompt from config 561fcb4
  • gui: get platforms and schedulers from server ce06837
  • gui: load models from server 46e047b
  • gui: make an image card component showing params b5d67b4
  • gui: move platform selector outside of mode tabs 45a097a
  • gui: set up react-query for better request handling b13d46c
  • gui: show recent image history 764a097
  • image: add preliminary container files 8f77bb8
  • return json struct with output path instead of image data, load images from outputs endpoint 4668841

Bug Fixes

  • api: add numpy version restriction to requirements ca0da31
  • api: add recommended venv name to git ignore 5a82f39
  • api: improve image layer order 5482978
  • api: match model and output paths from readme c036c6f
  • api: match model path from readme 6004f76
  • build: add base OS to image tags 11e61d0
  • build: add stub API unit test 1cd3bd8
  • build: correct base OS for GUI nginx image 91c6f47
  • build: correct output filename for JS ep 9a10f52
  • build: install coverage in python build 32c7701
  • build: make image suffix part of the name 150a81e
  • build: pull GUI images from hub 03362f3
  • build: remove bash shebang e900479
  • build: remove unittest from CI install list, add coverage output to git ignore 16b7bde
  • build: run GUI image build in correct subdir 86a3968
  • build: use correct path for image script 7dcb0d1
  • build: use CPU version of pytorch in hypothetical alpine API image af40bff
  • docs: add numpy to install list 7f90461
  • docs: add section about custom config a0172f8
  • docs: describe current features 33eb7cd
  • docs: explain running containers 08270f2
  • docs: note DirectML for Windows 9a5ec9c
  • docs: note numpy version requirements in readme 1f26858
  • docs: update readme to use nginx image for GUI 37253cc
  • gui: copy bundle to correct path within nginx image 225f5f1
  • gui: correct paths in nginx image 7f23711
  • gui: dedupe query lists into a component 1c9eed3
  • gui: make more space for scheduler in image card 7c08c4b
  • gui: prevent dropdown border from overlapping with label 26e886b
  • gui: remove paragraph wrapping image details 0376499
  • gui: run dev server from node image ee6cf50
  • gui: show parameters in a grid in the image card a950343
  • gui: switch default API host to localhost 5f1bb4a
  • gui: switch default platform to AMD 29c4908
  • lint: style issues in gui cd36172