Skip to content

convert_lora_safetensor_to_diffusers OSError: No such device (os error 19) #3258

@sing817

Description

@sing817
python scripts/convert_lora_safetensor_to_diffusers.py \
--base_model_path=stabilityai/stable-diffusion-2-1-base \
--checkpoint_path="my_lora_output_pytorch_lora_weights_file" \
--dump_path="./testoutput" \

get:

File "conda/envs/diffusers/lib/python3.10/site-packages/safetensors/torch.py", line 259, in load_file
with safe_open(filename, framework="pt", device=device) as f:
OSError: No such device (os error 19)

why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions