{
"$type": "site.standard.document",
"path": "/t/how-to-convert-a-single-safetensors-file-to-peft-format/173103#post_2",
"publishedAt": "2026-02-05T08:05:23.000Z",
"site": "https://discuss.huggingface.co",
"tags": [
"https://huggingface.co/lightx2v/Qwen-Image-Lightning"
],
"textContent": "No conversion needed. Use it directly with Diffusers like this:\n\nhttps://huggingface.co/lightx2v/Qwen-Image-Lightning :\n\n\n pipe = DiffusionPipeline.from_pretrained(\n \"Qwen/Qwen-Image\", scheduler=scheduler, torch_dtype=torch.bfloat16\n ).to(\"cuda\")\n pipe.load_lora_weights(\n \"lightx2v/Qwen-Image-Lightning\", weight_name=\"Qwen-Image-Lightning-8steps-V1.0.safetensors\"\n )\n",
"title": "How to convert a single safetensors file to PEFT format"
}