Lightning-AI / Lightning-AI/litgpt

litgpt download ..model_name... --convert_checkpoint false is performing conversion

Open
#1,791 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### Bug description

The command
litgpt download ..model_name... --convert_checkpoint false
is performing conversion and deletes the safetensor files (my workaround is to terminate work after safetensors are downloaded, just before they are deleted):
image

### What operating system are you using?

Unknown

### LitGPT Version

```

Version: 0.4.13

```

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

Start with the `litgpt download` command and trace how `--convert_checkpoint false` is handled after safetensor files are downloaded. Done means the command skips conversion and does not delete the downloaded safetensor files; verify this with the reported LitGPT 0.4.13 invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.