Check Hf Config Save

Implement a missing XTuner Hugging Face config export from the official HF model when possible, then validate it against the installed Transformers round-trip and versioned inference-engine field contracts. Use when adding a model, when hf_config is missing or returns None, when changing from_hf/hf_config/save_hf, when reviewing config.json differences, or when debugging vLLM/SGLang checkpoint-load or inference failures. Also use for requests named check_hf_config_save.

InternLM 7fbf11d 2 files · 11.1 KB Updated

File contents

internlm/xtuner/tree/main/.claude/skills/check-hf-config-save commit 7fbf11d20b

Frequently asked questions

npx skillmds@latest add internlm/check-hf-config-save