patriceac
ab3e20fbd6
Removing duplicate import
...
Removing duplicate import.
2024-07-21 01:37:25 -07:00
patriceac
b815ad01ff
Prevent Computer from Sleeping During Image Generation
...
This pull request introduces functionality to prevent the computer from going to sleep while images are being generated, ensuring consistent performance across Windows, macOS, and Linux. The changes involve integrating system-level calls to manage the sleep state within the `render_internal` function.
**Changes:**
- Added `PreventSleep` class to handle sleep prevention across different operating systems:
- **Windows**: Utilizes `ctypes` to call `SetThreadExecutionState` to prevent and allow sleep.
- **macOS**: Uses the `caffeinate` command to prevent sleep.
- **Linux**: Uses `systemd-inhibit` to prevent sleep.
- Integrated these functions into the `render_internal` function to prevent the system from sleeping during the image generation process and to allow it to sleep once the process is complete.
This enhancement ensures uninterrupted image generation, improving the reliability of the application during long-running tasks on all supported platforms.
**Note**: I only tested this functionality on Windows.
2024-07-21 01:33:58 -07:00
cmdr2
364902f8a1
Ignore text in the version string when comparing them
2024-06-14 09:48:49 +05:30
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
d062c2149a
temp hotfix for rocm torch
2024-06-13 14:05:11 +05:30
cmdr2
fcdc3f2dd0
Don't crash if psutils fails to get cpu or memory usage
2024-06-11 18:27:21 +05:30
cmdr2
1fa83eda0e
Merge pull request #1800 from siakc/uvicorn-run-programmatically
...
Enhancement - using uvicorn.run() instead of os.system()
2024-06-06 17:51:06 +05:30
cmdr2
969751a195
Use uvicorn.run since it's clearer to read
2024-06-06 17:50:41 +05:30
cmdr2
1ae8675487
typo
2024-06-06 16:20:04 +05:30
cmdr2
05f0bfebba
Upgrade torch if using the newer sdkit versions
2024-06-06 16:18:11 +05:30
Siavosh Kasravi
91ad53cd94
Enhancement - using uvicorn.run() instead of os.system()
2024-06-06 10:28:01 +03:30
cmdr2
de680dfd09
Print diffusers' version
2024-06-05 18:53:45 +05:30
cmdr2
4edeb14e94
Allow a user to opt-in to the latest sdkit+diffusers version, while keeping existing 2.0.15.x users restricted to diffusers 0.21.4. This avoids a lengthy upgrade for existing users, while allowing users to opt-in to the latest version. More to come.
2024-06-05 18:46:22 +05:30
cmdr2
66d0c4726e
Another typo
2024-06-01 09:01:35 +05:30
cmdr2
b9c343195b
typo
2024-05-31 19:30:29 +05:30
cmdr2
87c8fe2758
Generalize the hotfix for missing sdkit dependencies. This is still a temporary hotfix, but will ensure that missing packages are installed, not assume that having picklescan means everything's good
2024-05-31 19:27:30 +05:30
cmdr2
c4b938f132
Hotfix - sdkit's dependencies aren't getting pulled for some reason
2024-05-31 10:56:43 +05:30
cmdr2
54ac1f7169
Hotfix for older accelerate version in the Windows installer
2024-05-30 17:50:36 +05:30
cmdr2
21644adbe1
sdkit 2.0.15.6 - typo that prevented 0 controlnet strength
2024-05-29 10:01:04 +05:30
cmdr2
fe3c648a24
sdkit 2.0.15.5 - minor null check
2024-05-28 19:46:59 +05:30
cmdr2
05f3523364
Set the controlnet alpha correctly from older exports; Fix a bug with null lora model in exports
2024-05-28 19:16:48 +05:30
cmdr2
4d9b023378
changelog
2024-05-28 18:48:23 +05:30
cmdr2
44789bf16b
sdkit 2.0.15.4 - Controlnet strength slider
2024-05-28 18:45:08 +05:30
cmdr2
ad649a8050
sdkit 2.0.15.3 - disable watermarking on SDXL ControlNets to avoid visual artifacts
2024-05-28 09:00:57 +05:30
cmdr2
723304204e
diffusers 0.21.4
2024-05-27 15:26:09 +05:30
cmdr2
ddf54d589e
v3.0.8 - use sdkit 2.0.15.1, to enable SDXL Controlnets for img2img and inpainting, using diffusers 0.21.4
2024-05-27 15:18:14 +05:30
cmdr2
4d28c78fcc
Another hotfix for setuptools version on Windows and Linux/mac
2024-05-27 10:57:20 +05:30
cmdr2
21ff109632
Pin setuptools to 0.59
2024-05-27 10:45:19 +05:30
cmdr2
fb749dbe24
Potential hotfix for #1781 - pin setuptools to a specific version, until clip is upgraded
2024-05-27 10:37:09 +05:30
cmdr2
17ef1e04f7
Roll back sdkit 2.0.18 (again)
2024-03-19 20:06:49 +05:30
cmdr2
a5b9eefcf9
v3.0.8 - update diffusers to v0.26.3
2024-03-19 19:17:10 +05:30
cmdr2
e5519cda37
sdkit 2.0.18 (diffusers 0.26.3)
2024-03-19 19:12:00 +05:30
cmdr2
d1bd9e2a16
Prev version
2024-03-13 19:53:14 +05:30
cmdr2
5924d01789
Temporarily revert to sdkit 2.0.15
2024-03-13 19:05:55 +05:30
cmdr2
47432fe54e
diffusers 0.26.3
2024-03-13 19:01:09 +05:30
cmdr2
8660a79ccd
v3.0.8 - update diffusers to v0.26.3
2024-03-13 18:44:17 +05:30
cmdr2
547febafba
Autosave the VAE tiling setting
2023-12-12 18:10:04 +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
e77629c525
Version and changelog
2023-12-11 22:31:12 +05:30
cmdr2
097780be26
Setting to enable/disable VAE tiling
2023-12-11 22:28:19 +05:30
cmdr2
398a0509d7
Banner change
2023-10-12 10:05:43 +05:30
cmdr2
52cc99bf1f
Revert "Revert the support banner experiment"
...
This reverts commit 45a14a9be9f7b0df7f703a20583f84421825e665.
2023-10-12 09:58:29 +05:30
cmdr2
9bd4b3a6d0
sdkit 2.0.15 - fix for gfgpan/realesrgan in parallel threads with Stable Diffusion
2023-10-05 19:04:19 +05:30
cmdr2
8a98df4673
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
2023-10-03 19:35:36 +05:30
cmdr2
45a14a9be9
Revert the support banner experiment
2023-10-03 19:35:23 +05:30
cmdr2
e419276e34
Merge pull request #1621 from easydiffusion/main
...
Main
2023-10-03 12:45:36 +05:30
cmdr2
0a92b7b1d5
Merge pull request #1620 from easydiffusion/beta
...
Use sd 2.1.5
2023-10-03 12:42:11 +05:30
cmdr2
f110168366
Use sd 2.1.5
2023-10-03 12:41:51 +05:30
cmdr2
ce24a05909
Merge pull request #1619 from easydiffusion/beta
...
Beta
2023-10-03 12:39:29 +05:30
cmdr2
45facf64e5
sdkit 2.0.14 - pin transformers 4.33.2 (via sd 2.1.5) and acccelerate 0.23.0, and k-diffusion to 0.0.12
2023-10-02 12:08:58 +05:30