Sitemap

OLLama and Gemma3 Tiny Test On CPU

2 min readJun 27, 2025

--

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size

Have you ever tested the tiny LLM Gemma3:1B with OLLama on your laptop or system that lacks a GPU?

You can build a fairly powerful GenAI application; however, it can be a little slow due to CPU processing.

Steps:

  1. Download and install ollama if not already there in your system:
  2. go to https://ollama.com/download and get the installation command
  3. Check the ollama running by `ollama — version`
  4. Now pull the Gemma LLM:
  5. Go to https://ollama.com/library/gemma3
  6. Run: `ollama pull gemma3:1b`
  7. Run Ollama server with LLM if not already running
  8. Check the list: `ollama list`
  9. Run: `ollama serve`
  10. Install the pip lib
  11. Run: `pip install ollama`
  12. Run: `pip install “jupyter-ai[ollama]`

That all. Now got to your jupyter notebook. If not running run by command: `jupyter lab` or `jupyter notebook`

You can test by running my eg. notebook here https://github.com/dhirajpatra/jupyter_notebooks/blob/main/LLM/gemma3-1b-test.ipynb

Now it is your turn to configure, tuneing and develop many different application from RAG to Agentic AI. You can find out more code in my Github repos and also get the quick start guide here in blog. Thank you.

--

--

Dhiraj Patra
Dhiraj Patra

Written by Dhiraj Patra

AI Strategy, Generative AI, AI & ML Consulting, Product Development, Startup Advisory, Data Architecture, Data Analytics, Executive Mentorship, Value Creation