I investigated this error in detail to the best of my abilities and can not find the root cause. Maybe you or someone can shed some light why it's happening.
Loading Sparse Structure model ...
!!! Exception during processing !!! Error while deserializing header: InvalidHeaderDeserialization
--------
execution.py - line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
execution.py - line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
execution.py - line 277, in process_inputs
result = f(**inputs)
--------
custom_nodes\ComfyUI-Trellis2\nodes.py - line 3996, in process
pipeline.load_sparse_structure_model()
custom_nodes\ComfyUI-Trellis2\trellis2\pipelines\trellis2_image_to_3d.py - line 353, in load_sparse_structure_model
self.models['sparse_structure_flow_model'] = models.from_pretrained(f"{self.path}/{self._pretrained_args['models']['sparse_structure_flow_model']}")
custom_nodes\ComfyUI-Trellis2\trellis2\models\__init__.py - line 69, in from_pretrained
model.load_state_dict(load_file(model_file), strict=False)
--------
Lib\site-packages\safetensors\torch.py - line 311, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: InvalidHeaderDeserialization
Trellis.2 works perfectly fine.
Hello visualbruno,
I investigated this error in detail to the best of my abilities and can not find the root cause. Maybe you or someone can shed some light why it's happening.
Trellis2 - Sparse Generator:
Steps taken so far:
updated to the latest git project state in custom_nodes
Auto-download with huggingface-hub 0.34.4 package installed.
Updated huggingface-hub to 0.36.0 and downloaded TencentARC/Pixal3D HF models manually into ..TencentARC\Pixal3D-T\ckpts
Making sure that ss_flow_img_dit_1_3B_64_bf16.safetensors is not corrupted and the 5.2gb large Pixal3D variant.
Refreshed Sparse Generator and Load Model nodes in the Pixal3D examples workflow.
Trellis.2 works perfectly fine.