ollama/docs
Daniel Hiltgen d88c527be3 Build multiple CPU variants and pick the best
This reduces the built-in linux version to not use any vector extensions
which enables the resulting builds to run under Rosetta on MacOS in
Docker.  Then at runtime it checks for the actual CPU vector
extensions and loads the best CPU library available
2024-01-11 08:42:47 -08:00
..
tutorials docs/tutorials: add bit on how to use Fly GPUs on-demand with Ollama (#1406) 2023-12-06 14:14:02 -08:00
api.md Update api.md (#1878) 2024-01-09 16:21:17 -05:00
development.md Build multiple CPU variants and pick the best 2024-01-11 08:42:47 -08:00
faq.md update where are models stored q 2023-12-22 09:48:44 -08:00
import.md Update import.md 2024-01-02 22:28:18 -05:00
linux.md update linux.md 2023-10-25 14:57:50 -07:00
modelfile.md document response in modelfile template variables (#1428) 2024-01-08 14:38:51 -05:00
README.md fix docker doc to point to hub 2024-01-04 18:42:23 -08:00
troubleshooting.md Build multiple CPU variants and pick the best 2024-01-11 08:42:47 -08:00
tutorials.md Created tutorial for running Ollama on NVIDIA Jetson devices (#1098) 2023-11-15 12:32:37 -05:00

Documentation

To get started, see the project's quickstart.

Ollama is a tool for running AI models on your hardware. Many users will choose to use the Command Line Interface (CLI) to work with Ollama. Learn more about all the commands in the CLI in the Main Readme.

Use the RESTful API using any language, including Python, JavaScript, Typescript, Go, Rust, and many more. Learn more about using the API in the API Documentation.

Create new models or modify models already in the library using the Modelfile. Learn more about the Modelfile syntax in the Modelfile Documentation.

Import models using source model weights found on Hugging Face and similar sites by referring to the Import Documentation.

Installing on Linux in most cases is easy using the script on Ollama.ai. To get more detail about the install, including CUDA drivers, see the Linux Documentation.

Many of our users like the flexibility of using our official Docker Image. Learn more about using Docker with Ollama using the Docker Documentation.

It is easy to install on Linux and Mac, but many users will choose to build Ollama on their own. To do this, refer to the Development Documentation.

If encountering a problem with Ollama, the best place to start is the logs. Find more information about them here in the Troubleshooting Guide.

Finally for all the questions that don't fit anywhere else, there is the FAQ

Tutorials apply the documentation to tasks.

For working code examples of using Ollama, see Examples.