How to convert a single safetensors file to PEFT format
Hugging Face Forums [Unofficial]
February 6, 2026
John6666:
script
Hi, I run your script, but only get adapter_model.safetensors, no adapter_config.json, I get it from follow code:
pipe.transformer.peft_config["lightning_v2"].save_pretrained("./lora_adapter")
then pass folder(./lora_adapter) to vLLM-Omni and raise error, it say “state_dict” keys is not match…
Discussion in the ATmosphere