Skip to content

Align async HF non-weight file export#1857

Open
caixianzhang wants to merge 2 commits into
InternLM:mainfrom
caixianzhang:fix/async-hf-non-weight-files
Open

Align async HF non-weight file export#1857
caixianzhang wants to merge 2 commits into
InternLM:mainfrom
caixianzhang:fix/async-hf-non-weight-files

Conversation

@caixianzhang

Copy link
Copy Markdown
Contributor

Summary

  • Align async HF non-weight file export with sync HF by preferring generated HF config when available.
  • Keep fallback copying from the original HF path when no hf_config is available.

Verification

  • python3 -m py_compile xtuner/v1/model/base.py
  • Compared async/sync HF non-safetensors outputs; config.json and model.safetensors.index.json now match by sha256.

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