Commit Graph

236 Commits (master)
 

Author SHA1 Message Date
AJ Walter 555c26b7ce
Make Dockerfiles OCI compliant (#408)
## Justification

Closes issue #352

This update makes the Dockerfiles OCI compliant, making it easier to use
Buildah or other image building techniques that require it

## Implementation

This changes a few things, listed below:

* auto: Download container is switched to alpine. The `git` container
specified the `/git` directory as a volume. As such, all the files under
`/git` would be lost after each script invoke. Alpine is used later in
the build process anyway, so it shouldn't be any extra cost to switch to
it
* auto: "New" clone.sh script is copied into the container, which is
basically just the previous clone script that was embedded in the
Dockerfile.
* all: `<<EOF` heredoc styles have been switched to `&& \`
* all: I added NVIDIA_DRIVER_CAPABILITIES and NVIDIA_VISIBLE_DEVICES to
expose my Nvidia card. This is most likely a selinux/podman problem, but
shouldn't change anything with docker to add it.
* docker-compose: I added selinux labeling. I tested this with real
docker (not just podman!) and it seems to work fine. Though I suggest
you try it too.

## Testing

Locally builds with buildah. 

Note: for caching to work properly, you still need to replace
`/root/.cache/pip` with `/root/.cache/pip,Z` on selinux systems.

Note: I was having some trouble running invoke. Thought it was this PR,
but it's a known issue. See
https://github.com/invoke-ai/InvokeAI/issues/3182

---------

Co-authored-by: AbdBarho <ka70911@gmail.com>
1 year ago
Simon Oelerich 5d379bf7bc
Add mounts for `openpose` (#387)
Upon enabling the ControlNet addon from
https://github.com/AbdBarho/stable-diffusion-webui-docker/pull/385 one
might want to use the `openpose` preprocessors. Those are downloaded by
the addon the first time they are used. Without proper mounts those
networks will be downloaded on usage after each container start.
This PR enables those mounts to reduce data traffic.
1 year ago
Simon Oelerich d2c1e551d7
Enable ControlNet mounts for AUTOMATIC1111 (#385)
The ControlNet addon
[sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet)
requires the `data/ControlNet` folder to be mounted into
`models/ControlNet`.
This PR enables said mount and adds the ControlNet folder to
`.gitignore` file.

---------

Co-authored-by: AbdBarho <ka70911@gmail.com>
1 year ago
AbdBarho 063665eae1
Update Auto (#365)
a9fed7c364
1 year ago
AbdBarho bb54e89b34
Update Auto (#363)
27e319dc4f
1 year ago
AbdBarho aa69f11230
Fix preload for Invoke (#346)
Refs #345
1 year ago
AbdBarho c54e26348e
Update Invoke (#343)
6e0c6d9cc9
1 year ago
AbdBarho b36de9ef2b
Add libgoogle-perftools-dev (#341)
- auto:
0cc0ee1bcb

Closes #326
1 year ago
AbdBarho 70d8d7f37f
Update versions (#338)
- auto:
076d624a29
- invoke:
d3c1b747ee
1 year ago
AbdBarho 67c9d118d9
Update versions (#332)
### Update versions

- auto:
3715ece0ad
- invoke:
6551527fe2

Update xformers
1 year ago
AbdBarho 2829ef3581
Auto: hot fix fastapi (#328)
Closes #327
1 year ago
AbdBarho 1e0561c5cb
Update Auto (#323)
3993aa43e9
1 year ago
AbdBarho 3c860d6eaa
Update versions (#320)
- auto:
226d840e84
- invoke:
80c5322ccc


Remove `accelerate` for startup. Refs #317 

Use `SIGINT` Fixes #319
1 year ago
AbdBarho 15e9841860
Update versions (#316)
- auto:
00dab8f10d
- invoke:
07e03b31b7
1 year ago
AbdBarho eeb410f2de
Update versions (#315)
auto:
7a14c8ab45
invoke:
e4cd66216e

Also, fix script mounting in auto #295
1 year ago
AbdBarho 9d2a3388c3
Always serve static files (#314)
#308
1 year ago
AbdBarho 95e489afec
Revert #309 (#313)
Closes #312
1 year ago
AbdBarho 00518a0340
Add missing mkdir (#310) 1 year ago
AbdBarho f8de9190ed
Sync Scripts (#309)
Refs #308
1 year ago
AbdBarho 8713163a3c
Update Auto (#307)
93fad28a97
1 year ago
AbdBarho e2b0fb905b
Add Lora support (#306)
Refs #305 #303

Co-authored-by: repligator <114337591+repligator@users.noreply.github.com>
1 year ago
AbdBarho 510f9fab2b
Update versions (#302)
Closes #301 

- auto:
c98cb0f8ec
- invoke:
89791d91e8
1 year ago
AbdBarho 042d5c561c
Fix link / mkdir order (#299)
Fixes
c9153faff7 (commitcomment-97285124)
1 year ago
AbdBarho 66846377a6
Mount scripts instead of copy (#298)
Refs #295
1 year ago
AbdBarho c9153faff7
Update versions (#297)
- auto:
6faae23239
- invoke:
f232068ab8
1 year ago
AbdBarho 13dfd4eba5
Update auto (#293)
d97f467c0d

This version has a hash computation of models, so expect slower start up
& loading times.
1 year ago
AbdBarho 9b1ea3cacf
[MAJOR] Update auto to torch 1.13.1 (#290)
82725f0ac4

torch==1.13.1+cu117

This might break your extensions!
1 year ago
AbdBarho b5cdf299ca
Update versions (#287)
- auto:
2b94ec7886
- sygil:
571fb897ed
1 year ago
AbdBarho db831ece65
Bump versions (#286)
- auto:
151233399c
- invoke:
26e413ae9c
1 year ago
AbdBarho ceeac61cb0
Update auto (#282)
683287d87f
1 year ago
AbdBarho 19972f3cac
Update Versions (#281)
- auto:
8149078094
- sygil:
e48482823b
- invoke:
21bf512056
1 year ago
AbdBarho 0c16c105bc
Update auto (#280)
3e22e29413
1 year ago
AbdBarho 78c90e5435
Update auto & invoke (#277)
- auto:
524d532b38
- invoke:
524d532b38

Happy new Year!!!
1 year ago
AbdBarho 6a3826c80a
Update auto (#274)
4af3ca5393

Merry Christmas 🎄
1 year ago
AbdBarho 56d9763a73
Smaller xformers wheel (#271)
Built with `Release` instead of `RelWithDebInfo`

Related #270
1 year ago
AbdBarho 41e0dcc2f6
Auto: clean up interrogators (#265) 2 years ago
AbdBarho 5a9d305e5c
Update Invoke (#264)
ffa54f4a35
2 years ago
AbdBarho d70e96da71
Update Invoke (#261)
5d20f47993
2 years ago
AbdBarho d97d257fd3
Update versions (#257)
- auto:
685f9631b5
- sygil:
d3f9d054e8
- invoke:
e159bb3dce
2 years ago
AbdBarho c3cf8129a9 Expose API per default 2 years ago
AbdBarho b8256cccd2 Update PR template 2 years ago
AbdBarho 4969906ec8 Update Download URLs 2 years ago
AbdBarho 8201e361fa
Alpha support for sd v2.x in auto (#244)
44c46f0ed3

Install sd 2 from [these
instructions](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20),
put the downloaded files in `data/StableDiffusion/`, maybe create a
subfolder `v2` and put the models in it, just to keep everything clean.

There will be problems, so be warry.
2 years ago
AbdBarho 1423b274b1
Update Versions (#256)
sygil:
5291437085
Also, switch to pip instead of conda because it is really slow

invoke:
ed9186b099
2 years ago
AbdBarho 87a51e9fd1
[BREAKING] Rename UIs (#254)
Rename the UIs in docker compose to their new names

Changes folder names

Changes output folder structure

Closes issue #263

Adds `sygil-sl` instead of docker compose flag.
2 years ago
AbdBarho bdee804112
Fix mounting in Lstein (#253)
Closes #251
2 years ago
AbdBarho f1a1641add
Invoke 2.2.3 (#250)
lstein:
5c31feb3a1
2 years ago
AbdBarho 8df9d10a58
Update versions (#246)
- hlky:
18a3b80927
- lstein:
a9aa4e45aa
2 years ago
AbdBarho 7a1e52bc7a
Enable extensions by default (#243)
Closes #242
2 years ago
AbdBarho d20b8732b3
Update xformers (#241)
8910bb5a65
2 years ago