299 Commits

Author SHA1 Message Date
cmdr2
a0de0b5814 Minor refactoring of SD dir variables 2024-09-24 17:40:00 +05:30
cmdr2
6559c41b2e minor log import change 2024-09-24 17:27:50 +05:30
cmdr2
5fe3acd44b
Use 1.4 by default, instead of 1.5 2024-09-09 18:34:32 +05:30
cmdr2
89f5e07619
Log the exception while trying to create an extension info file 2024-07-24 09:47:35 +05:30
d8ahazard
45f350239e
Don't break if we can't write a file 2024-07-23 17:56:35 -05:00
cmdr2
a261a2d47d Fix #1779 - add to PATH only if it isn't present, to avoid exploding the PATH variable each time the function is called 2024-06-14 09:43:30 +05:30
cmdr2
44789bf16b sdkit 2.0.15.4 - Controlnet strength slider 2024-05-28 18:45:08 +05:30
cmdr2
85eaa305cc Hotfix for #1701 - run disable VAE tiling only on pipelines that support it 2023-12-12 18:07:56 +05:30
cmdr2
097780be26 Setting to enable/disable VAE tiling 2023-12-11 22:28:19 +05:30
cmdr2
e999832c26 Prevent the user from changing the metadata format if the server has set force_save_metadata 2023-09-30 20:11:28 +05:30
JeLuF
6311b80474 Loramanager fixes
- avoid console errors in python and JS code
- suppress localhost:9000/null links
2023-09-14 23:15:27 +02:00
cmdr2
134c98ccb5
Merge pull request #1565 from JeLuF/loramanager
Lora Manager
2023-09-14 19:05:17 +05:30
JeLuF
4aca3c4639
Lora Manager 2023-09-04 01:36:32 +02:00
JeLuF
ea07483465 Error handling for models_dir 2023-09-01 22:54:03 +02:00
cmdr2
ad5641fa3e Fix incorrect metadata generation of embeddings, by removing duplicated logic. The UI already handles this 2023-09-01 19:52:20 +05:30
cmdr2
19f37907d9 Allow changing the models directory via a setting, to share models with other locations on the disk 2023-09-01 10:40:18 +05:30
cmdr2
f02b915cd0 Fix typo when using force_save_path 2023-08-31 22:11:42 +05:30
cmdr2
7a118eeb15 Rename the test_diffusers config key to upgrade all the existing users to the v3 engine. Users can now opt to disable v3. This upgrades existing users who had maybe tried diffusers many months ago (when it was still unstable) and decided against it (at that time). 2023-08-31 19:20:26 +05:30
cmdr2
536082c1a6 Save filtered images to disk if required by the API, for e.g. when clicking 'Upscale' or 'Fix Faces on the image 2023-08-31 15:57:53 +05:30
cmdr2
16f0950ebd sdkit 2.0.6 - Fix broken VAE tiling 2023-08-30 17:42:50 +05:30
cmdr2
80e47be5a5 Prevent block_nsfw from getting edited via the HTTP api 2023-08-30 16:22:05 +05:30
cmdr2
9a9f6e3559 Server-side config to allow force-blocking of NSFW images 2023-08-30 16:13:10 +05:30
cmdr2
56bea46e3a Use absolute config path 2023-08-30 15:34:55 +05:30
cmdr2
a09441b2c8 Change the tensorrt installation commands to what NVIDIA suggested over chat 2023-08-30 15:14:05 +05:30
cmdr2
ab5450bb27 Don't download codeformer and controlnet if not being used 2023-08-30 14:39:43 +05:30
cmdr2
3792a1bc0d sdkit 2.0.4 - use sd 1.5 fp16 by default, if no model is present 2023-08-29 20:06:54 +05:30
cmdr2
f9f9aba92d f 2023-08-24 17:39:39 +05:30
cmdr2
3f278cf2ad Pick the right embedding even if it has an underscore 2023-08-24 17:36:49 +05:30
JeLuF
cb7ba96dad
Fix handling of embeddings with space in their name (#1402)
* Fix handling of files with space in their name

* Handle embeddings in save files

* Moved get_embedding_token

* Moved get_embedding_token

* Update save_utils.py
2023-08-24 16:32:17 +05:30
JeLuF
31edce4a60
Add ".pt" to the Lora extensions (#1518)
https://discord.com/channels/1014774730907209781/1014774732018683926/1144179143873929288

There seem to be ".pt" LORA files in the wild.
2023-08-24 16:09:42 +05:30
cmdr2
dba573bf1a Show v3 engine selection even without beta 2023-08-23 13:02:20 +05:30
cmdr2
1fd011b1be Don't fail if the prompt strength is too low 2023-08-22 15:41:21 +05:30
rbertus2000
669d40a9d2
fix embedding parser and use standard embedding varuable for metadata (#1516) 2023-08-22 09:08:59 +05:30
cmdr2
f2b441d9fc typo 2023-08-21 19:20:23 +05:30
cmdr2
41d4ad2096 sdkit 1.0.179 - tile controlnet 2023-08-21 14:29:54 +05:30
JeLuF
bdd7d2599f
API to get SHA256 of a model file (#1510)
To be used from javascript to collect metadata from civitai
https://civitai.com/api/v1/model-versions/by-hash/0A35347528
2023-08-19 09:47:59 +05:30
cmdr2
1b6ec418a1 sdkit 1.0.177 - rotate images if EXIF rotation present 2023-08-18 19:01:16 +05:30
cmdr2
ab4d34e509 sdkit 1.0.176 - resize control images to the task dimensions, to avoid memory errors with high-res control images 2023-08-18 18:43:23 +05:30
cmdr2
7f878f365b Don't add hypernetwork info in the metadata if using diffusers (v3 engine) 2023-08-18 18:23:21 +05:30
JeLuF
7270b5fe0c
Thumbnails for Embeddings (#1483)
* sqlalchemy

* sqlalchemy

* sqlalchemy bucket v1

* Bucket API

* Move easydb files to its own folders

* show images

* add croppr

* croppr ui

* profile, thumbnail croppr size limit

* fill list

* add upload

* Use modifiers card, resize thumbs

* Remove debugging code

* remove unused variable
2023-08-17 11:33:05 +05:30
cmdr2
ac1c65fba1 Move the extraction logic for embeddings-from-prompt, from sdkit to ED's UI 2023-08-17 10:54:47 +05:30
cmdr2
0adb7831e7 Use the correct nvidia wheels path 2023-08-15 12:53:16 +05:30
cmdr2
50dea4cb52 Use --pre for trt installs 2023-08-04 19:48:24 +05:30
cmdr2
20b06db359 Include onnx and polygraphy for TRT, and allow skipping the wheels for TRT 2023-08-04 19:46:37 +05:30
cmdr2
2d2a75f23c v2.6.0 (beta) - switch beta to use diffusers by default 2023-08-03 20:01:27 +05:30
cmdr2
9a528496a3 Reload the model if the path exists in the request but the model has been unloaded 2023-08-03 15:13:41 +05:30
cmdr2
f0f6578b9c Round image sizes to a multiple of 8 2023-08-03 10:22:24 +05:30
cmdr2
befe8ad24e TRT logging 2023-08-02 18:55:09 +05:30
cmdr2
76b7e32125 Bug fixes for TRT 2023-08-02 16:37:05 +05:30
Olivia Godone-Maresca
7d496f4ad0
Add ControlNet model and filter to metadata (#1454) 2023-08-02 10:13:21 +05:30