mLoRA icon indicating copy to clipboard operation
mLoRA copied to clipboard

AttributeError: 'ChatGLMForConditionalGeneration' object has no attribute 'init_lora_weight'

Open yigeliangzai opened this issue 11 months ago • 2 comments

1710314945287

模型能读取到,但不能初始化ChatGLM模型中一些LORA (Low-Rank Adaptation)适配器的权重。请问该怎么解决

yigeliangzai avatar Mar 13 '24 08:03 yigeliangzai

does it fixed. @mikecovlee

merlintang avatar Sep 19 '24 09:09 merlintang

Thank you for choosing mLoRA! Currently, mLoRA only supports LLaMA and its variant models. We are working on expanding support to other models, including GLM, in future updates.

In the meantime, you can check out our MoE-PEFT, which is a variant of mLoRA focused on optimizing Mixture of Experts (MoE). It offers similar capabilities for multi-LoRA configurations and could be a suitable alternative for your needs.

mikecovlee avatar Sep 19 '24 09:09 mikecovlee