-
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
Keep getting an error about "no such file or directory", I dont understand? #209
Comments
@nich2198 Got the same error message but the following steps solved.
|
i have the same error two
the solution of @sudarshan-koirala with is 2 lines on bash
but suddenly get a new error
|
@haller33 Thanks for the commands. You created a folder named alpaca and used llama model. To use llama models, rename alpaca folder to llama. |
Facing the same issue on my end. Here is the log: ` The default interactive shell is now zsh. cc -I. -O3 -DNDEBUG -std=c11 -fPIC -pthread -DGGML_USE_ACCELERATE -c ggml.c -o ggml.o |
@MikePrograms see like is just a question of running the right command, i have mess up with the two last comands. the correct solution will be like for LLaMA 7B
for Alpaca 7B
look if it's work for you |
Alpaca installs just fine from scratch. I get to the same part on both installation options, but this error only shows up when trying to do the LLaMA version:
|
This worked, Thank you |
Can I change the root folder? I want to host my models from another drive on Windows. UPD: Found in source code. I think it really could be useful to treat CWD as root folder. |
Using this solution, I've run into a new problem, also experienced by MikePrograms. I'm now getting a 'ENOTEMPTY' error. Here's the what I get:
|
Could you please add pull request? |
I get the same error only in Llama, not in Alpaca. |
This bug was introduced by ggerganov/llama.cpp#355 Can somebody help having that in mind? |
having the same exact issue. ive tried the solution suggested by sudarshan-koirala with no luck. prior to the latest update, i did not get this error but it filled out my storage so i had to abort, however, when i tried installing it on other computer it gave me a different error that is out of scope of this thread so im still havent tried this yet. |
I'm having the same issue as @MikePrograms where the Alpaca installation goes fine (I should note that I have to manually setup the directory as root/dalai/alpaca/models for it to work) but the LLaMA installation stops with the errors below I'm using root because I thought my issues was permission based at first and now it still happens in the root account so I'm guessing not. I've gone as far as on both accounts and I've tried wiping and starting over from scratch with clean OS install. With Directory manually setup root/dalai/llama/models OR root/dalai/llama/models/7B I used these commands to remove the entire dalai directory after previous failure and followed the below guide.
I get the same exact error of If I simply go to my root directory and run the following command without any manual directories setup and without using the above mentioned prep steps on a brand new install... I get this error I'm running Debian 11 Bullseye
I'm not sure what I'm doing wrong here. |
Same issue here: ERROR [Error: ENOTEMPTY: directory not empty, rename '/home/dalai3/dalai/tmp/models' -> '/home/dalai3/dalai/llama/models'] nodejs 18.13.0 ubuntu desktop 22.10 Edit: this used to worked a couple of days ago. A fresh install of the OS in both cases. |
I seem to have resolved the same issue on my system. Now I get a make error but this is another story. In my case I was installing in a folder outside my home with the command |
Same issue here, I thought for a moment that is was only me.. |
Same problem here! |
I tried what is mentioned here but I'm still getting: Installing collected packages: sentencepiece, mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio |
I think once this is resolved we need to get a docker container built so it's consistent and stop messing around with the "works on my machine" problem. |
@RiccaDS I think that the current issue is related to llama and not alpaca |
Any solution that works to resolve this issue on mac? |
Check my reply above to install in another directory and to make it work. Also always check that there is a "models" folder in your Alpaca folder.
It depends which current issue you mean. The OP posted on Alpaca and I had the same ENOENT error on Alpaca. ENOTEMPTY on the other side can be regarded as another issue I think. |
Agreed, I believe this issue 209 is currently having
|
Oh lol, seems everyone is hanging out here. Is this only a problem if you're using the |
I'm getting the llama ENOTEMPTY without any additional params (ubuntu 22.10);
So far, it seems that the 'dangling file' prevent the empty dir was introduced here: https://github.com/ggerganov/llama.cpp/pull/355/files#diff-7696a3039a95b41e744a08272f14d2a4345fddbd06ac482deb37f03a3afad2b5R142 |
EDIT: Didn't work. EDIT 2: Trying this other solution where I re-create the tmp directory between installing the different models. :/ EDIT 3: Holding off on using this project until this stuff gets sorted out. |
I tried that and it didn't work out for me. My lunch time is up so I'll be back here later to see if I can help at all |
Can you try #223? Fixed the issue for me. |
I am a total noob! How do I try this? xD |
It does not work anyway, download model manually. Also it will eat up all your RAM until you have swap. |
Using the new 0.3.1 fixed it for me -
(insert your model of choice) |
npx [email protected] llama install 65b> worked for me on LLAMA installation . |
@neiz solution solved it for me thanks! |
I finally got the alpaca model installed after solving several problems including updating to get the fix for #223.
|
@drwootton do you still experience these issues with the latest version of dalai? @cocktailpeanut seems to have already fixed any remaining issues, so simply updating your repo to the latest version will likely fix any remaining issues. |
I got dalai to run this morning after manually updating dalai as described in #223 and changed ownership of all files so I could run as my non-root account. I saved my llama quantized model, deleted the dalai directory and ran npx dalai alpaca install 7B --home /shared/dalai using my non-root account , which completed succesfully. I put back my llama model and things seem to be working. I don't know if the requirements to run as root are removed now, or if the install script discovered the dependencies were already installed, making the dnf and apt commands unnecessary. I also am not sure if I did install dalai at the latest level, since my dalai directory is not a git repository, so I wasn't able to run a git pull command. I assume the npx dalai alpaca install 7B command did get me the latest version. |
this works for me on 2 different windows 10 computers. thanks! |
I had similliar error on windows 10 using "--home" flag. This flag seems broken now but it's possible to replace it with soft link aka ntfs junction. This command solved my issue and helped me download models successfully: |
I'm resorting to DMing people on twitter who have these amazing demos like using llama + whisper. |
C:\Users\nicho>npx dalai alpaca install 7B
mkdir C:\Users\nicho\dalai
{ method: 'install', callparams: [ '7B' ] }
ERROR [Error: ENOENT: no such file or directory, rename 'C:\Users\nicho\dalai\alpaca\models' -> 'C:\Users\nicho\dalai\tmp\models'] {
errno: -4058,
code: 'ENOENT',
syscall: 'rename',
path: 'C:\Users\nicho\dalai\alpaca\models',
dest: 'C:\Users\nicho\dalai\tmp\models'
}
But i already installed some of it, but it stops here and every time i run it again it stops here.
The text was updated successfully, but these errors were encountered: