Code Monkey home page Code Monkey logo

-a1111-tensorrt-docker's Introduction

Docker image to play TensorRT technology with AUTOMATIC1111's web ui. Docker image: kopyl/a1111-tensorrt

Features:

  • Speed of image generation is โ‰ˆ75it/s for Stable Diffusion 1.5
  • You can run it from Runpod. Video tutorial

Requirements for Runpod:

  • Expose ports: 8888, 3000
  • Reserve disk space: 100 GB for contaier volume
  • Configure right GPU: NVIDIA RTX 4090

Metadata:

  • NVIDIA driver: 535.104.12
  • CUDA driver: 11.8

When this can be useful:

  • When you reuse one or some set of Stable Diffusion models a lot (not suitable for one-time generation)
  • When you generate a lo of images for your videos (it's suitable cause when you save 1ยฑ second per image, it's a lot of time for like 2-3 minutes video)

Are there any other ways to speed up image generation?

  • Convert SD model to fp16
  • Use Oneflow (it's tricky, cause without any modification of the source code of the library you're going to get a huge cold start, so the speed evens out and also you can't use it with A1111, since it's Diffusers-like tech)

How to contribute:

  • You can freeze current commit of repositories (A1111 and TensorRT extension)
  • You can add a serverless Dockerfile and a handler for Runpod

-a1111-tensorrt-docker's People

Contributors

kopyl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

yuvraj108c

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.