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

[question] assert lora_path.is_file() error

nevermet opened this issue · comments

Dear all,

While I was running 'generate/lora.py', I encountered the error below:
...
lit-llama/generate/lora.py", line 55, in main
assert lora_path.is_file()
AssertionError

could you tell me how I can resolve this? Line 55 is the '):' for 'def main ('

Thanks in advance.