-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Instructions for "Prepare Data & Run" don't seem to work on Ubuntu 22.04 #1434
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
Comments
Ok, just found the error with the last instruction: It should be
And the next command has the same error:
Remove the slash before "models" and it appears to work. |
Hmmm ... now I see that the FIRST line said to install the models into Will this make any difference? (It is not necessary to prefix relative directories with a './.' , only the command you are running if it is not in the $PATH. I suggest that these be removed, because it is very confusing. However, there are still issues with the other things not being in the expected directories.) |
It is not necessary to prefix file paths with |
There is actually no requirement to put the model files in a fixed location. All the tools have options to read and write to any path on the system. |
I was able to build the
llama.cpp
code with CMake, and I downloaded the 7B and 13B models. However, it seems that the instructions for setting up the data do not work when building it this way:(1) Instructions say:
I assume that
.models
should be created as a subfolder of thebuild/bin
folder, otherwise the instructions given later for runningquantize
andmain
will not work? Ok, so I did that... Now my$pwd
is~/code/llama.cpp/build/bin
.(2) Instructions say:
Where is "requirements.txt"? Ok, I found this file back under
../../llama.cpp
, so Icd ../..
and run that. Now my$pwd
is~/code/llama.cpp
...(3) Instructions say:
Assuming that there should be a '.' before
models/7B/
, I add the dot and run this command. However, it cannot find.models/7B/
(obviously, because it is underllama.cpp/build/bin/
, right?)So I run this command instead, after
cd
ing back tollama.cpp
:This appears to work, wih lots of output lines similar to the following:
So I
cd
back tollama.cpp/build/bin
and look at the contents of the.models
folder: Sure enough, there is a file:So now I try to run, according to instructions:
Error received:
What next?
The text was updated successfully, but these errors were encountered: