-
Notifications
You must be signed in to change notification settings - Fork 12k
Bug: Docker containers failing (libgomp.so.1) #7731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
docker run --runtime=nvidia --gpus all -v /ssdpool/llm-models:/models ghcr.io/ggerganov/llama.cpp:full-cuda--b1-bde7cd3 --run -m /models/Meta-Llama-3-8B.Q8_0.gguf -p "Building a website can be done in 10 simple steps:" -n 512 -
ngl 9999
Log start
main: build = 0 (unknown)
main: built with cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 for x86_64-linux-gnu
main: seed = 1717494894
llama_model_loader: loaded meta data with 22 key-value pairs and 291 tensors from /models/Meta-Llama-3-8B.Q8_0.gguf (version GGUF V3 (latest))
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
llama_model_loader: - kv 0: general.architecture str = llama
llama_model_loader: - kv 1: general.name str = .
llama_model_loader: - kv 2: llama.vocab_size u32 = 128256
llama_model_loader: - kv 3: llama.context_length u32 = 8192
llama_model_loader: - kv 4: llama.embedding_length u32 = 4096
llama_model_loader: - kv 5: llama.block_count u32 = 32
llama_model_loader: - kv 6: llama.feed_forward_length u32 = 14336
llama_model_loader: - kv 7: llama.rope.dimension_count u32 = 128
llama_model_loader: - kv 8: llama.attention.head_count u32 = 32
llama_model_loader: - kv 9: llama.attention.head_count_kv u32 = 8
llama_model_loader: - kv 10: llama.attention.layer_norm_rms_epsilon f32 = 0.000010
llama_model_loader: - kv 11: llama.rope.freq_base f32 = 500000.000000
llama_model_loader: - kv 12: general.file_type u32 = 7
llama_model_loader: - kv 13: tokenizer.ggml.model str = gpt2
llama_model_loader: - kv 14: tokenizer.ggml.tokens arr[str,128256] = ["!", "\"", "#", "$", "%", "&", "'", ...
llama_model_loader: - kv 15: tokenizer.ggml.scores arr[f32,128256] = [0.000000, 0.000000, 0.000000, 0.0000...
llama_model_loader: - kv 16: tokenizer.ggml.token_type arr[i32,128256] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
llama_model_loader: - kv 17: tokenizer.ggml.merges arr[str,280147] = ["Ġ Ġ", "Ġ ĠĠĠ", "ĠĠ ĠĠ", "...
llama_model_loader: - kv 18: tokenizer.ggml.bos_token_id u32 = 128000
llama_model_loader: - kv 19: tokenizer.ggml.eos_token_id u32 = 128001
llama_model_loader: - kv 20: tokenizer.chat_template str = {% set loop_messages = messages %}{% ...
llama_model_loader: - kv 21: general.quantization_version u32 = 2
|
I also received a similar error when trying to build release 3077 (3076 works):
|
Same here.
In my case I just edited https://github.com/ggerganov/llama.cpp/blob/master/.devops/server-cuda.Dockerfile#L33 and added |
A PR to add the missing library would be welcome. Alternatively, you can build with |
add this 'apt-get install -y libcurl4-openssl-dev libgomp1' on line 22 like this https://github.com/kschen202115/build_llama.cpp_docker/blob/main/Dockerfile |
Thanks. It works for me. RUN apt-get update && |
Fixes the bug regarding the missing shared library Bug: Docker containers failing (libgomp.so.1) ggml-org#7731 error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory
The last working version is Just in case someone needs it. |
Uh oh!
There was an error while loading. Please reload this page.
What happened?
Trying to run to llama.cpp in a container but so far it's been unsuccessful.
gets me
I have CUDA installed:
I have also installed
nvidia-container-toolkit
and followed these instructionsI get the same error when I create the image myself from master (local/llama.cpp:light-cuda)
Name and Version
Docker
What operating system are you seeing the problem on?
Linux
Relevant log output
No response
The text was updated successfully, but these errors were encountered: