Lightning-AI / Lightning-AI/lit-llama
Error: git submodule update --init --recursive -q did not run successfully
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 517
- PR merge metrics
- No merged PRs in 30d
Description
Hi there!
I'm facing this error after cloning the repository:
```
× git submodule update --init --recursive -q did not run successfully.
│ exit code: 128
╰─> See above for output.
```
My env:
```
~ lit-llama % pip --version
pip 23.2.1 from /Users/seupedro/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)
~ lit-llama % python --version
Python 3.11.6
```
The same happens when I try to go through terminal. Here is full error log:
```
Collecting lightning@ git+https://github.com/Lightning-AI/lightning@master
Cloning https://github.com/Lightning-AI/lightning (to revision master) to /private/var/folders/s8/k3qcx2r56bvf64hs77nzpdkh0000gn/T/pip-install-ve9jddtg/lightning_00c1366ba4ac4001bebf0730697cadb9
Resolved https://github.com/Lightning-AI/lightning to commit 97469c600f085b78dc5934d6cabfe87ffa6d098e
Running command git clone --filter=blob:none --quiet https://github.com/Lightning-AI/lightning /private/var/folders/s8/k3qcx2r56bvf64hs77nzpdkh0000gn/T/pip-install-ve9jddtg/lightning_00c1366ba4ac4001bebf0730697cadb9
Running command git submodule update --init --recursive -q
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '543a8d82006620906dc9eb669eab18d06ebe6863' in submodule path '_notebooks'
error: subprocess-exited-with-error
× git submodule update --init --recursive -q did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git submodule update --init --recursive -q did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip available: 22.3.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the installation path that runs pip's clone of Lightning and its recursive _notebooks submodule, then reproduce `git submodule update --init --recursive -q`. Inspect the reported `git-lfs: command not found` output and determine the repository change or prerequisite guidance needed; done means a fresh setup no longer fails at this checkout step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100