Open
Description
I am trying to convert this lora and tested all configs but failing
https://civitai.com/models/1084814/studio-ghibli-style-hunyuanvideo
tested configs as below
Error is
Conversion complete. Processed 1 files with 0 successes and 1 failures.
Error converting studio_ghibli_hv_v03_19.safetensors: invalid load key, '\xd8'.
Thank you so much
System Info
Q:\FramePack_v1\FramePack\venv\Scripts>diffusers-cli env
W0420 18:03:12.646000 29284 Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs.
[2025-04-20 18:03:13,334] [INFO] [real_accelerator.py:222:get_accelerator] Setting ds_accelerator to cuda (auto detect)
test.c
LINK : fatal error LNK1181: cannot open input file 'aio.lib'
test.c
LINK : fatal error LNK1181: cannot open input file 'cufile.lib'
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- 🤗 Diffusers version: 0.33.1
- Platform: Windows-10-10.0.26100-SP0
- Running on Google Colab?: No
- Python version: 3.10.11
- PyTorch version (GPU?): 2.7.0.dev20250311+cu128 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Huggingface_hub version: 0.30.2
- Transformers version: 4.51.3
- Accelerate version: 1.6.0
- PEFT version: 0.15.2
- Bitsandbytes version: not installed
- Safetensors version: 0.5.3
- xFormers version: not installed
- Accelerator: NVIDIA GeForce RTX 5090, 32607 MiB
NVIDIA GeForce RTX 3090 Ti, 24564 MiB
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: <fill in>
Q:\FramePack_v1\FramePack\venv\Scripts>
Who can help?
full error
Converting C:\Users\Furkan\Music\g\studio_ghibli_hv_v03_19.safetensors with type HYVideo-T/2-cfgdistill and dtype bf16
WARNING: Loading C:\Users\Furkan\Music\g\studio_ghibli_hv_v03_19.safetensors with weights_only=False. Only do this with files from trusted sources as it can result in arbitrary code execution.
Traceback (most recent call last):
File "Q:\FramePack_v1\FramePack\convert_loras.py", line 124, in convert_lora_file
transformer = convert_transformer(input_file, transformer_type)
File "Q:\FramePack_v1\FramePack\convert_hunyuan_video_to_diffusers.py", line 223, in convert_transformer
original_state_dict = get_state_dict(torch.load(ckpt_path, map_location="cpu", weights_only=False))
File "Q:\FramePack_v1\FramePack\venv\lib\site-packages\torch\serialization.py", line 1549, in load
return _legacy_load(
File "Q:\FramePack_v1\FramePack\venv\lib\site-packages\torch\serialization.py", line 1797, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '\xd8'.
Converting C:\Users\Furkan\Music\g\studio_ghibli_hv_v03_19.safetensors with type HYVideo-T/2-I2V-33ch and dtype bf16
WARNING: Loading C:\Users\Furkan\Music\g\studio_ghibli_hv_v03_19.safetensors with weights_only=False. Only do this with files from trusted sources as it can result in arbitrary code execution.
Traceback (most recent call last):
File "Q:\FramePack_v1\FramePack\convert_loras.py", line 124, in convert_lora_file
transformer = convert_transformer(input_file, transformer_type)
File "Q:\FramePack_v1\FramePack\convert_hunyuan_video_to_diffusers.py", line 223, in convert_transformer
original_state_dict = get_state_dict(torch.load(ckpt_path, map_location="cpu", weights_only=False))
File "Q:\FramePack_v1\FramePack\venv\lib\site-packages\torch\serialization.py", line 1549, in load
return _legacy_load(
File "Q:\FramePack_v1\FramePack\venv\lib\site-packages\torch\serialization.py", line 1797, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '\xd8'.
Converting C:\Users\Furkan\Music\g\studio_ghibli_hv_v03_19.safetensors with type HYVideo-T/2-I2V-16ch and dtype bf16
WARNING: Loading C:\Users\Furkan\Music\g\studio_ghibli_hv_v03_19.safetensors with weights_only=False. Only do this with files from trusted sources as it can result in arbitrary code execution.
Traceback (most recent call last):
File "Q:\FramePack_v1\FramePack\convert_loras.py", line 124, in convert_lora_file
transformer = convert_transformer(input_file, transformer_type)
File "Q:\FramePack_v1\FramePack\convert_hunyuan_video_to_diffusers.py", line 223, in convert_transformer
original_state_dict = get_state_dict(torch.load(ckpt_path, map_location="cpu", weights_only=False))
File "Q:\FramePack_v1\FramePack\venv\lib\site-packages\torch\serialization.py", line 1549, in load
return _legacy_load(
File "Q:\FramePack_v1\FramePack\venv\lib\site-packages\torch\serialization.py", line 1797, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '\xd8'.