meta-llama / llama

Inference code for Llama models
Other
55.5k stars 9.47k forks source link

Checking checksums - Could not parse check file 'checklist.chk' (2) #362

Open Anerco opened 1 year ago

Anerco commented 1 year ago

the error occurs when running the download.sh script. happened to me on MacOS, Apple Sillicon

Mihir2 commented 1 year ago

Same error:

2023-07-18 19:57:12 (58.2 MB/s) - ‘./llama-2-70b-chat/checklist.chk’ saved [851880]

Checking checksums md5sum: checklist.chk: no properly formatted MD5 checksum lines found

cloudwolf516 commented 1 year ago

For additional context, the error occurs when running the download.sh script.

OS: MacOS 13.4.1

magedhelmy1 commented 1 year ago

Please write OS - Seems to be on MAC OS

diwasbhattarai commented 1 year ago

Got same error on Ubuntu

derwiki-gs commented 1 year ago

Quick workaround: remove this line from download.sh https://github.com/facebookresearch/llama/blob/cfc3fc8c1968d390eb830e65c63865e980873a06/download.sh#L56

david-goodfellow commented 1 year ago

I am seeing this as well despite md5sum being installed properly in a conda env per description. Also, looking in the output in terminal, it seems 403 error despite being my first download only for 7B model

HTTP request sent, awaiting response... 403 Forbidden
2023-07-18 16:10:01 ERROR 403: Forbidden.

Checking checksums
md5sum: checklist.chk: no properly formatted MD5 checksum lines found
Mihir2 commented 1 year ago

Requesting the link again, seems to be working with the new link as described here: https://github.com/facebookresearch/llama/issues/360#issuecomment-1640889338

Resolves the following error: 2023-07-18 19:57:12 (58.2 MB/s) - ‘./llama-2-70b-chat/checklist.chk’ saved [851880]

Checking checksums md5sum: checklist.chk: no properly formatted MD5 checksum lines found

derwiki-gs commented 1 year ago

same as @david-goodfellow I am getting sporadic 403s

pblan commented 1 year ago

Also try to exit any VPN you might have turned on. That solved it for me!

david-goodfellow commented 1 year ago

Quick workaround: remove this line from download.sh

https://github.com/facebookresearch/llama/blob/cfc3fc8c1968d390eb830e65c63865e980873a06/download.sh#L56

somehow I feel this will just lead to hard to debug issues down the line 🤔

owquresh commented 1 year ago

requesting a new link did not work for me

Levinin commented 1 year ago

Similar, but I get unsupported browser and no valid checksums. Looks like it copies the HTTP response into the place of checklist.chk since it doesn't get the checksum file itself. Commenting the line doesn't work since it still fails due to unsupported browser error, whatever that means in this context. Running Ubuntu.


Connecting to l.facebook.com (l.facebook.com)|2a03:2880:f158:84:face:b00c:0:14c9|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://www.facebook.com/unsupportedbrowser [following] --2023-07-18 21:50:16-- https://www.facebook.com/unsupportedbrowser

tbbuck commented 1 year ago

Check that you've copied the URL in the email, and not the href value, i.e. what you get when you right-click on a link and select "Copy Link."

If the value you've pasted into download.sh begins with https://l.facebook.com instead of https://download.llamameta.net then you've copied it wrong :)

gooselord-0 commented 1 year ago

Not connected to VPN. Re-requested link, but second link didn't work, either. 403s for every request. Tried on Ubuntu 20.04 and Ubuntu on WSL.

DamithDR commented 1 year ago

image Same issue. Not working with new link too.

aptl26-prev2 commented 1 year ago

Check that you've copied the URL in the email, and not the href value, i.e. what you get when you right-click on a link and select "Copy Link."

If the value you've pasted into download.sh begins with https://l.facebook.com instead of https://download.llamameta.net then you've copied it wrong :)

This solved it for me. Thanks

Levinin commented 1 year ago

Check that you've copied the URL in the email, and not the href value, i.e. what you get when you right-click on a link and select "Copy Link."

If the value you've pasted into download.sh begins with https://l.facebook.com instead of https://download.llamameta.net then you've copied it wrong :)

Rookie error, thank you!

chrismarra commented 1 year ago

Hi everyone, we fixed some issues with the download links yesterday - resetting your local directory and requesting a new link is the best way to start over unless you've already verified checksums and know exactly which files you need. Make sure you're requesting a fresh link, copying the actual text of the link (download.llamameta.net), and starting from a fresh local directory. Sorry for the issues yesterday!

