TDM 19000: Starting the Ollama Server
Launch an Ollama server on a Terminal window:
# launch the ollama server!
/anvil/projects/tdm/bin/ollama serve
This should output some text about the Ollama server that is now running! We will leave the server running in this tab, and will use a new notebook window for further Terminal queries.
Back in your (seminar) notebook (while the Terminal is still running the '….ollama serve'!), run the following:
%%bash
/anvil/projects/tdm/bin/ollama ps
…to show the process status of the model(s). At this point, you should not actually be running a model on the server yet, but this shows that the Ollama server is up-and-running without any issues.
|
Please note that we used a magic cell (%%bash) in the previous code, which allows us to run bash commands in a Python notebook. |