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.
Apache License 2.0
6k stars 520 forks source link

[question] assert lora_path.is_file() error #462

Open nevermet opened 1 year ago

nevermet commented 1 year ago

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.

SyJarvis commented 1 month ago

bro, have you solved the problem?