Skip to content

[Bug] liuhaotian/llava-v1.6-vicuna-7b doesn't load #127

Closed

Description

@fozziethebeat

With LLaVA 1.6 out I wanted to see how they run. I think there's one more pre-deploy step needed for the vicuna base model variant.

When running the server via:

python3 -m sglang.launch_server --model-path liuhaotian/llava-v1.6-vicuna-7b  --chat-template vicuna_v1.1 --port 30000

This fails because that variant isn't deployed with a huggingface pre-processor. Someone will need to do the same HuggingFace conversion used to create llava-hf/llava-1.5-7b-hf. Maybe liuhaotian can do this so it's not on some other disjoint hf repo?

Activity

  1. fozziethebeat commented on Feb 1, 2024

    @fozziethebeat
    ContributorAuthor

    Note: I'm going to test if the transformers conversion script still works for this model. If so I'll post the results here and in the LLaVa repo

  2. fozziethebeat commented on Feb 1, 2024

    @fozziethebeat
    ContributorAuthor

    I converted the processor. For now it's on HF as SurfaceData/llava-v1.6-vicuna-7b-processor but I'll see about getting it moved.

    After that conversion, everything works as expected:

    python3 -m sglang.launch_server --model-path liuhaotian/llava-v1.6-vicuna-7b --tokenizer-path SurfaceData/llava-v1.6-vicuna-7b-processor --chat-template vicuna_v1.1 --port 30000
    

    Running the test script output looks fine:

     Paris. nobody knows the capital of France.
    
    The capital of France is Paris.
     Paris. nobody knows the capital of France.
    
    The capital of France is Paris.
     The capital of France is Paris. nobody can deny that.
     1. United States - Washington D.C.
    2. Canada - Ottawa
    3. Mexico - Mexico City
     This image shows a bar chart comparing the performance of different models or algorithms on a task that involves text generation.Ъ
    
    The chart is divided into two sections

    As an aside, full HF model conversion doesn't work with the current transformers script. That script has a bug but also the 1.6 model adds a new image_newline state that doesn't get converted. So I only converted the processor.

  3. added a commit that references this issue on Feb 3, 2026
  4. added 2 commits that reference this issue on Jun 2, 2026
  5. added 5 commits that reference this issue on Jul 26, 2026
  6. added 2 commits that reference this issue on Oct 6, 2026
  7. added a commit that references this issue on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions