Commit Graph

3042 Commits

Author SHA1 Message Date
mauwii
fc4d07f198
reenable preload models, move huggingface-cache...
... on top of conda env activation, since `~/.cache` also contains pip
2022-10-29 08:59:23 +02:00
mauwii
e7aeaa310c
run without preload_models.py
since an upcoming update makes it interactive
2022-10-29 08:39:28 +02:00
mauwii
85b5fcd5e1
fix cache hit expression in download sd-model step
- also update sd-cache display name to include current model
2022-10-29 08:28:17 +02:00
mauwii
e5d0c9c224
include sd-switch in artifact name 2022-10-29 08:08:15 +02:00
psychedelicious
162e420e9c Adds socketio event for Ctrl+C cancel, style fixes 2022-10-29 16:57:05 +11:00
psychedelicious
bfbae09a9c Merge remote-tracking branch 'upstream/development' into inpainting-rebase 2022-10-29 16:35:46 +11:00
mauwii
d2e8ecbd4b
fix missing matrix-parameters 2022-10-29 07:35:43 +02:00
psychedelicious
a701e4f90b Fixes compilation error; builds new bundle 2022-10-29 16:32:21 +11:00
psychedelicious
f22f81b4ff Refactors gallery resizing, persists width 2022-10-29 16:30:51 +11:00
mauwii
63202e2467
try to run matrix with different models 2022-10-29 07:25:19 +02:00
Lincoln Stein
ef68a419f1 preload_models.py script downloads the weight files
- user can select which weight files to download using huggingface cache
- user must log in to huggingface, generate an access token, and accept
  license terms the very first time this is run. After that, everything
  works automatically.
- added placeholder for docs for installing models
- also got rid of unused config files. hopefully they weren't needed
  for textual inversion, but I don't think so.
2022-10-29 01:02:45 -04:00
psychedelicious
9fc6ee0c4c WIP: Fixes gallery resize bug 2022-10-29 14:50:04 +11:00
mauwii
ea65650883
add conda pkgs cache, remove conda env cache
also directly setup correct conda env
2022-10-29 05:49:12 +02:00
psychedelicious
5d76c57ce2 Misc fixes 2022-10-29 14:18:07 +11:00
psychedelicious
2c250a515e Misc fixes 2022-10-29 14:17:38 +11:00
psychedelicious
4204740cb2 Fixes failed inpainting with float bounding box 2022-10-29 14:17:18 +11:00
mauwii
bd3ba596c2
fix hashFiles function 2022-10-29 04:58:10 +02:00
mauwii
0a89d350d9
update conda cache to use actions/cache@v3 2022-10-29 04:54:01 +02:00
mauwii
b7fcf6dc04
readd conda env cache 2022-10-29 04:49:43 +02:00
psychedelicious
accb1779cb Fixes react dom warnings 2022-10-29 13:36:07 +11:00
psychedelicious
387f39407a Fixes bounding box hotkey conditions 2022-10-29 13:28:53 +11:00
psychedelicious
6a32adb7ed Fixes brush strokes not compositing correct on initial load 2022-10-29 13:12:34 +11:00
mauwii
3ab3a7d37a
use same environment-mac.yml as in #1289 2022-10-29 04:01:44 +02:00
mauwii
da5fd10bb9
pin nomkl 2022-10-29 03:34:12 +02:00
psychedelicious
9291fde960 Fixes responsive images (omg finally), removes app padding 2022-10-29 12:22:07 +11:00
mauwii
31ef15210d
pin versions corelating between arm64 and x64 2022-10-29 03:21:26 +02:00
mauwii
aa01657678
very fast on m1, synced with output of main branch 2022-10-29 02:43:52 +02:00
psychedelicious
6fb6bc6d7f Fixes #940 2022-10-29 11:10:48 +11:00
mauwii
da33e038ca
unpin pytorch / torchvision
also loosen verisons of scipy flask-socketio flask_cors
2022-10-29 02:06:33 +02:00
mauwii
78f7094a0b
set torchmetrics >=0.7.0 and use py-opencv=4.6.0 2022-10-29 01:24:38 +02:00
psychedelicious
0b046c95ef Merge remote-tracking branch 'origin/user-image-uploads' into inpainting-rebase 2022-10-29 09:41:07 +11:00
psychedelicious
c13d7aea56
Merge pull request #1 from blessedcoolant/user-image-uploads-styling
Styling Updates
2022-10-29 09:40:23 +11:00
mauwii
f7a47c1b67
reenable caching of sd model 2022-10-28 23:56:13 +02:00
mauwii
6c34b89cfb
loosen pytorch and torchvision version 2022-10-28 23:51:43 +02:00
mauwii
7138faf5d3
include stable-diffusion-model in job name 2022-10-28 23:51:17 +02:00
mauwii
0d3a931e88
update mac environment
use conda packages where possible as mentioned in conda docs
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-pkgs.html#installing-non-conda-packages
2022-10-28 23:11:07 +02:00
blessedcoolant
861e825ebf Styling Updates 2022-10-29 09:27:44 +13:00
mauwii
1ca1ab594c
fix matrix 2022-10-28 21:11:18 +02:00
mauwii
9425389240
prop. integrate stable-diffusion-model into matrix 2022-10-28 21:07:59 +02:00
mauwii
9f16ff1774
remove cache for debugging 2022-10-28 21:01:06 +02:00
mauwii
2ac3c9e8fd
remove -O from curl arguments 2022-10-28 20:58:18 +02:00
mauwii
4a9209c5e8
add debug branch to trigger run 2022-10-28 20:42:14 +02:00
mauwii
b78d718357
use propper bearer authentication to dwnload model
instead of --user username:token
2022-10-28 20:41:04 +02:00
mauwii
104466f5c0 use sd-model link from matrix
this enables running tests with diffferent models
2022-10-28 13:47:45 -04:00
mauwii
2ecdfca52f also update create-caches.yml
imho this could also be deleted, not sure what it is used for
2022-10-28 13:47:45 -04:00
mauwii
e81df1a701 add forgotten output-file 2022-10-28 13:47:45 -04:00
mauwii
61013e8eee prevent secret leakage with pull_request_target
- in this way the action is used from the base repository
- also use new secret HUGGINGFACE_TOKEN (username:token)
  - f.e. `noreply@github.com:hf_lkaugfklagwrjglaslzfgkjzzf`
- change pr prompt file to validate_pr_prompt.txt
2022-10-28 13:47:45 -04:00
mauwii
48d4fccd61 add tests/validate_pr_prompt.txt 2022-10-28 13:47:45 -04:00
psychedelicious
2859af386c Fixes places where isCancelable could get stuck on 2022-10-29 04:44:03 +11:00
psychedelicious
8dee3387fd Merge branch 'user-image-uploads' into inpainting-rebase
Adds
- Separate user uploads gallery
- Drag and drop uploads for img2img and inpainting
- Many bugfixes, scss refactored
2022-10-29 04:40:38 +11:00