GithubHelp home page GithubHelp logo

wpafbo79 / ai-docker Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 98 KB

Docker images for various AI tools.

License: GNU General Public License v3.0

Dockerfile 33.47% Shell 58.68% Makefile 7.85%
ai docker docker-image stable-diffusion stable-diffusion-webui invokeai kohya-webui gfpgan real-esrgan sdnext

ai-docker's People

Contributors

wpafbo79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

theoware

ai-docker's Issues

I think you have code trying to push the image to your Docker repo.

-oh i did ran that manually in the dir because reasons.. So maybe to do with that..

[Warning] One or more build-args [GIT_REPO] were not consumed
Successfully built c8ce71c6ca5b
Successfully tagged wpafbo79/cuda-with-prereqs:cuda-11.8.0_tini-0.19.0
Successfully tagged wpafbo79/cuda-with-prereqs:latest
Uploading...
The push refers to repository [docker.io/wpafbo79/cuda-with-prereqs]
7502adfe1a30: Preparing
781ffffa5ade: Preparing
22a11bc61346: Preparing
2fcd5b69d61b: Preparing
eb64737a07df: Preparing
0006e9e9490d: Waiting
40043f2eb50b: Waiting
6515074984c6: Waiting
denied: requested access to the resource is denied

I think i can just ignore it, but i just wanted you to know.

PS: How do you 'make' i always get: (Maybe i missing some tools?)

(base) root@linuxdesktop:~/docker/ai-docker-ET$ make
echo cuda-with-prereqs-images mini-cuda-base-images mini-cuda-with-prereqs-images real-esrgan-images gfpgan-images basujindal-stable-diffusion-images compvis-stable-diffusion-images invokeai-images
cuda-with-prereqs-images mini-cuda-base-images mini-cuda-with-prereqs-images real-esrgan-images gfpgan-images basujindal-stable-diffusion-images compvis-stable-diffusion-images invokeai-images
make -C cuda-with-prereqs/ image
make[1]: Entering directory '/home/root/docker/ai-docker-ET/cuda-with-prereqs'
./create-compose-file.sh > docker-compose.yml
./build.sh

./build.sh: 4: source: not found
./build.sh: 5: source: not found
./build.sh: 7: build: not found
make[1]: *** [Makefile:9: image] Error 127
make[1]: Leaving directory '/home/root/docker/ai-docker-ET/cuda-with-prereqs'
make: *** [Makefile:59: cuda-with-prereqs-images] Error 2

UPDATE:
Adding SHELL := /bin/bash in Makefiles works on my system.

Improve build checks

The current build system isn't sophisticated enough to properly detect when to rebuild an image. It either doesn't do it when it should, or does it when it shouldn't. There is too much care and feeding involved.

Fix projects at particular git commits

For projects with releases, use the releases. Otherwise use particular Git commits.

Doing this will allow for images to remain usable OOTB. Development is so rapid that multiple projects break while fixing one.

  • InvokeAI
  • CompVis Stable Diffusion
  • TencentARC GFPGAN
  • Xintao's Real-ESRGAN
  • Basu Jindal's Stable Diffusion
  • AUTOMATIC1111's Stable Diffusion

Add note to config for indices to avoid

Several option flags are used in scripts and should be avoided for volumes since the indices are turned into script flags and shouldn't collide with existing flags.

Avoid "b", "h", "n", and "v".

Error while trying to deploy Real Esrgan

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown

Hard link archive files.

Docker now mounts volumes to the symlink target instead of overriding the symlink. This makes the archived files hidden. To prevent Docker from hiding the archived files with mounted volumes an preserve file system size hard link all archived files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.