Skip to content

dedup _get_model_external_data_paths #2216

@xieofxie

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions