-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Approved, but unable to download weights #41
Comments
I had the same issue downloading locally (Mac Os Monterey) but seems to be working fine in AWS (ubuntu) |
I edited the code to handle that exception in dictionary defining on mac.
|
Same problem on macOS. besides, I got the extra error:
|
@sumukshashidhar it's a cloudfront link. Curious why yours show a urldefence.com link.. maybe the network is blocking ? |
Fixed it. Institution replaces all links with a urldefense link. I was able to resolve it by opening the link in a web browser, and copying the new link after I see the XML. |
@Hannibal046 I had got the same error message, solved it by installing wget and md5sum (coreutils). |
@arqamrp got it! Thanks |
For the error
I used brew install bash to install brew v5 and then use the bash installed by brew to download (in my case |
I am getting a 403 forbidden error:
Any suggestion would be appreciated? : / |
you cannot use curl or wget directly. |
Hi, thanks for the reply, I used the download.sh file with the received link (even removed the url defence) but I am still getting the error on Ubuntu 22 |
did you use bash? bash download.sh |
Yes, I did |
I'm getting the checklist.chk and the params.json but the consolidated.xx.pth files are not coming down or do not exist. Any ideas about this? |
I tried to download it through mobaxterm on windows 10, and got the same error. I fixed the error by installing coreutils. apt install coreutils |
Using aria2 instead of wget |
I had the same problem and this works! Thanks @ramithuh |
Here is a version of download.sh that works with /bin/zsh (zsh 5.8.1 (x86_64-apple-darwin22.0)
|
Connecting to dobf1k6cxlizq.cloudfront.net|13.33.45.217|:443... connected. |
How to run in mac M1? Did anyone try it? |
i got approved but unable to download the 7B weight , now please tell what steps should be followed in order to access the 7B weight i have installed all the tools required for it , thanking you |
If you on mac, there is a script here in the issues you can use that works. |
This seems to be a problem of the network region. Set the proxy to JP or US to solve this problem |
Still getting ERROR 403: Forbidden.. How to fix it? |
@Luxios22 @BarkaviSJ @sacrrie maybe with VPN? anyway, I used this code in the python version (curl download)
|
You mean VPN of which place? |
@Luxios22 yes, I simple test for discard, but, I had different problems, and finally the version of python with curl worked for me in a 5G connection |
Curl version python code did help on Mac, but this time I got Access Denied shown in params.json, which is really weird. I am using the link LLaMA sent to me. |
@borisalmonacid Thank you for this suggestion. 403 Forbidden is solved. Looks like the download is taking longer, even for the 7B model. Any rough estimate as to how long the download takes?
100 110 100 110 0 0 1095 0 --:--:-- --:--:-- --:--:-- 1100 |
@BarkaviSJ did that work for you on Mac or Linux? I tried it on Linux but it didn't solve the problem. |
That worked for me (curl for 403 forbidden alone) in MAC. But, I still have the same issue as mentioned by @Luxios22. Access Denied shown in params.json I installed brew install md5sha1sum yet it is NOT working. |
I am getting the same 403 error on Ubuntu; the python code does not resolve it. Adjusting to the curl snippet produces the same error as @Luxios22: Access Denied shown in params.json. |
I'm also having the same 403 forbidden error.
I've tried:
No luck so far 😅 |
@BarkaviSJ 10-15 minutes in 5G phone,. |
@BarkaviSJ you must use an independent md5 software for the check, specifically for your operating system/distribution. |
I'm getting the same error, using both |
Doesn't work, I also tried to change the -O flag with aria2's -o flag. |
How did u solve the signature, key-value pair and md5 problem in windows? |
i just got a new presigned URL and ran FAIR's own download.sh and it is working. |
choco install wget |
I added |
Finally I managed to fix all issues and download the model weights thanks to the comments from this group. I am writing this to help others investigate and fix it systematically: Step-1: Read the output. If you see this error /opt/homebrew/Cellar/bash/5.2.15/bin/bash download.sh Step-2: If you see wget not found or checksum not found errors it means that these tools are not installed, install them: brew install wget and run the download.sh as described above Step-3: If you get 403 Forbidden error it means that you are messing up with settings. Make sure that you have copy pasted the 'exact' url as you received (it has a * sign in it which is replaced by elected model) do not change anything in the url. and for model selection just keep your selected option from the list. e.g. MODEL_SIZE="7B" # edit this list with the model sizes you wish to download ENJOY... |
The script only downloads consolidated.00.pth and consolidated.01.pth files for every model. Anyone else facing this problem? |
I was getting a 403 error with the bash script but I was able to successfully start downloading through the python script. Thanks a lot. |
drewgillson's new script posted mar 2 2023 worked for me. was
should have been:
|
this works - thanks a bunch |
Closing this issue but cc'ing @samuelselvan for FYI and future script updates.. |
Don't need update download.sh, just install:
|
When I run the
download.sh
I see this.And I don't see any *.pth files in the download directory.
Any suggestions?
The text was updated successfully, but these errors were encountered: