Skip to content

dedup _get_model_external_data_paths #2216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks
xieofxie opened this issue Mar 18, 2025 · 0 comments · Fixed by #2217
Closed
4 tasks

dedup _get_model_external_data_paths #2216

xieofxie opened this issue Mar 18, 2025 · 0 comments · Fixed by #2217
Labels
bug Something isn't working

Comments

@xieofxie
Copy link
Contributor

System Info

windows

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction (minimal, reproducible, runnable)

if not, save_pretrained will copy multiple times https://github.com/huggingface/optimum/blob/main/optimum/onnxruntime/modeling_diffusion.py#L198

Expected behavior

only copy once

@xieofxie xieofxie added the bug Something isn't working label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant