Marc-Andre Ferland
6229cdb1ba
Added a missing device_name
2022-10-29 17:47:45 -04:00
Marc-Andre Ferland
b7a663ed20
Implement complete device selection in the backend.
2022-10-29 17:34:53 -04:00
Marc-Andre Ferland
3bd97352ba
Don't reset reqBody, only replace using req as we use a new task object created from UI inputs.
...
Fix plugins needing to specify many params or they would be missing in the render request.
2022-10-29 14:47:58 -04:00
cmdr2
5e22360cb1
Change the JS/CSS version
2022-10-29 18:10:23 +05:30
Michael Nahkies
840348b4eb
fix: change to the correct working directory
...
changes to the directory containing `start.sh` prior to activating the conda environment
this allows you to run the program without first changing to the correct directory, eg: `$ ~/bin/stable-diffusion-ui/start.sh`
2022-10-29 15:09:04 +05:30
cmdr2
cf04738594
Merge pull request #420 from madrang/beta
...
Missing .lower() cause CUDA:0 to fail check where cuda:0 works.
2022-10-29 15:01:13 +05:30
Marc-Andre Ferland
03757632cf
Missing .lower() cause CUDA:0 to fail check where cuda:0 works.
2022-10-29 04:33:14 -04:00
cmdr2
e818f5a93f
Bump version
2022-10-29 12:29:28 +05:30
cmdr2
ab9b08770a
Merge pull request #417 from mdiller/mdiller_parameters
...
Moved System Settings & Reworked into "Parameters"
2022-10-29 12:04:21 +05:30
cmdr2
40df8b68ad
Merge pull request #418 from madrang/beta
...
Changed failure in start_render_thread to return false instead of throwing exception
2022-10-29 11:33:36 +05:30
Marc-Andre Ferland
9f5202fee3
Improved readability and comments.
2022-10-29 00:43:02 -04:00
Marc-Andre Ferland
902ccbd203
Don't try to start cuda:0 if auto used cpu mode.
2022-10-29 00:36:26 -04:00
Marc-Andre Ferland
4675da4d16
Display warning on start failure.
...
Removes spam from exception and continue starting other devices.
2022-10-28 22:53:55 -04:00
Marc-Andre Ferland
86da27a7a1
Moved wait outside lock and now returns false on failure.
2022-10-28 22:52:00 -04:00
Marc-Andre Ferland
fc2a6567da
Moved import before use of runtime.thread_data.device
2022-10-28 22:51:04 -04:00
Malcolm Diller
7c611d9b62
added some shadow and animation to popups
2022-10-28 18:41:41 -07:00
Malcolm Diller
784c7465d1
updated settings labels
2022-10-28 18:31:46 -07:00
Malcolm Diller
301af7bd7a
added parameters
2022-10-28 18:25:54 -07:00
Malcolm Diller
09c11a385d
normalized popups
2022-10-28 16:48:32 -07:00
cmdr2
ef6f491d94
Write lines, please
2022-10-28 22:42:11 +05:30
cmdr2
9dcef00fbb
New lines for config.sh
2022-10-28 22:35:04 +05:30
cmdr2
e781e5dd43
Need to wrap the filter() output in a list
2022-10-28 22:30:05 +05:30
cmdr2
d3e672d811
Replace os-specific newlines with writelines()
2022-10-28 22:23:52 +05:30
cmdr2
dad1554ec2
Fix a bug where config.bat would not get written properly
2022-10-28 21:07:18 +05:30
cmdr2
30bf96c6cd
Fix a bug where beta wouldn't switch properly because the config.bat/sh files weren't being written
2022-10-28 21:00:25 +05:30
cmdr2
a8c16e39b8
Support custom VAE files; Use vae-ft-mse-840000-ema-pruned as the default VAE, which can be overridden by putting a .vae.pt file inside models/stable-diffusion with the same name as the ckpt model file. The UI / System Settings allows setting the default VAE model to use
2022-10-28 20:06:44 +05:30
cmdr2
79a7cd2938
Merge pull request #414 from madrang/beta
...
Set online after preload. Move ident to include in if check.
2022-10-28 13:54:44 +05:30
Marc-Andre Ferland
26562e445f
Set online after preload. Move ident to include in if check.
2022-10-28 04:09:34 -04:00
cmdr2
2432491bfc
Merge pull request #411 from madrang/beta
...
Apply force_full_precision if was set on device_select.
2022-10-28 11:50:16 +05:30
cmdr2
a09ce3e026
Merge pull request #412 from mdiller/mdiller_progressbar
...
Quick Fix for Progressbar Behavior
2022-10-28 11:49:42 +05:30
Marc-Andre Ferland
c52fc843f6
Comment...
2022-10-28 02:09:11 -04:00
Marc-Andre Ferland
02240bda25
Moved up to not duplicate if statement.
2022-10-28 02:05:48 -04:00
Marc-Andre Ferland
0185ef7c83
Apply force_full_precision if was set on device_select.
2022-10-28 02:02:09 -04:00
Malcolm Diller
7d29b9901c
updated progressbar to end more consistently
2022-10-27 22:47:08 -07:00
cmdr2
ae553dfed3
Merge pull request #410 from madrang/beta
...
Only default to cpu on auto or current when cuda not available.
2022-10-28 10:43:28 +05:30
Marc-Andre Ferland
71c6beadb4
Only default to cpu on auto or current.
...
Not when a specific device was requested.
2022-10-28 01:09:38 -04:00
cmdr2
d939629c09
Bump version
2022-10-28 10:39:23 +05:30
cmdr2
0a569146a8
Merge pull request #406 from mdiller/mdiller_progressbar
...
Fixed/Implemented Progressbar
2022-10-28 10:34:03 +05:30
cmdr2
d5a012d49f
Merge pull request #407 from madrang/beta
...
Wait until device is fully ready before proceeding.
2022-10-28 10:28:16 +05:30
Marc-Andre Ferland
22a11769fa
Enable preload on cpu when no other devices are alive.
2022-10-27 21:57:50 -04:00
Marc-Andre Ferland
7dc7ba9977
Removed old comments.
2022-10-27 21:47:44 -04:00
Marc-Andre Ferland
fa4059a4b9
Removed all async code since now start_render_thread
wait for init to complete making this useless.
2022-10-27 21:40:16 -04:00
Marc-Andre Ferland
7f4786f9dd
Wait until device is fully ready before proceding.
2022-10-27 20:27:21 -04:00
Malcolm Diller
5a6e7a46d1
added progressbar
2022-10-27 17:03:09 -07:00
cmdr2
0dfaf9159d
Put back the check to only preload on GPU
2022-10-28 00:04:33 +05:30
cmdr2
5d8bda1178
Merge pull request #404 from cmdr2/multi-gpu
...
Support for multiple GPUs, and improvements to RAM and VRAM usage
2022-10-27 23:52:11 +05:30
cmdr2
9ad1e0d529
Allow the user to specify any disk path to the model, in the config
2022-10-27 23:39:29 +05:30
cmdr2
389e3397ec
Preload the model even in the CPU mode
2022-10-27 23:17:41 +05:30
cmdr2
284b95213e
Fix a bug where the device wouldn't get set if no cuda-compatible hardware was found
2022-10-27 22:59:55 +05:30
cmdr2
952854f64e
Revert 554650c18d
2022-10-27 22:59:17 +05:30