-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Alpaca Model - Does nothing at all.. Required Hardware? #330
Comments
Dalai is currently having issues with installing the llama model, as there are issues with the PowerShell script. I think it is related to #241. Try downloading alpaca.7B as an alternative, it should at least work and give you some output. |
Thanks for your answer, but I'm trying with Alpaca and not LLama :C Maybe it doesn't work with Alpaca now either? It seems to be something different. |
Have you tried running main.exe from the command-line with the parameters supplied? If it responds right away without a response to your prompt, try: |
Thanks for the hint. But unfortunately I do not know which parameters I can pass. I don't know how to google either. -1073741795 |
Segmentation fault. I had the same issue. Don't have a fix. |
Same, I have this kind of error with Llama and Alpaca 30B :
I use docker and this error is related to a lake of RAM I guess... I have about 22go RAM free before running the model, sometimes less, so maybe 32go of ram isn't enough to run 30B models with docker ? The |
Hmmmm on this site are the requirements:
EDIT: Maby this helps someone (i hope the link works for you..): https://www.phind.com/search?cache=6a6b46d4-d929-49b7-bbdd-2d3cca237077 |
I would get it regardless of model (tried 7B and 13B) and I have 32GB on my machine. And it worked fine running under a Linux VM with only 16GB. So the problem appears to be specific to the Windows version. |
@pdavis68 , virtualization It's running flawlessly on my Linux environment, but I've been having trouble getting it to work on my Windows 11 PC with 6 GB of V-RAM and 16 GB of RAM. Problem description:
|
The crashes appear because of programming errors: They don't check whether they get memory for the model or not ;-) In ggml.c Line 2450 it's only checked against alignment, but not whether they have the memory at all ... Add in line 2450: The description on the main-page in GitHub is wrong. The model does not have to reside where the .exe is, but where you start it from. So if you build with CMAKE within the build directory the model has to reside in the "build" directory itself, even if the executable is in "Release/main". So (Windows, have CMAKE installed and VisualStudio2019 for example):
|
In linux I have everything running on the same machine. I think I will stay with linux... But if I ever switch to windows I will try that :) Thank you. (And yes... with 4 cores it is really pathetic :P I hope there will be a better quantized model sometime. Then I will test it again with the maschiene. But so 4 cores with the clock speed are just too weak. (But with 24 cores it goes really fast xD)) I dont know if i can close this issue now because i cant test it. |
I am running on Windows 10. I can run the 13B one with a 32GB Ram and 16GB video card memory. If you get Segmentation Faults with the 7B model, it likely is the hardware is what different AIs told me. |
I get the segmentation fault under Windows with the 7B model. Using the same machine, running it in a linux VM with only 16GB of the 32GB allocated to it, it runs fine. So it's not a hardware issue for me. |
So you were able to get it running in Linux? I've tried Win 10 but I'm spinning up an Ubuntu 20.04 to try. |
Guys! I finally got it to work!!!Its a long procedure but bear with me.
Option 1:Step 0 - Rules and prerequisites:Make sure you have enough storage space to download Visual Studio, the models and any other dependencies. Have at least 25 GB. I recommend 50 GB. Step 1 - Fresh start:Remove all files, folders and any other references to 'Dalai', 'Llama', 'Alpaca', etc. Delete all of it. Make sure when you search any of those terms, nothing shows up. Also type 'dalai' and 'npx dalai' in command prompt and make sure this command is NOT recognized. Step 2 - Check Versions:Check your Python and Node versions. Step 3 - Install Visual Studio:This is a requirement. Proceed to download, sign in to your Microsoft account on VS and make sure all your Visual Studio tools are up to date. Step 4 - Install node-pty:This is what fixed it for me. Step 5 - Installing the model:Open Command Prompt as Administrator. (Make sure you are in CMD and not powershell) Step 6 - Start server:Type in command prompt: Step 7 - Using the WebUI:DO NOT open the link (http://localhost:3000/) in your normal browser. Step 8 - Generating a prompt:When you open the WebUI, select alpaca.7B from the model list (even though its already selected, click and re-select it) Option 2:If option 1 doesn't work, just use a linux computer. Option 3:If none of the previous options work, pray to the UwU Gods for a miracle and try again. |
Yes i was able to run in on Linux (debian/ubuntu based Distro: ZorinOS). I've made a dualboot and i think i will test it in windows right now with the 2 solutions presented here. Then i will report :) |
Why dual boot? Wouldn't it be easier to use a VM under HyperV? Unless memory is the issue. |
@Atharva2628 @jesko42 @pdavis68 I dont know why i forget about docker all the time. I used Docker (wsl) to get it running on that machine. But its reeeeeeeally slow. In Linux its much faster. |
I'm going to be installing it on Ubuntu 20.04 later this evening. It's going to be a VM on a Win10 host. I will report back on that install. |
Hey all: to be NOT misunderstood: I told you this "The crashes appear because of programming errors" I cannot help if you have too less memory. To me questionable in the end is why there is NO USE of virtual memory ... |
All good, i know that. But after compiling i got some errors and i couldnt even start dalai. (Probably i made a mistake, but i dont really think its related to that, because the docker image works.. sooo it has to be something else. And others say that they have enough RAM in any case.) |
Hello Dalai community and developers :)
Short specs:
Mini Laptop:
Software versions:
Story:
Expected behavier:
Acual behavier:
I started dalai with "npx -dd dalai serve" to get more info. Here what the CMD window says:
This is the Browseroutput in Firefox with Debug enabled:
Debug log
Is my Hardware too weak? Or any hints? I don't get any error messages, so I don't know what to do either.... Can someone please tell me how I can further Troubleshoot?
(:
The text was updated successfully, but these errors were encountered: