Skip to content

Commit 46a32e7

Browse files
authored
Deprecate Llama Conversion Script (#1603)
This PR removes the `convert_from_llama.py` script since it is superseded by `convert_from_hf.py` instead.
1 parent c0b2e5a commit 46a32e7

File tree

2 files changed

+0
-155
lines changed

2 files changed

+0
-155
lines changed

docs/checkpoint.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,3 @@ python -m torch.distributed.checkpoint.format_utils dcp_to_torch torchtitan/outp
105105

106106

107107
That's it. You have now successfully converted a sharded `torchtitan` checkpoint for use with pytorch formats.
108-
109-
### PyTorch Meta Llama
110-
111-
An example script for converting the original Llama3 checkpoints into DCP format to be used with `torchtitan` can be found in `scripts/convert_from_llama.py`.
112-
113-
The script expects a path to the original checkpoint files, and a path to an output directory:
114-
```bash
115-
python -m scripts.convert_from_llama <input_dir> <output_dir>
116-
```

scripts/checkpoint_conversion/convert_from_llama.py

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)