Lincoln Stein
e93f4d632d
[util] Add generic torch device class ( #6174 )
...
* introduce new abstraction layer for GPU devices
* add unit test for device abstraction
* fix ruff
* convert TorchDeviceSelect into a stateless class
* move logic to select context-specific execution device into context API
* add mock hardware environments to pytest
* remove dangling mocker fixture
* fix unit test for running on non-CUDA systems
* remove unimplemented get_execution_device() call
* remove autocast precision
* Multiple changes:
1. Remove TorchDeviceSelect.get_execution_device(), as well as calls to
context.models.get_execution_device().
2. Rename TorchDeviceSelect to TorchDevice
3. Added back the legacy public API defined in `invocation_api`, including
choose_precision().
4. Added a config file migration script to accommodate removal of precision=autocast.
* add deprecation warnings to choose_torch_device() and choose_precision()
* fix test crash
* remove app_config argument from choose_torch_device() and choose_torch_dtype()
---------
Co-authored-by: Lincoln Stein <lstein@gmail.com>
2024-04-15 13:12:49 +00:00
psychedelicious
5a8489bbfc
perf(ui): memoize infill components
2024-04-15 22:50:54 +10:00
psychedelicious
a24c9d0f7a
perf(ui): optimize useFeatureStatus
2024-04-15 22:50:54 +10:00
psychedelicious
7a92afc117
perf(ui): fix rerenders in nodes
...
Unmemoized selector tanking perf
2024-04-15 22:50:54 +10:00
psychedelicious
b508945b11
feat(ui): edge labels
...
Add setting to render labels with format `Source Node label -> Target Node label` on edges.
2024-04-15 22:48:46 +10:00
Wubbbi
7cf788e658
Update deps to their lastest versions ( #6178 )
...
* Update deps to their lastest versions
* missed huggingface_hub
* bump accelerate
---------
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2024-04-15 00:48:39 +00:00
Lars Kappert
06bc38d3f4
Remove tag excluder
2024-04-15 09:14:49 +10:00
Lars Kappert
d3b0212da5
Scope project files to src dir (enables --production)
2024-04-15 09:14:49 +10:00
Lars Kappert
c2b79ce14c
Replace @knipignore
with paths
config
2024-04-15 09:14:49 +10:00
Васянатор
70185b0173
translationBot(ui): update translation (Russian)
...
Currently translated at 99.5% (1128 of 1133 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-04-15 09:12:38 +10:00
怀瑾
a83a0c6146
translationBot(ui): update translation (Chinese (Simplified))
...
Currently translated at 81.5% (924 of 1133 strings)
Co-authored-by: 怀瑾 <symant233@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/zh_Hans/
Translation: InvokeAI/Web UI
2024-04-15 09:12:38 +10:00
Riccardo Giovanetti
12f41039cc
translationBot(ui): update translation (Italian)
...
Currently translated at 98.4% (1122 of 1140 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.4% (1120 of 1138 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.4% (1115 of 1133 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-04-15 09:12:38 +10:00
Daniel Abrao
b3b5b7e261
Include hardcoded count of one to avoid translation issues on missing keys
2024-04-15 09:10:15 +10:00
Daniel Abrao
f706a13230
Adjust gallery image length handling
2024-04-15 09:10:15 +10:00
Daniel Abrao
22c6400bb8
Refactor i18n pluralization
2024-04-15 09:10:15 +10:00
Daniel Abrao
1ca152f6c8
Apply eslint/prettier fixes
2024-04-15 09:10:15 +10:00
Daniel Abrao
982e255878
Add dynamic label to delete button located at the top toolbar
2024-04-15 09:10:15 +10:00
Daniel Abrao
7899149144
Remove unnecessary word
2024-04-15 09:10:15 +10:00
Daniel Abrao
bef97b46bf
Apply eslint/prettier fixes
2024-04-15 09:10:15 +10:00
Daniel Abrao
cc256fee0e
Modify the modal title to include selected image array length
2024-04-15 09:10:15 +10:00
Daniel Abrao
ec69a58c8d
Include plural variation for delete image modal title
2024-04-15 09:10:15 +10:00
Daniel Abrao
ec67ba61db
Pass an array of selected images instead of imageDTO
2024-04-15 09:10:15 +10:00
Daniel Abrao
66126996e7
Import image selection
2024-04-15 09:10:15 +10:00
Jennifer Player
4eb66a9198
remove hires fix badge from settings when using sdxl
2024-04-15 07:57:58 +10:00
Daniel Abrao
14e41a1fd9
Remove unnecessary whitespace
2024-04-15 07:54:36 +10:00
Daniel Abrao
fc55522003
Import hook in the main App script
2024-04-15 07:54:36 +10:00
Daniel Abrao
cd6d8ae9cc
Add a hook as a singleton to update favicon and title upon queueSize change
2024-04-15 07:54:36 +10:00
Daniel Abrao
2933eb594d
Remove unnecessary code
2024-04-15 07:54:36 +10:00
Daniel Abrao
4e08fab3f5
Apply brand red color and a black border
2024-04-15 07:54:36 +10:00
Daniel Abrao
8bca7e2aa2
Apply eslint/prettier fixes
2024-04-15 07:54:36 +10:00
Daniel Abrao
3706cf0ad4
Add JSDoc strings
2024-04-15 07:54:36 +10:00
Daniel Abrao
a459361376
Modify the processing to consider the active queue length instead of in_progress only
2024-04-15 07:54:36 +10:00
Daniel Abrao
bb330d50a6
Increase favicon alert detail size
2024-04-15 07:54:36 +10:00
Daniel Abrao
102cb62960
Apply eslint/prettier fixes
2024-04-15 07:54:36 +10:00
Daniel Abrao
8eeab22ecd
Replace let
with const
2024-04-15 07:54:36 +10:00
Daniel Abrao
4343852b83
Update HTML page title and favicon upon queue item event
2024-04-15 07:54:36 +10:00
Daniel Abrao
0a9bf25bff
Implement updatePageTitle
and updatePageFavicon
methods
2024-04-15 07:54:36 +10:00
Daniel Abrao
4cd09850b8
Add ID to the HTML link element
2024-04-15 07:54:36 +10:00
Daniel Abrao
dbc586e0b2
Add alert variation for Invoke favicon
2024-04-15 07:54:36 +10:00
Jennifer Player
c2e3c61f28
fix recall all when loras, controls, or hrf arent present
2024-04-14 16:49:14 +10:00
sarashinai
fbfa29c2ef
Update GALLERY.md
2024-04-14 16:46:31 +10:00
sarashinai
9ee7b951eb
Update GALLERY.md
2024-04-14 16:46:31 +10:00
sarashinai
29dd1bb35b
Update GALLERY.md
2024-04-14 16:46:31 +10:00
sarashinai
68d8a2497e
Update GALLERY.md
2024-04-14 16:46:31 +10:00
sarashinai
4b171fa696
Creation of GALLERY.md and related images
...
First draft of the walkthrough of the Gallery right-hand panel
2024-04-14 16:46:31 +10:00
sarashinai
d0beb45431
Create GALLERY.md
2024-04-14 16:46:31 +10:00
sarashinai
e724781a80
Update WEB.md
...
Correct stated location of Gallery panel.
2024-04-14 16:46:31 +10:00
psychedelicious
636ece323f
Update INSTALL_DEVELOPMENT.md
2024-04-14 15:24:00 +10:00
Jennifer Player
77b3281f08
prettier
2024-04-14 15:22:33 +10:00
Jennifer Player
bd7c8cd517
added info popover back to model, updated description hover to combobox only
2024-04-14 15:22:33 +10:00