dalai icon indicating copy to clipboard operation
dalai copied to clipboard

Error: EPERM: operation not permitted, rename ...\dalai\tmp\models

Open dgasparri opened this issue 1 year ago • 5 comments

On Windows 10, I tried several times to install Llama with Dalai with the command:

npx dalai llama install 7B

On the last run, it gave me this error:

[Error: EPERM: operation not permitted, rename 'C:\Users\XXX\dalai\tmp\models' -> 'C:\Users\XXX\dalai\llama\models'] { errno: -4048, code: 'EPERM', syscall: 'rename', path: 'C:\Users\XXX\dalai\tmp\models', dest: 'C:\Users\XXX\dalai\llama\models' }

My best guess is that the destination folder C:\Users\XXX\dalai\llama\models probably already exists.

I'm worried that he built some stuff in tmp\models, and they are not transferred to llama\models (otherwise, why renaming a dir and not creating a new one?)

My tmp\models is not empty:

27/03/2023 11:19 <DIR> 7B 27/03/2023 11:00 432.578 ggml-vocab.bin 27/03/2023 11:19 499.723 tokenizer.model 27/03/2023 11:19 50 tokenizer_checklist.chk

dgasparri avatar Mar 27 '23 11:03 dgasparri

Having the same problem.

VanHallein avatar Mar 29 '23 14:03 VanHallein

I have the same problem.

paul-hanneforth avatar Mar 31 '23 06:03 paul-hanneforth

I have the same problem.

erisilva avatar Apr 01 '23 16:04 erisilva

me too , Win 11

merlinfive avatar Apr 04 '23 17:04 merlinfive

Same, even if I run it as administrator (Win 11)

Arjuna3 avatar May 10 '23 15:05 Arjuna3