Lincoln Stein
f0918edf98
improve error reporting on unrecognized lora models
2023-08-07 16:38:58 -04:00
Lincoln Stein
a846d82fa1
Add techedi code to avoid rendering prompt/seed with null
...
- Added techjedi github and real names
2023-08-07 16:29:46 -04:00
Lincoln Stein
22f7cf0638
add stalker's complicated but effective code for finding token vector length in LoRAs
2023-08-07 16:19:57 -04:00
Kevin Turner
25c669b1d6
Merge remote-tracking branch 'origin/main' into refactor/remove_unused_pipeline_methods
2023-08-07 13:03:10 -07:00
Kevin Turner
4367061b19
fix(ModelManager): fix overridden VAE with relative path ( #4059 )
2023-08-07 12:57:32 -07:00
Lincoln Stein
0fd13d3604
Merge branch 'main' into feat/select-vram-in-config
2023-08-07 15:51:59 -04:00
Lincoln Stein
72a3e776b2
fix logic error introduced in PR 4109
2023-08-07 15:38:22 -04:00
Lincoln Stein
af044007d5
pick correct config file for sdxl models
2023-08-07 15:19:49 -04:00
Sergey Borisov
1db2c93f75
Fix preview, inpaint
2023-08-07 21:27:32 +03:00
Kevin Turner
f272a44feb
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-07 10:59:28 -07:00
Sergey Borisov
2539e26c18
Apply denoising_start/end, add torch-sdp to memory effictiend attention func
2023-08-07 19:57:11 +03:00
Sergey Borisov
b0738b7f70
Fixes, zero tensor for empty negative prompt, remove raw prompt node
2023-08-07 18:37:06 +03:00
psychedelicious
8469d3e95a
chore: black
2023-08-07 10:05:52 +10:00
Jonathan
ae17d01e1d
Fix hue adjustment ( #4182 )
...
* Fix hue adjustment
Hue adjustment wasn't working correctly because color channels got swapped. This has now been fixed and we're using PIL rather than cv2 to do the RGBA->HSV->RGBA conversion. The range of hue adjustment is also the more typical 0..360 degrees.
2023-08-06 23:23:51 +00:00
Lincoln Stein
f3d3316558
probe LoRAs that do not have the text encoder
2023-08-06 16:00:53 -04:00
Lincoln Stein
5a6cefb0ea
add backslash to end of incomplete windows paths
2023-08-06 12:34:35 -04:00
Lincoln Stein
1a6f5f0860
use backslash on Windows systems for autoadded delimiter
2023-08-06 12:29:31 -04:00
Kevin Turner
5bfd6cb66f
Merge remote-tracking branch 'origin/main' into refactor/model_manager_instantiate
...
# Conflicts:
# invokeai/backend/model_management/model_manager.py
2023-08-05 22:02:28 -07:00
Kevin Turner
59caff7ff0
refactor(diffusers_pipeline): remove unused img2img wrappers 🚮
...
invokeai.app no longer needs this as a single method, as it builds on latents2latents instead.
2023-08-05 21:50:52 -07:00
Kevin Turner
6487e7d906
refactor(diffusers_pipeline): remove unused ModelGroup 🚮
...
orphaned since #3550 removed the LazilyLoadedModelGroup code, probably unused since ModelCache took over responsibility for sequential offload somewhere around #3335 .
2023-08-05 21:50:52 -07:00
Kevin Turner
77033eabd3
refactor(diffusers_pipeline): remove unused precision
🚮
2023-08-05 21:50:52 -07:00
Kevin Turner
b80abdd101
refactor(diffusers_pipeline): remove unused image_from_embeddings 🚮
2023-08-05 21:50:52 -07:00
Kevin Turner
006d782cc8
refactor(diffusers_pipeline): tidy imports 🚮
2023-08-05 21:50:52 -07:00
psychedelicious
d09dfc3e9b
fix(api): use db_location
instead of db_path_string
...
This may just be the SQLite memory sentinel value.
2023-08-06 14:09:04 +10:00
psychedelicious
66f524cae7
fix(mm): fix a lot of typing issues
...
Most fixes are just things being typed as `str` but having default values of `None`, but there are some minor logic changes.
2023-08-06 14:09:04 +10:00
psychedelicious
9ba50130a1
fix(api): fix db location types
...
The services all want strings instead of `Path`s; create variable for the string representation of the path provided by the config services.
2023-08-06 14:09:04 +10:00
psychedelicious
d4cf2d2666
fix(api): fix ApiDependencies.invoker
types
...
ApiDependencies.invoker` provides typing for the API's services layer. Marking it `Optional` results in all the routes seeing it as optional, which is not good.
Instead of marking it optional to satisfy the initial assignment to `None`, we can just skip the initial assignment. This preserves the IDE hinting in API layer and is types-legal.
2023-08-06 14:09:04 +10:00
Sergey Borisov
9aaf67c5b4
wip
2023-08-06 05:05:25 +03:00
psychedelicious
b8b589c150
fix(nodes): fix hsl nodes rebase conflict
2023-08-06 09:57:49 +10:00
Kent Keirsey
d93900a8de
Added HSL Nodes
2023-08-06 09:57:49 +10:00
Kevin Turner
7f4c387080
test(model_management): factor out name strings
2023-08-05 15:46:46 -07:00
Kevin Turner
80876bbbd1
Merge remote-tracking branch 'origin/refactor/model_manager_instantiate' into refactor/model_manager_instantiate
2023-08-05 15:25:05 -07:00
Kevin Turner
7a4ff4c089
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-05 15:23:38 -07:00
Kevin Turner
44bf308192
test(model_management): add a couple tests for _get_model_path
2023-08-05 15:22:23 -07:00
Lincoln Stein
12e51c84ae
blackified
2023-08-05 14:26:16 -07:00
Lincoln Stein
b2eb83deff
add docs
2023-08-05 14:26:16 -07:00
Lincoln Stein
0ccc3b509e
add techjedi's import script, with some filecompletion tweaks
2023-08-05 14:26:16 -07:00
Lincoln Stein
4043a4c21c
blackified
2023-08-05 12:44:58 -04:00
Lincoln Stein
c8ceb96091
add docs
2023-08-05 12:26:52 -04:00
Lincoln Stein
83f75750a9
add techjedi's import script, with some filecompletion tweaks
2023-08-05 12:19:24 -04:00
Jonathan
dc96a3e79d
Fix random number generator
...
Passing in seed=0 is not equivalent to seed=None. The latter will get a new seed from entropy in the OS, and that's what we should be using.
2023-08-06 00:29:08 +10:00
Lincoln Stein
c076f1397e
rebuild frontend
2023-08-05 14:40:42 +10:00
Lincoln Stein
2568aafc0b
bump version number so that pip updates work
2023-08-05 14:40:42 +10:00
Kevin Turner
65ed224bfc
Merge branch 'main' into refactor/model_manager_instantiate
2023-08-04 21:34:38 -07:00
psychedelicious
b6e369c745
chore: black
2023-08-05 12:28:35 +10:00
gogurtenjoyer
ecabfc252b
devices.py - Update MPS FP16 check to account for upcoming MacOS Sonoma
...
float16 doesn't seem to work on MacOS Sonoma due to further changes with Metal. This'll default back to float32 for Sonoma users.
2023-08-05 12:28:35 +10:00
psychedelicious
da96a41103
Merge branch 'main' into feat/select-vram-in-config
2023-08-05 12:11:50 +10:00
Lincoln Stein
d162b78767
fix broken civitai example link
2023-08-05 12:10:52 +10:00
psychedelicious
eb6c317f04
chore: black
2023-08-05 12:05:24 +10:00
psychedelicious
6d7223238f
fix: fix typo in message
2023-08-05 12:05:24 +10:00