{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreie6bc2yczrlir7yz44sa5jkwolpji36j4fla2ebpesya35gu22yzm",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3me6iccorhd62"
},
"path": "/t/how-to-convert-a-single-safetensors-file-to-peft-format/173103#post_5",
"publishedAt": "2026-02-06T07:50:42.000Z",
"site": "https://discuss.huggingface.co",
"textContent": "John6666:\n\n> script\n\nHi, I run your script, but only get `adapter_model.safetensors`, no `adapter_config.json`, I get it from follow code:\n\n\n pipe.transformer.peft_config[\"lightning_v2\"].save_pretrained(\"./lora_adapter\")\n\n\nthen pass folder(./lora_adapter) to vLLM-Omni and raise error, it say “state_dict” keys is not match…",
"title": "How to convert a single safetensors file to PEFT format"
}