-
Notifications
You must be signed in to change notification settings - Fork 95
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
Deepseek-r1 1.5b does not work with Ramalama #616
Comments
@engelmi this looks like the jinja vs ollama template thing again |
@ericcurtin I think so, yes. The model is being pulled from ollama, however, I can't reproduce the error: $ ramalama --version
ramalama version 0.5.2
$ ramalama run deepseek-r1:1.5b
> hi
<think>
</think>
Hello! How can I assist you today? 😊
> @vpavlin Which version of ramalama do you use? |
I was also facing this issue, running ramalama from the flake, with llama.cpp b4397.
It's solved after updating to llama.cpp b4546. |
|
So we need to merge this: and rebuild and repush the containers. The AI world moves super fast a new model gets released and all of a sudden the version on llama.cpp we are using in the containers is too old. At the moment it's @rhatdan that typically rebuilds and repushes the container images. We are hoping we can make this more efficient in future with more automation. |
It seems to work with
|
Same issue here with deepseek-r1:7b
ramalama -v
ramalama version 0.5.5 podman -v
podman version 4.9.3 ramalama --debug run ollama://deepseek-r1:7b llm_load_vocab: special_eos_id is not in special_eog_ids - the tokenizer config may be incorrect complete output:
|
Try and update your container image if you can. |
Thanks @ericcurtin I ran
and forced the latest asahi image and it worked (including the gpu support I couldn't get working previously with other models when the quay.io/ramalama/ramalama:latest image was being used) Seems to be an ubuntu asahi quirk, but it looks like this: Line 203 in 3032571
# ASAHI CASE
if os.path.exists('/etc/os-release'):
with open('/etc/os-release', 'r') as file:
if "asahi" in file.read().lower():
# Set Env Var and break
os.environ["ASAHI_VISIBLE_DEVICES"] = "1"
return isn't setting ASAHI_VISIBLE_DEVICES=1 cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo Doesn't contain "asahi" anywhere in the output, this seems to though hostnamectl | grep asahi
Kernel: Linux 6.12.0-1004-asahi-arm Thanks again for your help. |
Hey! Back to checking out ramalama:-) I tried to run
deepseek-r1:1.5b
, but got a failure:The text was updated successfully, but these errors were encountered: