Lightning-AI / Lightning-AI/litgpt

how to solve this debug

Open
#1,394 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.7k
Forks
1.5k
Avg merge
15h 37m
Merged PRs (30d)
1

Description

Hello, excuse me. When I follow the tutorial and use your script to convert the llama-2-7b-hf model, the following error always appears. I don’t know how to solve it.
[root@localhost RobustGER-master]# sh conv_model.sh
usage: convert_lit_checkpoint.py [-h] [--config CONFIG] [--print_config[=flags]]
--checkpoint_name CHECKPOINT_NAME --out_dir OUT_DIR
--model_name MODEL_NAME
error: Validation failed: No action for key "_name_or_path" to check its value.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by inspecting conv_model.sh and its invocation of convert_lit_checkpoint.py, then rerun it with the exact llama-2-7b-hf inputs from the tutorial. Compare the supplied arguments with the required options shown in the error and capture the model and configuration details; done requires a confirmed diagnosis or reproducible fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.