Lightning-AI / Lightning-AI/lit-llama

Floating point exception (core dumped)

Open
#291 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6.1k
Forks
517
PR merge metrics
No merged PRs in 30d

Description

I was trying to run the script finetune/lora.py and I got the error:

Floating point exception (core dumped)

without any further traceback log.
For context, I was following the guide in the howto folder, with the exception that I used my own training data, and the pretrain weight of LLaMa was downloaded from pyllama.
Thank you in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing finetune/lora.py and the howto guide, then reproduce the failure using the custom training data and the pretrain weights downloaded from pyllama. Compare that setup with the guide's inputs and record enough environment and input details to identify why the process exits with a floating point exception instead of a traceback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.