Skip to content

Export error for SANA #73

@alexemme

Description

@alexemme

Hello,
I'm trying to export a diffusion model to ONNX format for the first time.
The model is SANA: https://github.com/NVlabs/Sana

I tried running the following command:

optimum-cli export onnx --model ".../weights/Sana_600M_512px_diffusers" --task default onnx_output/

However, I get this error:

AttributeError: 'Gemma2Config' object has no attribute 'projection_dim'

It seems the model isn't supported.
Does anyone have any advice on how to proceed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    model-additionRequires a PR adding support for the model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions