Error while loading pre-trained model
#15
by
AR-X
- opened
File "/home/XXX/.cache/huggingface/modules/transformers_modules/microsoft/Phi-4-multimodal-instruct/39125531cc274876704bb1ef2eb84fdf8f37a419/modeling_phi4mm.py", line 1973, in init
peft_model.base_model.active_adapter.append("speech")
AttributeError: 'function' object has no attribute 'append'
Thank you for your interest in Phi-4-multimodal.
Would you mind to check the requirements https://huggingface.co/microsoft/Phi-4-multimodal-instruct#requirements
Alternatively, here is the dockerfile that may be helpful https://huggingface.co/microsoft/Phi-4-multimodal-instruct/discussions/14#67c4f3d7f1dee1be83b06bae
nguyenbh
changed discussion status to
closed