psychedelicious
df32974378
fix(ui): add checks for cogview4's dimension restrictions
2025-04-10 10:50:13 +10:00
psychedelicious
ad582c8cc5
feat(nodes): rename CogView4 nodes to match naming format
2025-04-10 10:50:13 +10:00
psychedelicious
47273135ca
feat(ui): add cogview4 and inpainting tags to library
2025-04-10 10:50:13 +10:00
psychedelicious
c99e65bdab
feat(app): add cogview4 default workflows
2025-04-10 10:50:13 +10:00
Mary Hipp
92b726d731
update available params for cogview4
2025-04-10 10:50:13 +10:00
Mary Hipp
8837932bad
create hook for managing entity type enabledness for given base model and update usage
2025-04-10 10:50:13 +10:00
Mary Hipp
9846229e52
build graph for cogview4
2025-04-10 10:50:13 +10:00
maryhipp
305c5761d0
add generation modes for cogview linear
2025-04-10 10:50:13 +10:00
Ryan Dick
3ba399779f
Fix lint error.
2025-04-10 10:50:13 +10:00
Ryan Dick
46316e43f0
typegen
2025-04-10 10:50:13 +10:00
Ryan Dick
d86cd66994
Add CogView4 VAE approximation for progress images.
2025-04-10 10:50:13 +10:00
Ryan Dick
13850271ab
Add inpainting to CogView4DenoiseInvocation.
2025-04-10 10:50:13 +10:00
Ryan Dick
7e894ffe83
Consolidate InpaintExtension implementations for SD3 and FLUX.
2025-04-10 10:50:13 +10:00
Ryan Dick
0939030324
Support cfg_scale list in CogView4Denoise.
2025-04-10 10:50:13 +10:00
Ryan Dick
30f19dc37a
Update CogView4Denoise to support image-to-image.
2025-04-10 10:50:13 +10:00
Ryan Dick
ace5e748f4
Simplify CogView4 timesteps schedule generation in preparation for timestep schedule slipping.
2025-04-10 10:50:13 +10:00
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
883297c809
Bump diffusers to dev version with CogView4 support.
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
98260a8efc
test: add size field to test model configs
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
v5.10.0a1
2025-04-08 11:01:37 +10:00