please share how export qwen3 to onnx foramt, many thanks!
#1
by
cloudyu
- opened
When I try to export qwen3 4B to onnx format by optimum lib, it reports the following error :
ValueError: Trying to export a qwen3 model, that is a custom or unsupported architecture, but no custom onnx configuration was passed as custom_onnx_configs
. Please refer to https://huggingface.co/docs/optimum/main/en/exporters/onnx/usage_guides/export_a_model#custom-export-of-transformers-models for an example on how to export custom models. Please open an issue at https://github.com/huggingface/optimum/issues if you would like the model type qwen3 to be supported natively in the ONNX export.