Skip to content

[New Model]: Grok 2 #23557

@mgoin

Description

@mgoin

The model to consider.

https://huggingface.co/xai-org/grok-2

The closest model vllm already supports.

Grok 1 has already been supported (https://github.com/vllm-project/vllm/blob/main/vllm/model_executor/models/grok1.py) and it seems Grok 2 is a few modifications ontop of it - still listing its architecture as Grok1ForCausalLM in the config.json

You can reference this sglang PR that implements the changes to the Grok1 definition to support the new version sgl-project/sglang#9532

What's your difficulty of supporting the model you want?

I think it should be relatively trivial since it modifies an existing arch. It does seem the checkpoint is in a weird format, so not sure if conversion is needed there

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions