Lincoln Stein
956ad6bcf5
add redesigned model cache for diffusers & transformers
2023-04-28 00:41:52 -04:00
psychedelicious
4a924c9b54
feat(nodes): hardcode resize latents downsampling
2023-04-28 09:52:09 +10:00
psychedelicious
0453d60c64
fix(nodes): fix slatents and rlatents bugs
2023-04-28 09:52:09 +10:00
psychedelicious
c4f4f8b1b8
fix(nodes): remove unused width and height from t2l
2023-04-28 09:52:09 +10:00
psychedelicious
3e80eaa342
feat(nodes): add resize and scale latents nodes
...
- this resize/scale latents is what is needed for hires fix
- also remove unused `seed` from t2l
2023-04-28 09:52:09 +10:00
Mary Hipp
00a0cb3403
fix(ui): update exported types
2023-04-28 09:20:09 +10:00
Mary Hipp
ea93cad5ff
fix(ui): update to match change in route params
2023-04-28 09:19:03 +10:00
Mary Hipp
4453a0d20d
feat(ui): remove toasts for network bc we have status to tell us
2023-04-28 09:18:19 +10:00
Mary Hipp Rogers
1e837e3c9d
fix(ui): add formatted neg prompt for linear nodes ( #3282 )
...
* fix(ui): add formatted neg prompt for linear nodes
* remove conditional
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-04-27 15:05:35 -04:00
psychedelicious
31c7fa833e
feat(ui): simplify image display
2023-04-27 14:10:44 +10:00
blessedcoolant
db16ca0079
fix(ui): Current Image Buttons position
2023-04-27 14:10:44 +10:00
psychedelicious
a824f47bc6
fix(nodes): use absolute path when deleting
2023-04-27 14:10:44 +10:00
psychedelicious
99392debe8
feat(ui): refactor DeleteImageModal
...
- refactor the component
- use translations
- add config for systems where deleted images are not sent to bin (only changes the messaging)
2023-04-27 14:10:44 +10:00
psychedelicious
0cc739afc8
feat(nodes): use send2trash to delete images, fix thumbnail_path
2023-04-27 14:10:44 +10:00
psychedelicious
0ab62b0343
feat(ui): "blacklist" -> "denylist"
2023-04-27 14:10:44 +10:00
psychedelicious
75d25dd5cc
feat(ui): restore image deletion functionality
2023-04-27 14:10:44 +10:00
psychedelicious
2e54da13d8
chore(ui): regen api client
2023-04-27 14:10:44 +10:00
psychedelicious
f34f416bf5
fix(ui): handle floats in NumberInputFieldComponent
2023-04-27 14:10:44 +10:00
psychedelicious
021c63891d
fix(ui): fix config types and merging
2023-04-27 14:10:44 +10:00
blessedcoolant
a968862e6b
feat(ui): Move img2img badge info to top right
2023-04-27 14:10:44 +10:00
blessedcoolant
a08189d457
ui: Match styling of img2img to the rest of the accordions
2023-04-27 14:10:44 +10:00
psychedelicious
0a936696c3
feat(ui): add config slice, configuration default values
2023-04-27 14:10:44 +10:00
blessedcoolant
55e33eaf4c
docs: add note on README about migration ( #3277 )
2023-04-27 13:17:43 +12:00
psychedelicious
3da5fb223f
docs: add note on README about migration
2023-04-27 11:05:32 +10:00
Mary Hipp Rogers
a3c5a664e5
fix(ui): update UI to handle uploads with alternate URLs ( #3274 )
2023-04-26 07:14:08 -07:00
Mary Hipp
b638fb2f30
fix(ui): use name in response instead of parsing out of URL to handle alternative URLs
2023-04-26 09:48:16 -04:00
psychedelicious
c1b10b2222
feat(ui): open in new tab @ hoverable image
2023-04-26 12:40:10 +10:00
psychedelicious
bee29714d9
fix(ui): fix templates not refreshing correctly
2023-04-26 12:40:10 +10:00
psychedelicious
d40d5276dd
feat(ui): wip img2img ui
2023-04-26 12:40:10 +10:00
psychedelicious
568f0aad71
feat(ui): wip img2img ui
2023-04-26 12:40:10 +10:00
psychedelicious
38474fa9d4
feat(ui): add lil spinner to loading
2023-04-26 12:17:01 +10:00
psychedelicious
f7f974a28b
fix(ui): fix inverted conditional
2023-04-26 12:17:01 +10:00
psychedelicious
3c150b384c
fix(ui): fix export of ApplicationFeature type
2023-04-26 12:17:01 +10:00
psychedelicious
65816049ba
feat(ui): add secret loading screen override button
2023-04-26 12:17:01 +10:00
psychedelicious
c1c881ded5
feat(ui): support disabledFeatures, add nicer loading
...
- `disabledParametersPanels` -> `disabledFeatures`
- handle disabling `faceRestore`, `upscaling`, `lightbox`, `modelManager` and OSS header links/buttons
- wait until models are loaded to hide loading screen
- also wait until schema is parsed if `nodes` is an enabled tab
2023-04-26 12:17:01 +10:00
maryhipp
82c4dd8b86
fix(api): return same URL on location header
2023-04-26 06:29:30 +10:00
psychedelicious
711d09a107
feat(nodes): add get_uri
method to image storage
...
- gets the external URI of an image
2023-04-26 06:29:30 +10:00
psychedelicious
74013b6611
fix(nodes): address feedback
2023-04-26 06:29:30 +10:00
psychedelicious
790f399986
feat(nodes): tidy images routes
2023-04-26 06:29:30 +10:00
psychedelicious
73cdd36594
feat(nodes): raise HTTPExceptions instead of returning Reponses
2023-04-26 06:29:30 +10:00
psychedelicious
50ac3eb28d
feat(nodes): add delete_image & delete_images routes
2023-04-26 06:29:30 +10:00
blessedcoolant
76e5d0595d
fix(ui): fix no progress images when gallery is empty ( #3268 )
...
When gallery was empty (and there is therefore no selected image), no
progress images were displayed.
- fix by correcting the logic in CurrentImageDisplay
- also fix app crash introduced by fixing the first bug
2023-04-25 17:48:24 +12:00
psychedelicious
f03cb8f134
fix(ui): fix no progress images when gallery is empty
2023-04-25 15:00:54 +10:00
Lincoln Stein
c2a0e8afc3
[Bugfix] prevent cli crash ( #3132 )
...
Prevent legacy CLI crash caused by removal of convert option
- Compensatory change to the CLI that prevents it from crashing when it
tries to import a model.
- Bug introduced when the "convert" option removed from the model
manager.
2023-04-25 03:55:33 +01:00
Lincoln Stein
31a904b903
Merge branch 'main' into bugfix/prevent-cli-crash
2023-04-25 03:28:45 +01:00
Lincoln Stein
c174cab3ee
[Bugfix] fixes and code cleanup to update and installation routines ( #3101 )
...
- Fix the update script to work again and fixes the ambiguity between
when a user wants to update to a tag vs updating to a branch, by making
these two operations explicitly separate.
- Remove dangling functions and arguments related to legacy checkpoint
conversion. These are no longer needed now that all legacy models are
either converted at import time, or on-the-fly in RAM.
2023-04-25 03:28:23 +01:00
Lincoln Stein
fe12938c23
update to diffusers 0.15 and fix code for name changes ( #3201 )
...
- This is a port of #3184 to the main branch
2023-04-25 03:23:24 +01:00
Lincoln Stein
4fa5c963a1
Merge branch 'main' into bugfix/prevent-cli-crash
2023-04-25 03:10:51 +01:00
Lincoln Stein
48ce256ba2
Merge branch 'main' into lstein/enhance/diffusers-0.15
2023-04-25 02:49:59 +01:00
blessedcoolant
7555b1f876
Event service will now sleep for 100ms between polls instead of 1ms, reducing CPU usage significantly ( #3256 )
...
I noticed that the current invokeai-new.py was using almost all of a CPU
core. After a bit of profileing I noticed that there were many thousands
of calls to epoll() which suggested to me that something wasn't sleeping
properly in asyncio's loop.
A bit of further investigation with Python profiling revealed that the
__dispatch_from_queue() method in FastAPIEventService
(app/api/events.py:33) was also being called thousands of times.
I believe the asyncio.sleep(0.001) in that method is too aggressive (it
means that the queue will be polled every 1ms) and that 0.1 (100ms) is
still entirely reasonable.
2023-04-24 19:35:27 +12:00