dalai
dalai copied to clipboard
ENOTEMPTY: directory not empty occurs when installing models
The following error is occurring when attempting to install the llama and alpaca models on Apple Silicon running MacOS Ventura:
ERROR [Error: ENOTEMPTY: directory not empty, rename '/Users/<HOME_DIR>/dalai/tmp/models' -> '/Users/<HOME_DIR>/dalai/llama/models'] {
errno: -66,
code: 'ENOTEMPTY',
syscall: 'rename',
path: '/Users/<HOME_DIR>/dalai/tmp/models',
dest: '/Users/<HOME_DIR>/dalai/llama/models'
}
The fix is to make sure to only remove the original models path, not the entire engine.home directory.
Can you try #223?
Can you try #223?
Hello, I updated Dalai with npx [email protected] setup
but I still get the same error.
Can you try #223?
Hello, I updated Dalai with
npx [email protected] setup
but I still get the same error.
You are not alone, I have tried different thing for hours, still getting the same errors.
I just tried my fix on a clean install and it worked. I'll keep investigating and see if I can come up with a fix. Appreciate the feedback.
Can you try #223?
Hello, I updated Dalai with
npx [email protected] setup
but I still get the same error.You are not alone, I have tried different thing for hours, still getting the same errors.
The problem after upgrading to npx [email protected] setup
is that npx keeps taking the old version to run.
You can test by running npx dalai@latest llama install 7B
or npx [email protected] llama install 7B