mlcommons / mlcommons/training

Git isn't initialized properly in `bash run_llama31.sh`

Open
#822 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.8k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

Git isn't setup in the run_llama31.sh script at all which leads to an error like:

fatal: not a valid object name: HEAD:

The run_demo.sh script includes the following lines:

git init
git add .
git config --global user.name "test"
git config --global user.email "test@test.com"
git commit -m "start"

I'll submit a PR to add these to run_llama31.sh.

Contributor guide

Open the contributing guide

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 comparing bash run_llama31.sh with the Git setup shown in run_demo.sh at lines 8-12. Reproduce the HEAD error, then verify that the script initializes Git and reaches the expected commit state without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, git
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.