[GH-ISSUE #4489] Is there anybody who successfully imported llama-3-8b-web? #80488

Closed
opened 2026-05-09 08:59:17 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @Bill-XU on GitHub (May 17, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4489

I followed instructions described here https://github.com/ollama/ollama/blob/main/docs/import.md.
Converted this model using options "--ctx 8192 --outtype f16 --vocab-type bpe" and quantized the result with option "q4_0". Both ended successfully.
But when using ollama to run the result, I got "Error: llama runner process no longer running: -1".

Is there anybody who successfully imported and run it?

Best regards, Bill

Originally created by @Bill-XU on GitHub (May 17, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4489 I followed instructions described here [https://github.com/ollama/ollama/blob/main/docs/import.md](url). Converted this model using options "--ctx 8192 --outtype f16 --vocab-type bpe" and quantized the result with option "q4_0". Both ended successfully. But when using ollama to run the result, I got "Error: llama runner process no longer running: -1". Is there anybody who successfully imported and run it? Best regards, Bill
GiteaMirror added the bug label 2026-05-09 08:59:17 -05:00
Author
Owner

@jmorganca commented on GitHub (May 17, 2024):

Hi @Bill-XU. Sorry you hit an error. May I ask which model and/or model architecture you tried converting? Logs with a more specific error should be available here

<!-- gh-comment-id:2116828441 --> @jmorganca commented on GitHub (May 17, 2024): Hi @Bill-XU. Sorry you hit an error. May I ask which model and/or model architecture you tried converting? Logs with a more specific error should be available [here](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues)
Author
Owner

@Bill-XU commented on GitHub (May 17, 2024):

Hi @Bill-XU. Sorry you hit an error. May I ask which model and/or model architecture you tried converting? Logs with a more specific error should be available here

Hi @jmorganca

Here are the details.
=== My server spec
OS: Ubuntu 22.04 LTS
Hard: 2 cpus / 8 GB memory (no GPU)
=== Ollama usage
Ollama service installed
(+ Open WebUI on Docker)
=== Steps of importing llama-3-8b-web
1. Downloaded assets from WebLlama on huggingface.co (Github: https://github.com/McGill-NLP/webllama)
2. Followed instructions of Importing (PyTorch & Safetensors)
3. During "Convert the model", used command "python llm/llama.cpp/convert.py /var/lib/custom_models/llama-3-8b-web --outtype f16 --outfile llama-3-8b-web.bin --ctx 8192 --vocab-type bpe"
4. and used "llm/llama.cpp/quantize llama-3-8b-web.bin llama-3-8b-web-quantized.bin q4_0" to quantize the model
5. Both step 3 and 4 succeeded
6. Used "ollama create llama-3-8b-web -f llama-3-8b-web.modelfile" to create the model, no error
7. When executing "ollama run llama-3-8b-web", it says "Error: llama runner process no longer running: -1"

=== Logs
ollama.log
It seems that the result of conversion was incorrect or broken?

Best regards,
Bill

<!-- gh-comment-id:2116864969 --> @Bill-XU commented on GitHub (May 17, 2024): > Hi @Bill-XU. Sorry you hit an error. May I ask which model and/or model architecture you tried converting? Logs with a more specific error should be available [here](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues) Hi @jmorganca Here are the details. === My server spec OS: Ubuntu 22.04 LTS Hard: 2 cpus / 8 GB memory (no GPU) === Ollama usage Ollama service installed (+ Open WebUI on Docker) === Steps of importing llama-3-8b-web 1. Downloaded assets from [WebLlama on huggingface.co](https://huggingface.co/McGill-NLP/Llama-3-8B-Web) (Github: https://github.com/McGill-NLP/webllama) 2. Followed instructions of [Importing (PyTorch & Safetensors)](https://github.com/ollama/ollama/blob/main/docs/import.md#importing-pytorch--safetensors) 3. During "Convert the model", used command "python llm/llama.cpp/convert.py /var/lib/custom_models/llama-3-8b-web --outtype f16 --outfile llama-3-8b-web.bin --ctx 8192 --vocab-type bpe" 4. and used "llm/llama.cpp/quantize llama-3-8b-web.bin llama-3-8b-web-quantized.bin q4_0" to quantize the model 5. Both step 3 and 4 succeeded 6. Used "ollama create llama-3-8b-web -f llama-3-8b-web.modelfile" to create the model, no error 7. When executing "ollama run llama-3-8b-web", it says "Error: llama runner process no longer running: -1" === Logs [ollama.log](https://github.com/ollama/ollama/files/15344705/ollama.log) It seems that the result of conversion was incorrect or broken? Best regards, Bill
Author
Owner

@rick-github commented on GitHub (Feb 1, 2026):

The tensor blk.0.attn_k.weight has the wrong shape. You can use ollama to import this directly from safetensors:

$ hf download --local-dir . McGill-NLP/Llama-3-8B-Web
$ ollama create llama-3-8b-web:q4_0 -q q4_K_M
$ ollama run llama-3-8b-web:q4_0 hello
say(speaker="navigator", utterance="Hi")
<!-- gh-comment-id:3831632246 --> @rick-github commented on GitHub (Feb 1, 2026): The tensor `blk.0.attn_k.weight` has the wrong shape. You can use ollama to import this directly from safetensors: ```console $ hf download --local-dir . McGill-NLP/Llama-3-8B-Web $ ollama create llama-3-8b-web:q4_0 -q q4_K_M $ ollama run llama-3-8b-web:q4_0 hello say(speaker="navigator", utterance="Hi") ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#80488