Skip to content

dedup _get_model_external_data_paths #2216

Description

@xieofxie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions