Open FrostKiwi opened 1 year ago
I was getting the error the following error:
[...] => CACHED [ 5/10] RUN git clone https://github.com/ViperX7/llama.cpp /llama.cpp 0.0s => CACHED [ 6/10] RUN cd /llama.cpp && make 0.0s => ERROR [ 7/10] RUN mv /llama.cpp/main /main 0.3s ------ > [ 7/10] RUN mv /llama.cpp/main /main: #0 0.279 mv: cannot move '/llama.cpp/main' to a subdirectory of itself, '/main' ------ failed to solve: executor failed running [/bin/sh -c mv /llama.cpp/main /main]: exit code: 1
~I fixed it by changing the mv command from /llama.cpp/main /main to /llama.cpp /main.~ But then I ran into:
/llama.cpp/main /main
/llama.cpp /main
[...] => CACHED [ 5/10] RUN git clone https://github.com/ViperX7/llama.cpp /llama.cpp 0.0s => CACHED [ 6/10] RUN cd /llama.cpp && make 0.0s => ERROR [ 7/10] RUN mv /llama.cpp /main 0.3s ------ > [ 7/10] RUN mv /llama.cpp /main: #0 0.286 mv: cannot remove '/llama.cpp/.devops': Invalid argument #0 0.287 mv: cannot remove '/llama.cpp/prompts': Invalid argument #0 0.287 mv: cannot remove '/llama.cpp/spm-headers': Invalid argument #0 0.288 mv: cannot remove '/llama.cpp/examples/perplexity': Invalid argument #0 0.288 mv: cannot remove '/llama.cpp/examples/quantize': Invalid argument #0 0.289 mv: cannot remove '/llama.cpp/examples/embedding': Invalid argument #0 0.289 mv: cannot remove '/llama.cpp/examples/main': Invalid argument #0 0.289 mv: cannot remove '/llama.cpp/models': Invalid argument #0 0.290 mv: cannot remove '/llama.cpp/.git/refs/heads': Invalid argument #0 0.290 mv: cannot remove '/llama.cpp/.git/refs/remotes/origin': Invalid argument #0 0.291 mv: cannot remove '/llama.cpp/.git/objects/pack': Invalid argument #0 0.292 mv: cannot remove '/llama.cpp/.git/hooks': Invalid argument #0 0.292 mv: cannot remove '/llama.cpp/.git/info': Invalid argument #0 0.292 mv: cannot remove '/llama.cpp/.git/logs/refs/heads': Invalid argument
, so I sidestepped this issue by simply using cp instead.
I was wrong regarding the path. The issue lied with the deletion of files by use of mv. llama.cpp/main /main was correct afterall.
mv
llama.cpp/main /main
Reopened because of https://github.com/ViperX7/Alpaca-Turbo/issues/66
I was getting the error the following error:
~I fixed it by changing the mv command from
/llama.cpp/main /main
to/llama.cpp /main
.~ But then I ran into:, so I sidestepped this issue by simply using cp instead.