dalai
dalai copied to clipboard
Fix for #222 ENOTEMPTY: directory not empty
This fixes issue #222 that I created.
This still gives me
[7/7] RUN npx dalai alpaca install 7b: #11 3.219 mkdir /root/dalai #11 3.222 { method: 'install', callparams: [ '7b' ] } #11 3.232 ERROR [Error: ENOENT: no such file or directory, rename '/root/dalai/alpaca/models' -> '/root/dalai/tmp/models'] { #11 3.232 errno: -2, #11 3.232 code: 'ENOENT', #11 3.232 syscall: 'rename', #11 3.232 path: '/root/dalai/alpaca/models', #11 3.232 dest: '/root/dalai/tmp/models' #11 3.232 }
when running from docker
I just tried this locally and this fixed my issue
@wacastel Thanks for the great work. I'm a noob in npx packages. Could you tell me how to install this commit locally? @KyleMoran138