Skip to content

Add a onnx version of model #903

Open
@NeuroDonu

Description

@NeuroDonu

Self Checks

  • I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find any relevant information that meets my needs. English 中文 日本語 Portuguese (Brazil)
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell us your story.

I have spent the last 10 hours trying to convert your pytorch model to onnx. Because it seems to me that if you convert it to onnx version and use tensorrt for inference, the speed will increase many times! But all my attempts to convert the model were unsuccessful.... I tried to write code with deepseek and qwen, but they couldn't produce anything sensible. So I came here to ask for a variation of onnx model =)

2. What is your suggested solution?

Convert pytorch models vqgan and IF THIS IS POSSIBLE llama. deepseek suggested some code like this to convert vqgan, but my tweaks only broke it.

3. Additional context or comments

No response

4. Can you help us with this feature?

  • I am interested in contributing to this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions