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

Can't loading delta #98

Open
feymanwang opened this issue May 5, 2023 · 2 comments
Open

Can't loading delta #98

feymanwang opened this issue May 5, 2023 · 2 comments

Comments

@feymanwang
Copy link

When did you clone our code?

I cloned the code base after 5/1/23

Describe the issue

Issue:
Can't load delta model, it stuck and showed a warning message

Command:

python3 -m llava.model.apply_delta \
    --base /data/home/llama-7b-hf\
    --target /data/home/LLaVA-7B-v0 \
    --delta /data/home/LLaVA-7b-delta-v0

Log:

Loading base model
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 33/33 [00:07<00:00,  4.70it/s]
Loading delta
You are using a model of type llama to instantiate a model of type llava. This is not supported for all configurations of models and can yield errors.

Screenshots:
You may attach screenshots if it better explains the issue.

@feymanwang feymanwang changed the title [Usage] Can't loading delta Can't loading delta May 5, 2023
@haotian-liu
Copy link
Owner

Hi, this is expected (as the checkpoint was created in an earlier version) and it is not an error; our latest code base can deal with correctly and generate the corresponding model weights. Can you take a look at /data/home/LLaVA-7B-v0 folder and see if there is anything written inside it?

@RongkunYang
Copy link

Hi, I meet the same problem, and the target folder does not have any output, have you resolved it.
And I think this may be caused by the llama weight version should be 1, not 2, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants