Mary Hipp
f4672ad8c1
more cleanup
2025-05-22 13:50:15 +10:00
Mary Hipp
5a86490845
cleanup and refactor into hooks
2025-05-22 13:50:15 +10:00
Mary Hipp
27dc843046
Imagen4 working in UI
2025-05-22 13:50:15 +10:00
Mary Hipp
2f35d74902
backend updates
2025-05-22 13:50:15 +10:00
Kevin Turner
8bd52ed744
fix: improve gguf performance with torch.compile
...
pytorch 2.7 does not implement `set.__contains__`, so make this a list instead.
See https://github.com/pytorch/pytorch/issues/145761
2025-05-22 13:42:09 +10:00
psychedelicious
ecc6e8a532
fix(nodes): transformers bug with SAM
...
Upstream bug in `transformers` breaks use of `AutoModelForMaskGeneration` class to load SAM models
Simple fix - directly load the model with `SamModel` class instead.
See upstream issue https://github.com/huggingface/transformers/issues/38228
2025-05-22 11:32:37 +10:00
Mary Hipp
9170576a38
make logic more straight forward
2025-05-21 10:52:04 -04:00
Mary Hipp
f26baa0341
use hook instead
2025-05-21 10:52:04 -04:00
psychedelicious
99dad953a4
chore: bump version to v5.12.0rc2
2025-05-20 14:50:03 +10:00
Billy
32f2223237
Warning comment
2025-05-20 11:19:59 +10:00
Billy
6176941853
Warning comment
2025-05-20 11:19:59 +10:00
Billy
af41dc83f7
Make ruff happy
2025-05-20 11:19:59 +10:00
Billy
a17e771eba
Re-enable classification API as fallback
2025-05-20 11:19:59 +10:00
psychedelicious
19ecdb196e
chore: ruff
2025-05-20 10:47:02 +10:00
psychedelicious
15880e6ea7
fix(ui): invocation parsing for optional enum fields
...
For example:
```py
my_field: Literal["foo", "bar"] | None = InputField(default=None)
```
Previously, this would cause a field parsing error and prevent the app from loading.
Two fixes:
- This type annotation and resultant schema are now parsed correctly
- Error handling added to template building logic to prevent the hang at startup when an error does occur
2025-05-20 10:47:02 +10:00
psychedelicious
53ffa98662
chore(ui): typegen
2025-05-20 10:47:02 +10:00
psychedelicious
021a334240
fix(nodes): fix spots where default of None was provided for non-optional fields
2025-05-20 10:47:02 +10:00
psychedelicious
cfed293d48
fix(nodes): do not make invocation field defaults None when they are not provided
2025-05-20 10:47:02 +10:00
Mary Hipp
d36bc185c8
only use client side uploads if more than one image to retain metadata for single uploads
2025-05-20 08:03:00 +10:00
psychedelicious
7878203b03
chore(ui): update whats new copy
2025-05-19 23:28:40 +10:00
psychedelicious
3352220d39
chore: bump version to v5.12.0rc1
2025-05-19 23:28:40 +10:00
Riccardo Giovanetti
bcfb1e7e52
translationBot(ui): update translation (Italian)
...
Currently translated at 98.7% (1887 of 1910 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
2025-05-19 23:23:07 +10:00
psychedelicious
e84b3c142c
chore(ui): typegen
2025-05-19 13:50:04 +10:00
Kent Keirsey
22f637b647
ruff ruff
2025-05-19 13:50:04 +10:00
Kent Keirsey
5d192ab6e5
Fix SD precise in patcher.
2025-05-19 13:50:04 +10:00
Kent Keirsey
9273d1629e
UX Copy Clean-up
2025-05-19 13:50:04 +10:00
Kent Keirsey
27a12f080b
missing translation values
2025-05-19 13:50:04 +10:00
Kent Keirsey
3bfb497764
ruff fixes
2025-05-19 13:50:04 +10:00
Kent Keirsey
b849c7d382
ruff fix
2025-05-19 13:50:04 +10:00
Kent Keirsey
8d4120583d
update schema pt 2
2025-05-19 13:50:04 +10:00
Kent Keirsey
402cdc7eda
update schema
2025-05-19 13:50:04 +10:00
Kent Keirsey
b02ea1a898
Expanded styles & updated UI
2025-05-19 13:50:04 +10:00
Kent Keirsey
d709040f4b
Matt3o base changes
2025-05-19 13:50:04 +10:00
psychedelicious
37e790ae19
fix(app): address pydantic deprecation warning for accessing BaseModel.model_fields
2025-05-19 12:22:59 +10:00
David Burnett
6c0bd7d150
fix import ordering, remove code I reverted that the resync added back
2025-05-19 11:16:23 +10:00
David Burnett
99e154d773
fix picky ruff issue
2025-05-19 11:16:23 +10:00
David Burnett
e4e43ae126
fix missing bracket
2025-05-19 11:16:23 +10:00
David Burnett
a07fac6180
raise exected exception when attempting to change dtype
2025-05-19 11:16:23 +10:00
David Burnett
93d4b00082
Add to overload for GGMLTensor, so calling to on the model moves the quantized data as well
2025-05-19 11:16:23 +10:00
David Burnett
8abcc99ced
add check for state_dict, required to load TI's
2025-05-19 11:16:23 +10:00
David Burnett
73ab4b8895
fix offload device
2025-05-19 11:16:23 +10:00
David Burnett
86719f2065
revert to overload due to failing tests, use Torch futures instead
2025-05-19 11:16:23 +10:00
David Burnett
5271fc1cac
fix picky ruff issue
2025-05-19 11:16:23 +10:00
David Burnett
96ff7d9093
fix missing bracket
2025-05-19 11:16:23 +10:00
David Burnett
6f73d9e9c6
raise exected exception when attempting to change dtype
2025-05-19 11:16:23 +10:00
David Burnett
29b406a84b
Add to overload for GGMLTensor, so calling to on the model moves the quantized data as well
2025-05-19 11:16:23 +10:00
psychedelicious
0f0085a776
chore(ui): typegen
2025-05-19 10:29:07 +10:00
psychedelicious
ea28ed8261
chore: ruff
2025-05-19 10:29:07 +10:00
Lucian Hardy
c0e6327d3a
chore(ui): Refactor RelatedModels.tsx
...
Major cleanup of RelatedModels.tsx for improved readability, structure, and maintainability.
Dried out repetitive logic
Consolidated model type sorting into reusable helpers
Added disallowed model type relationships to prevent broken connections (e.g. VAE ↔ LoRA)
- Aware this introduces a new constraint—open to feedback (see PR comment)
Some naming and types may still need refinement; happy to revisit
2025-05-19 10:29:07 +10:00
Lucian Hardy
459491e402
chore(backend): Removed unused model_relationship methods
...
removed unused AnyModelConfig related methods,
removed unused get_related_model_key_count method.
2025-05-19 10:29:07 +10:00