ollama icon indicating copy to clipboard operation
ollama copied to clipboard

💡 "ollama --verify" to validate a model

Open adriens opened this issue 2 years ago • 0 comments

❔ About

Sometimes, me may only need to validate than we can compile a model with ollama...without having to download the whole base model.

👉 In a few words, this would help telling, very fast and very easily is a ollama modelfile could be used. 👈

💡 Feature request

Implement ollama --verify which exits with success if:

  • ✔️ the file is well formated
  • ✔️ the base image exists

💰 Benefits

  • Make it possible to implement code validation with CI... and then protect source code
  • Save resources (storage, CPU) while trying to validate a ollama modelfile (especially on GH Actions)

🔖 Related stuff

  • https://github.com/jmorganca/ollama/issues/1473

adriens avatar Jan 02 '24 05:01 adriens