-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Improved README instructions for building in Termux on Android devices #2840
Conversation
Added direction to build with `make`, and simplified `OpenBlas` method. These instructions should work for any Android device capable of running `llama.cpp`. Clarified on where to _move_ the models in Termux. `llama.cpp` is diverse, so I added a Usage example for new users. I left `CLBlast` instructions unchanged for now.
made Usage example more clear in the case Users build with cmake
$HOME before make is unneccesary. If User is new with Termux then typing cd storage/downloads before $HOME is confusing. clarified directions.
What is $HOME meant to do? My Termux has the bash shell so running it as a command would just print an error. |
Thanks for pointing that out. I expected $HOME to navigate to I replaced
|
$HOME is a script within fish shell, assuming User uses bash then we use `cd` to navigate to /data/data/com.termux/files/home
If I remember correctly, android "sandboxes" apps such that native home folder is the app folder, and I checked with termux, not sure about other apps, but standard unix Edit: I saw the diff, and I now know what you meant, but I agree |
remove reference to Termux `$HOME` path.
I removed Thank you. |
I think it would be sufficient to say "to the home directory ( |
User needs to move the model to the correct location, and doesn't need to know/care about the absolute path in Termux
original example was generic, adjusted --prompt to fit alpaca-style
typo fixed
also looks better, and consistent
@cebtenzzre Are there any other inconsistencies, or changes neccesary here? |
Have you seen my review comments? |
Hmm, I don't see a review comment, other than a couple days ago: #2840 (comment) - I implemented the change here: 0a7ef3a I don't know where it is. |
Do you see them here? edit: oops, looks like I made comments but forgot to submit the review. |
I see now, let me check it out. Thank you. |
Replaced outdated, ineffecient steps for a streamlined method.
made export better for copy/pasting, looks better
now is correctly matched with `CLBlast` & `llama.cpp`
regarding Certain devices export from |
Some devices path from Vendor, others path from System
Added direction to build with
make
, simplifiedOpenBlas
, andCLBlast
installation method. Clarified where to move models in Termux.llama.cpp
is diverse, so I added amain
Usage example for new users.These instructions should work for any Android device capable of running
llama.cpp
.