Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: support llava vl series models, e.g. llava-v1.6-34b #1353

Closed
Index103000 opened this issue Apr 22, 2024 · 5 comments
Closed

FEAT: support llava vl series models, e.g. llava-v1.6-34b #1353

Index103000 opened this issue Apr 22, 2024 · 5 comments

Comments

@Index103000
Copy link

Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@XprobeBot XprobeBot added this to the v0.10.3 milestone Apr 22, 2024
@qinxuye qinxuye changed the title 请求支持 llava系列 的 vl模型,例如 llava-v1.6-34b 等 FEAT: support llava vl series models, e.g. llava-v1.6-34b Apr 23, 2024
@XprobeBot XprobeBot modified the milestones: v0.10.3, v0.11.0 Apr 24, 2024
@XprobeBot XprobeBot modified the milestones: v0.11.0, v0.11.1, v0.11.2 May 11, 2024
@XprobeBot XprobeBot modified the milestones: v0.11.2, v0.11.3 May 24, 2024
@XprobeBot XprobeBot modified the milestones: v0.11.3, v0.11.4, v0.12.0, v0.12.1 May 31, 2024
@XprobeBot XprobeBot modified the milestones: v0.12.1, v0.12.2 Jun 14, 2024
@uana777
Copy link

uana777 commented Jun 26, 2024

xinf version: 0.12.1
Doenload llava1.6-13B from hf-mirror. Register model params:
{
"version": 1,
"model_name": "custom-llava",
"model_description": "This is a custom model description.",
"context_length": 4096,
"model_lang": [
"en",
"zh"
],
"model_ability": [
"generate",
"chat"
],
"model_family": "vicuna-v1.5",
"model_specs": [
{
"model_uri": "/home/clo/llava-13B",
"model_size_in_billions": 13,
"model_format": "pytorch",
"quantizations": [
"none"
]
}
],
"prompt_style": {
"style_name": "ADD_COLON_TWO",
"system_prompt": "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.",
"roles": [
"USER",
"ASSISTANT"
],
"intra_message_sep": " ",
"inter_message_sep": "",
"stop": null,
"stop_token_ids": null
}
}

Got error:
Server error: 400 - [address=10.183.159.37:45789, pid=1501914] Unrecognized configuration class <class 'transformers.models.llava.configuration_llava. LlavaConfig'> for this kind of AutoModel: AutoModelForCausalLM. Model type should be one of BartConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BlenderbotConfig, BlenderbotSmallConfig, BloomConfig, CamembertConfig, LlamaConfig, CodeGenConfig, CohereConfig, CpmAntConfig, CTRLConfig, Data2VecTextConfig, DbrxConfig, ElectraConfig, ErnieConfig, FalconConfig, FuyuConfig, GemmaConfig, GitConfig, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GPTJConfig, JambaConfig, JetMoeConfig, LlamaConfig, MambaConfig, MarianConfig, MBartConfig, MegaConfig, MegatronBertConfig, MistralConfig, MixtralConfig, MptConfig, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, OlmoConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, PegasusConfig, PersimmonConfig, PhiConfig, Phi3Config, PLBartConfig, ProphetNetConfig, QDQBertConfig, Qwen2Config, Qwen2MoeConfig, RecurrentGemmaConfig, ReformerConfig, RemBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RwkvConfig, Speech2Text2Config, StableLmConfig, Starcoder2Config, TransfoXLConfig, TrOCRConfig, WhisperConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, XmodConfig.

Any suggestions? ths.

@XprobeBot XprobeBot modified the milestones: v0.12.2, v0.12.4, v0.13.0, v0.13.1 Jun 28, 2024
@XprobeBot XprobeBot modified the milestones: v0.13.1, v0.13.2 Jul 12, 2024
@XprobeBot XprobeBot modified the milestones: v0.13.2, v0.13.4 Jul 26, 2024
Copy link

github-actions bot commented Aug 6, 2024

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Aug 6, 2024
@uana777
Copy link

uana777 commented Aug 7, 2024

May I ask if there are any new developments?

@github-actions github-actions bot removed the stale label Aug 7, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Aug 14, 2024
Copy link

This issue was closed because it has been inactive for 5 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants