Skip to content

feat: add safetensors export for RT-DETR models#9481

Open
scyyh11 wants to merge 1 commit intoPaddlePaddle:developfrom
scyyh11:safetensors/export
Open

feat: add safetensors export for RT-DETR models#9481
scyyh11 wants to merge 1 commit intoPaddlePaddle:developfrom
scyyh11:safetensors/export

Conversation

@scyyh11
Copy link
Copy Markdown

@scyyh11 scyyh11 commented Apr 3, 2026

Add --export_safetensors flag to tools/export_model.py that produces HuggingFace-compatible safetensors output (model.safetensors, config.json, preprocessor_config.json, inference.yml) alongside the standard Paddle static graph export.

Add --export_safetensors flag to tools/export_model.py that produces
HuggingFace-compatible safetensors output (model.safetensors,
config.json, preprocessor_config.json, inference.yml) alongside the
standard Paddle static graph export.

Signed-off-by: Yizhan <yizha@microsoft.com>
Signed-off-by: Bvicii <yizhanhuang2002@gmail.com>
@paddle-bot
Copy link
Copy Markdown

paddle-bot bot commented Apr 3, 2026

Thanks for your contribution!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant