fail to process image

#1
by telehan - opened
$ ollama run gemma3:27b-it-q8 --verbose "give detail explain about ~/Pictures/Infographic/58964dbfa410f24cb93425d4a1603f0f.png "
Added image '~/Pictures/Infographic/58964dbfa410f24cb93425d4a1603f0f.png'
Error: Failed to create new sequence: failed to process inputs: this model is missing data required for image input
$ ollama show --modelfile gemma3:27b-it-q8
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this, replace FROM with:
# FROM gemma3:27b-it-q8

FROM ~/.ollama/models/blobs/sha256-794d14393b9a15de7f08da16dc35c503edb3eb48dd58fa5beb37b7cf2a188379
FROM ~/.ollama/models/blobs/sha256-54cb61c842fe49ac3c89bc1a614a2778163eb49f3dec2b90ff688b4c0392cb48
TEMPLATE """{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if or (eq .Role "user") (eq .Role "system") }}<start_of_turn>user
{{ .Content }}<end_of_turn>
{{ if $last }}<start_of_turn>model
{{ end }}
{{- else if eq .Role "assistant" }}<start_of_turn>model
{{ .Content }}{{ if not $last }}<end_of_turn>
{{ end }}
{{- end }}
{{- end }}"""
PARAMETER temperature 0.1
PARAMETER num_ctx 8192
PARAMETER stop <end_of_turn>
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment