[GH-ISSUE #4753] FROM is not recognized #2995

Closed
opened 2026-04-12 13:23:27 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @EugeoSynthesisThirtyTwo on GitHub (May 31, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4753

What is the issue?

I followed the instructions to make a gguf model work but FROM doesn't work

C:\Users\Armaguedin\Documents\dev\python\text-generation-webui\models>ollama
Usage:
  ollama [flags]
  ollama [command]

Available Commands:
  serve       Start ollama
  create      Create a model from a Modelfile
  show        Show information for a model
  run         Run a model
  pull        Pull a model from a registry
  push        Push a model to a registry
  list        List models
  ps          List running models
  cp          Copy a model
  rm          Remove a model
  help        Help about any command

Flags:
  -h, --help      help for ollama
  -v, --version   Show version information

Use "ollama [command] --help" for more information about a command.

C:\Users\Armaguedin\Documents\dev\python\text-generation-webui\models>FROM ./c4ai-command-r-v01-Q4_K_M.gguf
'FROM' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.1.39

Originally created by @EugeoSynthesisThirtyTwo on GitHub (May 31, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4753 ### What is the issue? I followed the instructions to make a gguf model work but FROM doesn't work ``` C:\Users\Armaguedin\Documents\dev\python\text-generation-webui\models>ollama Usage: ollama [flags] ollama [command] Available Commands: serve Start ollama create Create a model from a Modelfile show Show information for a model run Run a model pull Pull a model from a registry push Push a model to a registry list List models ps List running models cp Copy a model rm Remove a model help Help about any command Flags: -h, --help help for ollama -v, --version Show version information Use "ollama [command] --help" for more information about a command. C:\Users\Armaguedin\Documents\dev\python\text-generation-webui\models>FROM ./c4ai-command-r-v01-Q4_K_M.gguf 'FROM' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes. ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.39
GiteaMirror added the bug label 2026-04-12 13:23:27 -05:00
Author
Owner

@thinkverse commented on GitHub (Jun 1, 2024):

FROM is not a command line package, it is an instruction in the Modelfile. You can read more on Modelfile's and importing GGUFs in the documentation.

https://github.com/ollama/ollama/blob/main/docs/modelfile.md
https://github.com/ollama/ollama/blob/main/docs/import.md

<!-- gh-comment-id:2143510251 --> @thinkverse commented on GitHub (Jun 1, 2024): `FROM` is not a command line package, it is an instruction in the `Modelfile`. You can read more on Modelfile's and importing GGUFs in the documentation. https://github.com/ollama/ollama/blob/main/docs/modelfile.md https://github.com/ollama/ollama/blob/main/docs/import.md
Author
Owner

@jmorganca commented on GitHub (Jun 24, 2024):

Hi @EugeoSynthesisThirtyTwo thanks for the issue! Will close as @thinkverse answered this (thank you!)

<!-- gh-comment-id:2186991604 --> @jmorganca commented on GitHub (Jun 24, 2024): Hi @EugeoSynthesisThirtyTwo thanks for the issue! Will close as @thinkverse answered this (thank you!)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2995