Commit Graph

54 Commits

Author SHA1 Message Date
mauwii
92abc00f16
fix test-invoke-conda
- copy required conda environment yaml
- use environment.yml
- I use cp instead of ln since would be compatible for windows runners
2022-11-10 05:19:52 +01:00
Matthias Wild
36870a8f53
Merge branch 'development' into merge-main-into-development 2022-11-04 16:25:00 +01:00
Lincoln Stein
174a9b78b0 Bring main back into a consistent state with other branches
- Due to misuse of rebase command, main was transiently
  in an inconsistent state.

- This repairs the damage, and adds a few post-release
  patches that ensure stable conda installs on Mac and Windows.
2022-11-03 15:44:06 -04:00
mauwii
611a3a9753 fix name of caching step 2022-11-01 22:17:23 -04:00
mauwii
1611f0d181 readd caching of sd-models
- this would remove the necesarrity of the secret availability in PRs
2022-11-01 22:17:23 -04:00
mauwii
d7107d931a disable checks with sd-V1.4 model...
...to save some resources, since V1.5 is the default now
2022-10-31 21:35:33 -04:00
mauwii
147dcc2961 update test-invoke-conda.yml
- fix model dl path for sd-v1-4.ckpt
- copy configs/models.yaml.example to configs/models.yaml
2022-10-31 21:35:20 -04:00
mauwii
c7de2b2801 disable checks with sd-V1.4 model...
...to save some resources, since V1.5 is the default now
2022-10-31 21:19:53 -04:00
mauwii
e8075658ac update test-invoke-conda.yml
- fix model dl path for sd-v1-4.ckpt
- copy configs/models.yaml.example to configs/models.yaml
2022-10-31 21:19:53 -04:00
Lincoln Stein
e7368d7231 preload_models interactively downloads sd model files 2022-10-30 12:19:05 -04:00
mauwii
5319796e58 add --no-interactive to preload_models step 2022-10-30 08:26:51 -04:00
mauwii
0596ebd5a9
**IMPORTANT FIX**
- pull_request_target trigger does not verify the requesters commit(s)
- is more to be used for automations like labeling, commenting, ...
  - stuff where a token with write access to the repo is necesarry
2022-10-29 23:48:25 +02:00
mauwii
338efa5a7a
remove debug branch 2022-10-29 22:39:37 +02:00
mauwii
3d4a9c2deb
remove redundant information from pipeline names 2022-10-29 22:25:41 +02:00
mauwii
da5de6a240
remove some bloating caches
since free 10GB Limit is already  overused multiple times
2022-10-29 18:50:37 +02:00
mauwii
3d265e28ff
call invoke.py with model parameter 2022-10-29 16:21:31 +02:00
mauwii
8127f0691e
fix os matrix 2022-10-29 10:14:24 +02:00
mauwii
b55dcf5943
remove id from test prompts 2022-10-29 10:11:54 +02:00
mauwii
bb5fe98e94
rename matrix-job, use macOS-12, add ids to steps 2022-10-29 10:03:03 +02:00
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
mauwii
d2e8ecbd4b
fix missing matrix-parameters 2022-10-29 07:35:43 +02:00
mauwii
63202e2467
try to run matrix with different models 2022-10-29 07:25:19 +02: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
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
mauwii
f7a47c1b67
reenable caching of sd model 2022-10-28 23:56:13 +02:00
mauwii
7138faf5d3
include stable-diffusion-model in job name 2022-10-28 23:51:17 +02: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
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
f8dd2df953 remove conda cache 2022-10-28 11:12:42 -04:00
mauwii
3795bec037 remove debug branch, set fail-fast to false
to find out if only mac or ubuntu is broken
(otherwise if one fails the otherone automatically cancels)
2022-10-28 11:12:42 -04:00
Lincoln Stein
4104ac6270 copied workflows from main to dev 2022-10-25 17:27:38 -04:00
mauwii
76ae17abac
update cache steps
remove restore-keys, make keys uniuqe
2022-10-18 13:25:51 +02:00
mauwii
339ff4b464
fix conda pkg cache name
also change content of hashFile-function
2022-10-18 13:25:51 +02:00
mauwii
00c0e487dd
move export behind the tests, upload with artifact
also switch to python between 3.9-3.10 and use conda-forge again
2022-10-18 13:25:50 +02:00
mauwii
acf85c66a5
add current branch to push trigger 2022-10-18 13:25:50 +02:00
mauwii
3619918954
rename step to export conda env 2022-10-18 13:25:50 +02:00
mauwii
deab6c64fc
export conda env instead of only print versions 2022-10-18 13:25:50 +02:00
mauwii
e1c9503951
list conda packages after activating env
also want to show how much faster it will run now with cached pkgs
2022-10-18 13:25:50 +02:00