Lightning-AI / lit-llama

Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: git submodule update --init --recursive -q did not run successfully

seupedro opened this issue · comments

Screenshot 2023-12-14 at 02 22 38

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

I am hitting this issue as well