Skip to content

can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first. When attempting to call a diffusers sdxl pipeline after doing inference with the mmgp library active. #12

@Meatfucker

Description

@Meatfucker

I have implemented mmgp into a flux pipeline that can be called repeatedly without issue. However if I them attempt to call a sdxl pipeline, it throws that error. Ive attempted to move everything I can find to cpu to no avail. If I start with sdxl and mmgp itll generate once fine, but the second call of the pipeline returns the same error.

The sdxl error happens whether or not sdxl is called with mmgp, it only seems to matter that mmgp has been called once before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions