juncongmoo / pyllama

LLaMA: Open and Efficient Foundation Language Models
GNU General Public License v3.0
2.81k stars 311 forks source link

Downloading get stuck in infinite loop #56

Open jarimustonen opened 1 year ago

jarimustonen commented 1 year ago

When trying to download the models, I get stuck in some infinite loop.

Screenshot 2023-03-27 at 12 17 59

This repeats once every second until I terminate the program.

Environment:

elven2016 commented 1 year ago

I have this issue too,but the os is WSL2-ubuntu

Macavity77 commented 1 year ago

I have the same issue here. @juncongmoo can you help take a look?

juncongmoo commented 1 year ago

I wish I could reproduce the error above but my run always succeeds. Maybe it is because I don't have an M1 Mac book? Or can anybody create a colab so that I can reproduce the error?

jarimustonen commented 1 year ago

Is there a way to add more logging?

@elven2016, what hardware are you using?

@juncongmoo, what is colab and how can I create one?

elven2016 commented 1 year ago

@jarimustonen HP Victus laptop, win11

XiangkunFang commented 1 year ago

Same problems here. I'm using the M1 chip Macbook Pro, and the downloading was in an infinite loop. I check the size of the file downloaded, and it changes between 0b to 200b, so basically the downloading procedure was just looping.

synchroazel commented 1 year ago

Same problem here on a Macbook Pro 14" with M1 Pro 🙋

sskorol commented 1 year ago

The problem on Mac is with the underlying download script (associative arrays and nested loop). It's Linux-oriented and should be adopted to MacOS. TBH, I quit trying to fix different issues on Mac last weekend. It was too time-consuming and disappointing. So I stopped and switched back to Linux.

mindon commented 1 year ago

under MacOS you need to brew install md5sha1sum to get md5sum to pass the verify

jarimustonen commented 1 year ago

under MacOS you need to brew install md5sha1sum to get md5sum to pass the verify

I tested this and this won't work.

sskorol commented 1 year ago

Because it's not the root cause. It never enters this loop.

hinofafa commented 1 year ago

under MacOS you need to brew install md5sha1sum to get md5sum to pass the verify

This is worked for M2 Pro too, I also stuck in infinite loop before installation.

Before:

Screenshot 2023-05-12 at 4 25 32 AM Screenshot 2023-05-12 at 4 25 56 AM

After:

Screenshot 2023-05-12 at 4 22 57 AM
yMayanand commented 1 year ago

I am running on colab with gpu and downloading is stuck in infinite loop. Any solutions to solve this problem?