-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add better instructions #2
Comments
That's unusual, the instructions clearly tell the script to install python in the dependencies list. Could you try and install python outside of the proot-distro, just when you open Termux, with "pkg install python" and then report if it helped? Yes, the uninstall option is still missing and I have it in mind, will definitely add it as fast as I can. BTW., if the above solution does not work for you, you could also try and go ahead with reinstalling Termux/cleaning its storage files and try to install again. |
Termux was a clean install. As I said I already installed phyton with pkg install python despite that that step is missing in the instructions (the word phyton appears exactly 0 times here https://altaera.ai/altaeraai-dashboard/ ) Again I'm already one step ahead of your solution since I already did that, and my problem now is not that phyton is missing (anymore) but koboldcpp.py I could try reinstalling Termux if you don't have a solution for that. |
Let's first try to get to the root of the problem if you don't mind, so that others won't have the same issue. The word "python" does not appear on the webpage because it would be unnecessary. Instead, the instruction starting with "curl" follows further instructions placed in this repository. You can find "python" exactly here: If you type in "proot-distro login altaera", does it log in or throw an error? If it does log in, can you navigate to the "koboldcpp-altaera" directory and see if the "koboldcpp.py" file is factually missing? Plus - you can also try to fix the problem with the "Update AltaeraAI" button when typing in "ae". My guess is that perhaps the installation process was interrupted somewhere at the end, so it didn't install all of the necessary dependencies. If that's the case, the upcoming "uninstall/reinstall" option I'll include should be able to fix such problems. |
Starting from the end, I did try updating AltaeraAI before opening this issue, it didn't change the end result unfortunately. My knowledge about Linux cli is rusty and was never deep unfortunately but yeah I remember the "Please pull down the notification bar" message and looking briefly at the script it seems to install phyton before that? Thinking about it, my internet connection isn't the most reliable in the world, would the procedure wait in case the connection was lost or would it skip the phyton installation and continue? The login seems to work
|
I did try to update and run it again, now with another outcome surprisingly
|
Yeah, it seems like connection issues might've caused files to be skipped, though it just does whatever the Ubuntu package management tells it to do and probably should wait until the connection is stable again. Can you 'proot-distro login altaera' now and install python3 from there with "apt install python3 -y", then check if it works? The regular Termux python pkg implementation might not be fully compatible. I will eventually do some workarounds and fixes for those situations where the installation process fails, so to avoid confusion and problems. I appreciate that you point out these issues!
|
I had still problems after installing phyton that way but after the fix reinstall and downloading the suggested model again it finally worked. I have to look into the gui of kobold to find my way but the rwkv model that was downloaded is apparently a base model not one tuned for chat. I will try one of the chat models but I need a way to delete unwanted models. They should be somewhere in the koboldcpp folder I guess. |
The downloaded model is in the 'koboldcpp-altaera' directory after you type in "proot-distro login altaera". "CHNtuned" stands for Chinese-tuned. I'm surprised you find the World model weak at chatting since it was trained with an instruct-tuned dataset. But you can try the "Raven" and "Raccoon" models, those were fine-tuned with more instruct-focused datasets, and you can find them on my HuggingFace repo: https://huggingface.co/latestissue I will definitely put both on the model list over the coming days, to make it easier to switch over to them. Perhaps I'll include an option to keep a few models at a time for those who don't mind more memory occupied on the phone. |
No not weak at chatting but they just continued the sentence instead of answering as a second identity. Maybe it's because of the settings which I changed in the kobold interface but I had the Chinese version chatting with me lol. I will try further once I have more time. |
Yup, you have to change to the chat format in the settings menu, in the Kobold interface. I may later on also do some changes so to have it set up right after installation. |
The thing is I thought that the behavior depends on the model itself. I must say that I don't find the interface of kobold transparent enough, I'm used to gpt4all where you can directly see and change things like the prompt template, but in the end your software works. I will see how the rwkv models compare to llama2 based models on mlc-chat which is another way to run llm's on Android. |
So I faced the same issue yesterday about not finding kobold.cpp I had to reinstall like 3 times until it work. Maybe a check should be placed, something like "before finish the script verify if the kcpp-ae folder exists, if not offer to install again" |
that is most likely due to the fact that recently I had shifted the repository into an organisational one, I didn't realise that even though the whole repo was forked just fine, the "releases" part in which I stored the pre-packaged KoboldCpp archives were not cloned. I have just uploaded the recent KoboldCpp package to the new repository, and it should work just fine from now on. I also have now made the check when you start KoboldCpp, that if the "kcpp-ae" directory is missing, it will ask you to automatically re-download (or compile) KoboldCpp in order to continue. I might also create some sort of file integrity checks at the end of the installation process in the days to come. Sorry for the inconvenience! |
Thanks for the quick fix! Big kudos! |
The instructions didn't tell that you need to install phyton in Termux. Well I found out how to do it after the missing phyton3 message.
But I have still troubles running altaera.
I get the error "can't open file '/root/koboldcpp-altaera/koboldcpp.py': [Errno 2] No such file or directory"
An instruction about how to remove ae completely with all it's files would also be handy. This way I could try again. The best idea I have now is reinstalling Termux.
The text was updated successfully, but these errors were encountered: