ollama create opt-rag -f ./ragmodelfile main[?] via 💠 default │ │ main.tf…
- User
ollama create opt-rag -f ./ragmodelfile main[?] via 💠 default │ │ main.tf │gathering model components │ │ * ragmodelf│Error: invalid int value [99 # Ensure all layers are offloaded to the GPU]
Assistant
Ah, I see the issue. The error is due to the formatting in the Modelfile. Let's fix that by removing the comment and extra spaces.
Here's the corrected Modelfile. Create a new file named (no extension) with this content:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.