Skip to content

exporting the diffusion_net model to ONNX or using TensorRT #29

Description

@wallkop

Hi @ltzheng

First of all, I would like to thank Memo for this great project. It is the best open-source digital human project I have used.

I have conducted some performance tests. I found that diffusion_net is very slow during diffusion, with most of the time being spent on downsampling and upsampling. I tried converting diffusion_net into an ONNX model. Since the forward method contains data structures like dict and list, I used a wrapper for packaging, but ultimately, I couldn't successfully export the model due to many internal issues, such as repeated parameter passing.

I would like to ask:
(1)Does the author plan to implement quantization or use tools like TensorRT for acceleration?
(2)Is it feasible to export diffusion_net to an ONNX model? (I am not a professional algorithm engineer)

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions