open-webui icon indicating copy to clipboard operation
open-webui copied to clipboard

Docker image with Ollama installed very slow

Open PietFourie opened this issue 1 year ago • 1 comments

Hi My system has a NVDIA 1070 8 GB GPU card running linux mint

I used the latest Docker images as installed on the 15th May

  1. I have installed the Docker image with Ollama installed and it runs very slow.
  2. I then installed the Docker image with Ollama and Open WebUI seperately and it runs the fastest.
  3. I then ran the same prompt directly on the Ollama terminal and it had similar speed.

The prompt was : Write me a python code for the game centipede Model LLama 3:lastest

  1. The code generated by Ollama directly and with a seperate Ollama/Open WebUI docker image was the same and used the pygame library. I did not test the code but is used clasees, and more advanced code
  2. The code generated by the combined Olllama/Webui docker image create a very small code using no libraries and I doubt it would have run.

The error is that the combined Ollama/OpenWebUI docker miage creates carbage and is a lot slower.

Error with ModelFilles Also I coulld not import the modelfiles from the website. It just does nothing. Also when you import the model it looks for ".json" files but the downloaded modelfile have a ".txt" extension. I would presume the error is significant. All model files are on the recommended home page of the website and should be compatible.

PietFourie avatar May 16 '24 08:05 PietFourie

GPU memory used in the combined version was lower than in the separate Ollama docker images. It also used CPU cores.

PietFourie avatar May 16 '24 08:05 PietFourie