Closed JIANGTUNAN closed 3 weeks ago
@dusty-nv maybe needs: sudo apt install libopenmpi3 build of pytorch that didn't have it included.
@JIANGTUNAN yes, in the container this:
apt-get update && \
apt-get install -y --no-install-recommends \
libopenblas-dev \
libopenmpi-dev \
openmpi-bin \
openmpi-common \
gfortran \
libomp-dev
@johnnynunez I had not been including PyTorch/ect in the llama.cpp build to keep it minimal. However I see now that for the HF->GGUF conversion, it is needed. In the future, by default I think I will rebase llama.cpp on pytorch image, and have a separate llama.cpp:minimal
image without it.
@JIANGTUNAN yes, in the container this:
apt-get update && \ apt-get install -y --no-install-recommends \ libopenblas-dev \ libopenmpi-dev \ openmpi-bin \ openmpi-common \ gfortran \ libomp-dev
@johnnynunez I had not been including PyTorch/ect in the llama.cpp build to keep it minimal. However I see now that for the HF->GGUF conversion, it is needed. In the future, by default I think I will rebase llama.cpp on pytorch image, and have a separate
llama.cpp:minimal
image without it.
Thank you dusty
start command:
error message:
I tried to install it manually:
I tried to use the conversion script from the
llama.cpp
project (convert_hf_to_gguf.py
) and ran into problems converting model file types. I want to convert fromsafetensors
togguf
. Is there any better advice? Be grateful for your help.