magedhelmy1 commented 1 year ago

Thanks for that, perhaps a download.sh file for OS: mac & linux also? After the above update, the download.sh is working on MAC OS.

DamithDR commented 1 year ago

@chrismarra For some reason I still get the same issue after re-cloning and trying with a new link. (full fresh start)

gooselord-0 commented 1 year ago

@chrismarra I too still have the 403 issue, despite a fresh local directory and a fresh+correct download hyperlink. Tried on two systems (Ubuntu 20.04 on both).

Starlink is my ISP, if by any chance CGNAT could be causing these issues.

digiguru commented 1 year ago

It's worth mentioning you need to read the question it asks.

It says

Enter the URL from email: 

If you are on auto-pilot you might read it as

Enter blah blah email:

You need to paste in the URL that starts

https://download.llamameta.net/...)

Hope that helps people struggling

gooselord-0 commented 1 year ago

It's worth mentioning you need to read the question it asks.

It says

Enter the URL from email: 

If you are on auto-pilot you might read it as

Enter blah blah email:

You need to paste in the URL that starts

https://download.llamameta.net/...)

Hope that helps people struggling

A number of us aren't on auto-pilot and are still having issues despite copying the correct link.

m5a0r7 commented 1 year ago

Try to define PRESIGNED_URL and MODEL_SIZE in ./download.sh as:

PRESIGNED_URL="Your URL" MODEL_SIZE="The Model Size You Want"

instead of read -p "Enter the URL from email: " PRESIGNED_URL

ShaunMoore commented 1 year ago

It's worth mentioning you need to read the question it asks.

It says

Enter the URL from email: 

If you are on auto-pilot you might read it as

Enter blah blah email:

You need to paste in the URL that starts

https://download.llamameta.net/...)

Hope that helps people struggling

This was actually helpful as I was on said "autopilot" lol. Entered the URL instead of continually being an idiot and entering my email.

Don't understand why people are getting upset. Thanks man.

steveoon commented 1 year ago

It's worth mentioning you need to read the question it asks. It says

Enter the URL from email: 

If you are on auto-pilot you might read it as

Enter blah blah email:

You need to paste in the URL that starts

https://download.llamameta.net/...)

Hope that helps people struggling

A number of us aren't on auto-pilot and are still having issues despite copying the correct link.

Actually, even after I re-cloned the repository and used the URL beginning with https://download.llamameta.net/...), I still received a '403: Forbidden' message.

uthpala1000 commented 1 year ago

you can download the block version here https://huggingface.co/TheBloke/Llama-2-70B-chat-GPTQ or any other https://huggingface.co/TheBloke/

se7enack commented 1 year ago

Looks like the version of md5sum doesn't support the "-c" switch. If you edit this line and remove the switch md5 works correctly.

From: (cd ${TARGET_FOLDER}"/${MODEL_PATH}" && md5sum -c checklist.chk) To: (cd ${TARGET_FOLDER}"/${MODEL_PATH}" && md5sum checklist.chk)

chengh99 commented 11 months ago

I had the same issue. Thanks for all the tips. What I did now fixed my problems.

  1. removed the historical files tokenizer.model tokenizer_checklist.chk
  2. requested a new link, click & open it in a browser and paste the link to the command line when prompted It is working for me now
davidgao7 commented 6 months ago

I hardcoded the TARGET_FOLDER(where you want your model be downloaded) in the download.sh and rerun the script then it started downloading

kevleyski commented 4 months ago

Yeah Mac vs linux md5sum might be slightly different, remove the -c (Metamates, can someone add a quick darwin os type check in the script)

int29 commented 4 months ago

Thanks everyone, I was having the same issue, but I figured it out!

I thought when download.sh asked for an email, it meant to enter the email you used to register at "https://llama.meta.com/llama-downloads/", but actually, need to input the URL provided after agreeing to the terms.

kevleyski commented 4 months ago

Metamates, I feel this could be a common problem worth checking the logs and changing the wording in the prompt maybe

faustoct1 commented 4 months ago

Thanks everyone, I was having the same issue, but I figured it out!

I thought when download.sh asked for an email, it meant to enter the email you used to register at "https://llama.meta.com/llama-downloads/", but actually, need to input the URL provided after agreeing to the terms.

Thanks.