Giter Site home page Giter Site logo

futrlabs / comfyui-magic Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 3.0 136 KB

A simple docker container that provides an accessible way to use ComfyUI with lots of features. Optionally, get paid to provide your GPU for rendering services via MineTheFUTR.com

Shell 30.93% Dockerfile 22.19% JavaScript 46.88%

comfyui-magic's Introduction

ComfyUI-Magic: 🔋Batteries🔋 included

Why

We're AI Art enthusiasts, developers, and artists. We wanted this to be easier for everyone to reliably use.

This work began in discord channels and through serendipity - it felt wrong not to give this back to everyone, so we open sourced it here.

Preview:

asciicast

Quick Start

  1. Update your NVIDIA Drivers (only NVIDIA cards supported right now)
  2. Install Docker and NVIDIA's container toolkit (Windows: Install WSL, then install Docker Desktop)
  3. Run the following command if all you want is a ComfyUI:
  4. Have roughly 20GB of space ready for default models and room to grow for any others you might want to add!
docker run --name comfyui-magic -p 8188:8188 --gpus all -it --rm -v magic:/storage futrlabsmagic/comfyui-magic:latest

Run it as a service

docker run -d --name comfyui-magic --restart=unless-stopped -p 8188:8188 --gpus all -it -v magic:/storage futrlabsmagic/comfyui-magic:latest

Auto accept terms and run as service

docker run -e AUTOACCEPT=yes -d --name comfyui-magic --restart=unless-stopped -p 8188:8188 --gpus all -it -v magic:/storage futrlabsmagic/comfyui-magic:latest

Earn USDC and FUTR

If you'd like to earn money while your GPU isn't processing ComfyUI workflows, sign up here and run the command provided:

https://www.minethefutr.com

Features

Prepackaged Custom Nodes for Your Sanity

Currently, we automatically bake in stable mixtures of these popular custom nodes:

Automatic downloading of models at boot

We place a sample "extra_downloads.yml" file in your storage directory.

Edit that file to download and place any custom models you'd like to have, then restart the container and watch the magic.

See this file for our default models we download at boot: extra_downloads.yml

To add your own models, take note that the path item in the yml is the path inside the container.

All paths should generally use /storage/ComfyUI/.../... unless you have very good reason not to.

Once the file is placed for the first time in your storage directory, it won't be overwritten again.

Earn USDC and FUTR tokens when idle

Your card is mostly idle all day. There are large websites that would like to use your GPU horsepower and will pay to do it.

While your job is not in the queue, a simple script talks to our queues and pulls jobs.

You'll see these jobs enter your ComfyUI queue if you've got the UI open in your browser.

When you're ready to run your own job on your own card, just queue it up like you normally would in ComfyUI,

and it will execute after the currently running job that is earning you money.

If you ever want to not process jobs for a while, simply stop the container, remove the environment variable (-e SUPPLIER_ID), and start the container back up!

Requirements:

  1. Windows or Linux Operating System (Mac unsupported for now)
  2. NVIDIA GPU of series 2xxx or better (ideally)
  3. Updated CUDA drivers (update your graphics drivers)
  4. Docker installed and working with NVIDIA container support (Use WSL and Docker Desktop for Windows!)
  5. 50-100GB+ of HDD space (roughly 10GB for the default models and 8GB for the container alone)
  6. Solana Wallet and Discord if you want to earn

comfyui-magic's People

Contributors

keithhanson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fcogomez gatepoet

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.