Skip to content

Commit 4e33b67

Browse files
authored
Merge pull request #499 from huixingyun/fix-20250617
Fix: TypeError: Hunyuan3DPaintPipeline.from_pretrained() got an unexpected keyword argument 'torch_dtype'
2 parents 693c721 + 4ab443c commit 4e33b67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Gen_3D_Modules/Hunyuan3D_V2/hy3dgen/texgen/pipelines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, light_remover_ckpt_path, multiview_ckpt_path, subfolder_name)
5252

5353
class Hunyuan3DPaintPipeline:
5454
@classmethod
55-
def from_pretrained(cls, model_path, subfolder='hunyuan3d-paint-v2-0-turbo'):
55+
def from_pretrained(cls, model_path, subfolder='hunyuan3d-paint-v2-0-turbo', **kwargs):
5656
delight_model_path = os.path.join(model_path, 'hunyuan3d-delight-v2-0')
5757
multiview_model_path = os.path.join(model_path, subfolder)
5858

0 commit comments

Comments
 (0)