Ryan Dick
4fae8ad163
Add CogView4ImageToLatentsInvocation.
2025-04-10 10:50:13 +10:00
Ryan Dick
5e75bc570a
Fix bug in CogView4 noise schedule handling that was resulting in low-quality images.
2025-04-10 10:50:13 +10:00
Ryan Dick
3166b5d2ea
Switch to sequential CFG for CogView4 (for now, until I sort out the padding).
2025-04-10 10:50:13 +10:00
Ryan Dick
321c2d358c
Add CogView4 model loader. And various other fixes to get a CogView4 workflow running (though quality is still below expectations).
2025-04-10 10:50:13 +10:00
Ryan Dick
0338983895
Update CogView4 starter model entry with approximate bundle size.
2025-04-10 10:50:13 +10:00
Ryan Dick
f4e00ab261
Add CogView4 to frontend.
2025-04-10 10:50:13 +10:00
Ryan Dick
e1133bc53f
Fix typo in BaseModelTypo.CogView4.
2025-04-10 10:50:13 +10:00
Ryan Dick
e1ccbd5c29
typegen
2025-04-10 10:50:13 +10:00
Ryan Dick
cf76a0b575
Add CogView4ModelLoaderInvocation. (Not wired up with frontend yet.)
2025-04-10 10:50:13 +10:00
Ryan Dick
67bfd63c73
Require the cogview4 height/width are multiples of 32. This requirement is documented here: https://huggingface.co/THUDM/CogView4-6B . I haven't tracked down the underlying source of this requirement.
2025-04-10 10:50:13 +10:00
Ryan Dick
cdad8a4fd1
Add CogView4LatentsToImageInvocation.
2025-04-10 10:50:13 +10:00
Ryan Dick
5d9797945b
Completed first pass of CogView4Denoise.
2025-04-10 10:50:13 +10:00
Ryan Dick
78159c3200
Simplify CogView4 timestep schedule initialization.
2025-04-10 10:50:13 +10:00
Ryan Dick
1320c4fa13
WIP - CogView4DenoiseInvocation.
2025-04-10 10:50:13 +10:00
Ryan Dick
bac05a7885
Add CogView4TextEncoderInvocation
2025-04-10 10:50:13 +10:00
Ryan Dick
e2c4ea8e89
Add CogView4 model probing.
2025-04-10 10:50:13 +10:00
psychedelicious
851e23d6b4
feat(ui): move size to be next to model name
2025-04-10 09:53:03 +10:00
psychedelicious
7c8c9694ce
feat(ui): use filesize package to format model file size
2025-04-10 09:53:03 +10:00
Kevin Turner
52a8ad1c18
chore: rename model.size to model.file_size
...
to disambiguate from RAM size or pixel size
2025-04-10 09:53:03 +10:00
Kevin Turner
e537020c11
chore: cursed whitespace fight
2025-04-10 09:53:03 +10:00
Kevin Turner
c50d1d6127
test: add size field to model metadata
2025-04-10 09:53:03 +10:00
Kevin Turner
53292b3592
fix: localization for file size units
2025-04-10 09:53:03 +10:00
Kevin Turner
bcfc61b2d7
feat: show model size in model list
2025-04-10 09:53:03 +10:00
Kevin Turner
9d869fc9ce
chore: typegen
2025-04-10 09:53:03 +10:00
Kevin Turner
f09aacf992
fix: ModelProbe.probe needs to return a size field
2025-04-10 09:53:03 +10:00
Kevin Turner
9590e8ff39
feat: expose model storage size
2025-04-10 09:53:03 +10:00
psychedelicious
a23d90187b
feat(ui): allow send-image-to-canvas to work when canvas is uninitialized
...
Add `useCanvasIsBusySafe()` hook. This is like `useCanvasIsBusy()`, but when the canvas is not initialized, it gracefully falls back to false instead of raising.
Because app tabs are lazy-loaded, the canvas is not initialized until the user visits that tab. If the page loads up on the workflows tab, the canvas will be uninitialized until the user clicks on it.
This graceful fallback behaviour allows actions like sending an image to canvas to work even when the canvas is not yet initialized. These actions are exposed in the image context menu, and previously were hidden when the canvas was not initialized. We can now show these actions and use them even when the canvas is uninitialized.
- Add `useCanvasIsBusySafe()` hook
- Use the new hook in the image context menu for send to canvas actions
- Do not use `<CanvasManagerProviderGate />` in the image context menu (this was hiding the actions when canvas was uninitialized)
2025-04-10 06:44:44 +10:00
psychedelicious
f655a85154
fix(ui): canvas dnd drop indicator color
2025-04-10 06:42:01 +10:00
psychedelicious
f45b494805
tidy(ui): remove extraneous calls to HTMLElement.remove()
...
these will be auto-gc'd when there are no more references
2025-04-09 14:00:20 +10:00
psychedelicious
d1776e0b63
feat(ui): safer use of drawImage
...
When calling `ctx.drawImage()`, if the image to be drawn has a width of height of 0, the call will raise.
In this change, I have carefully reviewed the call hierarchy for all of our own code that calls this method and ensured that each call has error handling.
Well, with one exception - I'm not sure how to handle errors in `invokeai/frontend/web/src/common/hooks/useClientSideUpload.ts`. But this should never be an issue in that hook - it's a Canvas problem.
2025-04-09 14:00:20 +10:00
psychedelicious
646887e3c9
feat(ui): save canvas/bbox to gallery saves basic metadata
...
- Positive prompt
- Negative prompt
- Seed
- Model (if set)
The rest is a bit complicated to derive as it comes from the graph building process.
2025-04-09 08:52:38 +10:00
Riccardo Giovanetti
e7e25a0c37
translationBot(ui): update translation (Italian)
...
Currently translated at 98.7% (1849 of 1873 strings)
translationBot(ui): update translation (Italian)
Currently translated at 97.8% (1833 of 1873 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-04-08 11:01:37 +10:00
Linos
589b849e64
translationBot(ui): update translation (Vietnamese)
...
Currently translated at 100.0% (1873 of 1873 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 100.0% (1871 of 1871 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 99.2% (1857 of 1871 strings)
translationBot(ui): update translation (Vietnamese)
Currently translated at 100.0% (1840 of 1840 strings)
Co-authored-by: Linos <linos.coding@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/vi/
Translation: InvokeAI/Web UI
2025-04-08 11:01:37 +10:00
psychedelicious
aedbc9f778
chore: prep for v5.10.0a1
2025-04-08 10:59:08 +10:00
psychedelicious
a0cf9e2e80
tweak(ui): ip adapter settings layout
2025-04-08 10:33:45 +10:00
psychedelicious
5c8f1c5666
fix(ui): use flux redux influence on regional guidance
2025-04-08 10:33:45 +10:00
psychedelicious
fd37117221
chore(ui): lint
2025-04-08 10:33:45 +10:00
psychedelicious
5956f96e57
feat(ui): add flux redux image influence to canvas
2025-04-08 10:33:45 +10:00
psychedelicious
49622c37ed
fix(nodes): logic bug in flux redux node
2025-04-08 10:33:45 +10:00
psychedelicious
50387c8f64
chore(ui): typegen
2025-04-08 10:33:45 +10:00
skunkworxdark
e1538af219
Update flux_redux.py
...
Add down sampling and weight to redux node
2025-04-08 10:33:45 +10:00
psychedelicious
e5a0010a72
fix(ui): normalize alpha value to 0-1 when picking color on canvas
2025-04-08 08:20:49 +10:00
psychedelicious
b75d1b2473
refactor(ui): move update node logic from listener to hook
2025-04-08 08:18:17 +10:00
psychedelicious
b91bb9ba9f
fix(ui): remove debug logger middleware
2025-04-08 08:18:17 +10:00
psychedelicious
a7c818bcae
fix(ui): rebase import issue
2025-04-08 08:18:17 +10:00
psychedelicious
a54b255718
chore(ui): lint
2025-04-08 08:18:17 +10:00
psychedelicious
3e04baa684
feat(ui): improved undo/redo history grouping for selections and postiino changes
2025-04-08 08:18:17 +10:00
psychedelicious
d23db705dd
feat(ui): improved undo/redo history grouping
2025-04-08 08:18:17 +10:00
psychedelicious
96a481530d
refactor(ui): merge the workflow and nodes slices
...
This allows undo/redo history to apply to node editor and workflow details/form.
2025-04-08 08:18:17 +10:00
psychedelicious
a0b515979a
Revert "correctly set is_published when loading a workflow"
...
This reverts commit e4b07894fd55b3a24fc006882585b6d55fe329c3.
2025-04-08 07:05:12 +10:00