Giter Site home page Giter Site logo

Full Info Provided - RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) about stable-diffusion-webui-tensorrt HOT 8 CLOSED

nvidia avatar nvidia commented on August 23, 2024
Full Info Provided - RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

from stable-diffusion-webui-tensorrt.

Comments (8)

contentis avatar contentis commented on August 23, 2024 2

Thank you for your contribution! The readme has been updated now to inform users that SDXL depends on a fix in the dev branch.

from stable-diffusion-webui-tensorrt.

FurkanGozukara avatar FurkanGozukara commented on August 23, 2024 1

6.14 it / second

This means nothing without your hardware specs and test case details

RTX 3090 ti 1024x1024

I am preparing a big video @camoody1

that small video is just like a preview

also i am preparing auto downloader of pre compiled tensor RT

from stable-diffusion-webui-tensorrt.

FurkanGozukara avatar FurkanGozukara commented on August 23, 2024

Automatic1111 DEV version is working for SDXL

the speed is amazing

6.14 it / second

from stable-diffusion-webui-tensorrt.

nailz420 avatar nailz420 commented on August 23, 2024

6.14 it / second

This means nothing without your hardware specs and test case details

from stable-diffusion-webui-tensorrt.

camoody1 avatar camoody1 commented on August 23, 2024

Your video said nothing at all about the error you have in the post title.

Thank you for wasting my time.

from stable-diffusion-webui-tensorrt.

FurkanGozukara avatar FurkanGozukara commented on August 23, 2024

Watch below video to learn how to compile SDXL TensorRT and use it - it includes both manual and auto way

RTX Acceleration Quick Tutorial With Auto Installer V2 SDXL - Tensor RT

image

from stable-diffusion-webui-tensorrt.

maxious avatar maxious commented on August 23, 2024

FWIW the resolution to the "RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu" error is disable the "medvram"/"lowvram" optimisation https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations

from stable-diffusion-webui-tensorrt.

FurkanGozukara avatar FurkanGozukara commented on August 23, 2024

FWIW the resolution to the "RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu" error is disable the "medvram"/"lowvram" optimisation https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations

important i will tell this too in big tutorial

still for sdxl you need dev branch

from stable-diffusion-webui-tensorrt.

Related Issues (20)

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.