psychedelicious
80d7d69c2f
fix(ui): recall LoRAs may create duplicates
...
Closes #7004
2024-10-03 08:50:30 -04:00
psychedelicious
1010c9877c
fix(ui): give unique ID to duplicated regional guidance layers' ref images
...
Closes #6995
2024-10-03 08:48:18 -04:00
psychedelicious
8fd8994ee8
chore(ui): knip
2024-10-03 08:33:54 -04:00
psychedelicious
262c2f1fc7
feat(ui): add crop canvas to bbox
2024-10-03 08:33:54 -04:00
psychedelicious
150d3239e3
feat(ui): add crop layer to bbox
2024-10-03 08:33:54 -04:00
psychedelicious
e49e5e9782
feat(ui): add confirmation to new session actions
2024-10-03 08:31:00 -04:00
psychedelicious
2d1e745594
feat(ui): add new gallery/canvas session buttons to queue actions menu
...
A new "session" just means to reset most settings to default values, excluding model.
There are a few things that need to be reset:
- Parameters state, except for models and things dependent on model selection (like VAE precision)
- Canvas state, except for the `modelBase`, which is dependent on the model selection
- Canvas staging area state
- LoRAs state
- HRF state
- Style presets state
We also select the canvas tab.
For new gallery sessions, we:
- Open the image viewer
- Set the right panel tab to `gallery`
And for new canvas sessions, we:
- Close the image viewer
- Set the right panel tab to `layers`
2024-10-03 08:31:00 -04:00
psychedelicious
b793328edd
feat(ui): update queue actions menu (wip)
2024-10-03 08:31:00 -04:00
psychedelicious
e79b316645
feat(ui): mmb panning
2024-10-03 00:08:41 -04:00
psychedelicious
8297e7964c
fix(ui): show color picker when using pen
2024-10-03 10:43:18 +10:00
Ryan Dick
26832c1a0e
Add unit test to confirm that GGMLTensor sizes (bytes) are being calculated correctly.
2024-10-02 18:33:05 -04:00
Ryan Dick
c29259ccdb
Update ui ModelFormatBadge to support GGUF.
2024-10-02 18:33:05 -04:00
Ryan Dick
3d4bd71098
Update test_probe_handles_state_dict_with_integer_keys() to make sure that it is still testing what it's intended to test. Previously, we were skipping an important part of the test by using a fake file path.
2024-10-02 18:33:05 -04:00
Brandon Rising
814be44cd7
Ignore paths that don't exist in probe for unit tests
2024-10-02 18:33:05 -04:00
Brandon Rising
d328eaf743
Remove no longer used dequantize_tensor function
2024-10-02 18:33:05 -04:00
Brandon Rising
b502c05009
Add __init__.py file to scripts dir for pytest
2024-10-02 18:33:05 -04:00
Brandon Rising
0f333388bb
Add comment describing why we're not using the meta device during probing of gguf files
2024-10-02 18:33:05 -04:00
Ryan Dick
bc63e2acc5
Add workaround for FLUX GGUF models with incorrect img_in.weight shape.
2024-10-02 18:33:05 -04:00
Ryan Dick
ec7e771942
Add a compute_dtype field to GGMLTensor.
2024-10-02 18:33:05 -04:00
Ryan Dick
fe84013392
Add unit tests for GGMLTensor.
2024-10-02 18:33:05 -04:00
Ryan Dick
710f81266b
Fix type errors in GGMLTensor.
2024-10-02 18:33:05 -04:00
Brandon Rising
446e2884bc
Remove no longer used code paths, general cleanup of new dequantization code, update probe
2024-10-02 18:33:05 -04:00
Brandon Rising
7d9f125232
Run ruff and update imports
2024-10-02 18:33:05 -04:00
Brandon Rising
66bbd62758
Run ruff and fix typing in torch patcher
2024-10-02 18:33:05 -04:00
Brandon Rising
0875e861f5
Various updates to gguf performance
2024-10-02 18:33:05 -04:00
Brandon
0267d73dfc
Update invokeai/backend/model_manager/load/model_loaders/flux.py
...
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com >
2024-10-02 18:33:05 -04:00
Brandon Rising
c9ab7c5233
Add gguf as a pyproject dependency
2024-10-02 18:33:05 -04:00
Ryan Dick
f06765dfba
Get alternative GGUF implementation working... barely.
2024-10-02 18:33:05 -04:00
Ryan Dick
f347b26999
Initial experimentation with Tensor-like extension for GGUF.
2024-10-02 18:33:05 -04:00
Lincoln Stein
c665cf3525
recognize .gguf files when scanning a folder for import
2024-10-02 18:33:05 -04:00
Brandon Rising
8cf19c4124
Run Ruff
2024-10-02 18:33:05 -04:00
Brandon Rising
f7112ae57b
Add unit tests for torch patcher
2024-10-02 18:33:05 -04:00
Brandon Rising
2bfb0ddff5
Initial GGUF support for flux models
2024-10-02 18:33:05 -04:00
psychedelicious
950c9f5d0c
chore: bump version to v5.1.0rc1
2024-10-02 08:02:30 -04:00
psychedelicious
db283d21f9
chore(ui): lint
2024-10-02 08:02:30 -04:00
psychedelicious
70cca7a431
fix(ui): floating button tooltip orientations
2024-10-02 08:02:30 -04:00
psychedelicious
3c3938cfc8
tweak(ui): left-hand panel buttons
2024-10-02 08:02:30 -04:00
psychedelicious
4455fc4092
fix(ui): next/prev image buttons layout
2024-10-02 08:02:30 -04:00
psychedelicious
4b7e920612
feat(ui): add canvas setting for pressure sens
2024-10-02 08:02:30 -04:00
psychedelicious
433146d08f
tidy(ui): restore redux store checks
2024-10-02 08:02:30 -04:00
psychedelicious
324a46d0c8
fix(ui): edge cases with tool rendering
2024-10-02 08:02:30 -04:00
psychedelicious
c4421241f6
feat(ui): updated layout for small screens
...
- Move color picker to floating buttons
- Always show floating buttons
- Minor layout tweaks for floating buttons
2024-10-02 08:02:30 -04:00
psychedelicious
43b417be6b
tidy(ui): remove unused perfect-freehand options from brush state
2024-10-02 08:02:30 -04:00
psychedelicious
4a135c1017
feat(ui): hide brush preview when drawing with pen
2024-10-02 08:02:30 -04:00
psychedelicious
dd591abc2b
feat(ui): hide brush fill circle on timeout
2024-10-02 08:02:30 -04:00
psychedelicious
0e65f295ac
feat(ui): initial pressure sensitivity implementation
2024-10-02 08:02:30 -04:00
psychedelicious
ab7fbb7b30
feat(ui): use touch-action: none instead of events to prevent pan/zoom
2024-10-02 08:02:30 -04:00
psychedelicious
92aed5e4fc
chore(ui): add perfect-freehand dep for tablet support
2024-10-02 08:02:30 -04:00
psychedelicious
d9b0697d1f
feat(ui): use pointer events instead of mouse events
...
This gets touch input and tablet input working for basic drawing functions.
2024-10-02 08:02:30 -04:00
psychedelicious
34a9409bc1
feat(ui): prevent app from scrolling on touch events
2024-10-02 08:02:30 -04:00