-
Notifications
You must be signed in to change notification settings - Fork 92
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
i still cannot download on intel mac #117
Comments
I see, thanks for the report. Seems like it is somehow still trying to get the download from a prebuilt release. Did all the steps before |
yes everything before succeeded. could you put up instructions on how to do the download manually? and what to do afterwards? |
Thanks, that's great to know. Sure -- let me put this guide of manually downloading models into README and also post it here after I'm done. |
In PR #118 instructions are added for manually downloading models from Hugging Face, into the README. The Hugging Face URLs for the four models are at "https://huggingface.co/kaiyuy/ct2-leandojo-lean4-tacgen-byt5-small"
"https://huggingface.co/kaiyuy/ct2-leandojo-lean4-retriever-byt5-small"
"https://huggingface.co/kaiyuy/premise-embeddings-leandojo-lean4-retriever-byt5-small"
"https://huggingface.co/kaiyuy/ct2-byt5-small" You can download them directly and put them into |
do i just download model.bin, or the entirety of each repository? |
The entire repo, you can directly |
also, what is the full path to that folder, starting at <project_name> |
Which folder? The repos are directly at the URLs. |
~/.cache/lean_copilot/ |
This is already the path to the folder. I cannot tell what the exact full path is on your machine, because that depends on what your home directory is. Is this what you are asking? |
it doesnt appear to exist. |
~/.cache/mathlib is the only folder present in .cache |
Right, if you have not ever downloaded these models before, that folder should not have existed by now. You can create it. |
and the command for that is |
You mean how to create a folder on your desktop? |
You can get into the parent directory and create a new folder, or if you prefer the command line you can |
and then for the cloning |
is the cloning supposed to finish in seconds? |
i get an error message: |
You can just |
i got this for the first cloning: |
Did you run the |
im trying to use it in a project. i cloned first. |
Okay. For the error you are seeing when you clone, it seems to me that you don't have |
i have now installed git-lfs. and cloned successfully. i still get |
Thanks, I thought we said it's just the downloading step that did not work. Anyways, did the |
If the |
I too have this problem. I will try the manual instructions you have given. I am following the instructions here: https://github.com/lean-dojo/LeanCopilot and have updated my lakefile.lean to be
but running
And indeed when I look here https://github.com/lean-dojo/LeanCopilot/releases there is no such file and presumably I should use https://github.com/lean-dojo/LeanCopilot/releases/download/v1.6.0/arm64-macOS.tar.gz. But how do I convince lake / lean to use this?
|
Which repo? I am looking here: https://huggingface.co/kaiyuy but
I don't have a username for huggingface. But maybe you meant something different? |
The problem is lean detects the wrong OS
lol |
The answer is to install the correct version of elan (arm64): https://github.com/leanprover/elan/releases/download/v3.1.1/elan-aarch64-apple-darwin.tar.gz. @jaredgreen2 I think all the other things are red herrings. |
and what do i do after downloading? |
I think you unzip it and run the installer. I assume you did |
$ uname -m |
Stumbling upon the same issue when trying to use v1.6.0:
|
i still get a 404
$ lake exe LeanCopilot/download
✖ [3/20] (Optional) Fetching LeanCopilot:optRelease
trace: downloading https://github.com/lean-dojo/LeanCopilot/releases/download/v1.5.1/x86_64-macOS.tar.gz
trace: .> curl -s -S -f -o ././.lake/packages/LeanCopilot/.lake/x86_64-macOS.tar.gz -L https://github.com/lean-dojo/LeanCopilot/releases/download/v1.5.1/x86_64-macOS.tar.gz
trace: stderr:
curl: (22) The requested URL returned error: 404
error: external command 'curl' exited with code 22
error: build failed
The text was updated successfully, but these errors were encountered: