aphrodite-engine icon indicating copy to clipboard operation
aphrodite-engine copied to clipboard

[Feature]: Support YiForCausalLM

Open gsuhm opened this issue 2 years ago • 5 comments

🚀 The feature, motivation and pitch

would love to run Yi models :-)

Alternatives

No response

Additional context

No response

gsuhm avatar Mar 20 '24 19:03 gsuhm

Hi, Yi is already supported.

AlpinDale avatar Mar 20 '24 19:03 AlpinDale

running 0.5.1 I got this:

raise ValueError(

ValueError: Model architectures ['YiForCausalLM'] are not supported for now. Supported architectures: ['AquilaModel', 'AquilaForCausalLM', 'BaiChuanForCausalLM', 'BaichuanForCausalLM', 'BloomForCausalLM', 'ChatGLMModel', 'ChatGLMForConditionalGeneration', 'DeciLMForCausalLM', 'DeepseekForCausalLM', 'FalconForCausalLM', 'GemmaForCausalLM', 'GPT2LMHeadModel', 'GPTBigCodeForCausalLM', 'GPTJForCausalLM', 'GPTNeoXForCausalLM', 'InternLMForCausalLM', 'InternLM2ForCausalLM', 'LlamaForCausalLM', 'LLaMAForCausalLM', 'MistralForCausalLM', 'MixtralForCausalLM', 'QuantMixtralForCausalLM', 'MptForCausalLM', 'MPTForCausalLM', 'OLMoForCausalLM', 'OPTForCausalLM', 'PhiForCausalLM', 'QWenLMHeadModel', 'Qwen2ForCausalLM', 'RWForCausalLM', 'StableLMEpochForCausalLM', 'StableLmForCausalLM']

gsuhm avatar Mar 20 '24 19:03 gsuhm

All the official Yi models have been llama-fied, which model are you using? I can give it a try.

AlpinDale avatar Mar 20 '24 19:03 AlpinDale

Might not be an official model - TheBloke/deepsex-34b-GPTQ. Based on YI-34B-base.

gsuhm avatar Mar 21 '24 11:03 gsuhm

This model is out of date, probably you should notify the model author to update it.

sgsdxzy avatar Mar 21 '24 14:03 sgsdxzy