Originally created by @johncadengo on GitHub (Dec 7, 2023).
When running Ollama from the command prompt, you can type the --verbose argument to get timings that output like this:
$ ollama run --verbose llama2
>>> Hi
Hello! It's nice to meet you. Is there something I can help you with or would you like to chat?
total duration: 1.279118717s
load duration: 891.933µs
prompt eval count: 21 token(s)
prompt eval duration: 231.416ms
prompt eval rate: 90.75 tokens/s
eval count: 25 token(s)
eval duration: 1.042407s
eval rate: 23.98 tokens/s
Is there a way to get this to appear in the web UI?
Originally created by @johncadengo on GitHub (Dec 7, 2023).
When running Ollama from the command prompt, you can type the `--verbose` argument to get timings that output like this:
```
$ ollama run --verbose llama2
>>> Hi
Hello! It's nice to meet you. Is there something I can help you with or would you like to chat?
total duration: 1.279118717s
load duration: 891.933µs
prompt eval count: 21 token(s)
prompt eval duration: 231.416ms
prompt eval rate: 90.75 tokens/s
eval count: 25 token(s)
eval duration: 1.042407s
eval rate: 23.98 tokens/s
```
Is there a way to get this to appear in the web UI?
The requested feature has been added with #215. Please try out the latest version, and let me know if you encounter any issues. Thanks!
@tjbck commented on GitHub (Dec 19, 2023):

The requested feature has been added with #215. Please try out the latest version, and let me know if you encounter any issues. Thanks!
@tjbck I have just spun up the latest version of this image and so many things have changed. Do you happen to know if this feature is still present? I can't seem to find it in the latest version.
@johncadengo commented on GitHub (Apr 22, 2024):
@tjbck I have just spun up the latest version of this image and so many things have changed. Do you happen to know if this feature is still present? I can't seem to find it in the latest version.
@tjbck commented on GitHub (Apr 22, 2024):
<img width="886" alt="image" src="https://github.com/open-webui/open-webui/assets/25473318/c95022ff-141d-4435-9637-c09bbd366657">
All still there :)
I think what happened between versions for me is that I was decoupling the model API from the docker container and trying to have a separate API for the models. At first, I was using the LiteLLM models feature. I'm assuming it doesn't work for that?
Anyhow, I figured out how to use Ollama models instead and now I see the generation info again.
@johncadengo commented on GitHub (Apr 24, 2024):
@tjbck okay, thanks for showing that.
I think what happened between versions for me is that I was decoupling the model API from the docker container and trying to have a separate API for the models. At first, I was using the LiteLLM models feature. I'm assuming it doesn't work for that?
Anyhow, I figured out how to use Ollama models instead and now I see the generation info again.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @johncadengo on GitHub (Dec 7, 2023).
When running Ollama from the command prompt, you can type the
--verboseargument to get timings that output like this:Is there a way to get this to appear in the web UI?
@tjbck commented on GitHub (Dec 7, 2023):
Hi, I'll think of a way to incorporate this into the webui, stay tuned!
@tjbck commented on GitHub (Dec 19, 2023):
The requested feature has been added with #215. Please try out the latest version, and let me know if you encounter any issues. Thanks!
@johncadengo commented on GitHub (Dec 21, 2023):
Ty! 👏 👏 👏
@johncadengo commented on GitHub (Apr 22, 2024):
@tjbck I have just spun up the latest version of this image and so many things have changed. Do you happen to know if this feature is still present? I can't seem to find it in the latest version.
@tjbck commented on GitHub (Apr 22, 2024):
All still there :)
@johncadengo commented on GitHub (Apr 24, 2024):
@tjbck okay, thanks for showing that.
I think what happened between versions for me is that I was decoupling the model API from the docker container and trying to have a separate API for the models. At first, I was using the LiteLLM models feature. I'm assuming it doesn't work for that?
Anyhow, I figured out how to use Ollama models instead and now I see the generation info again.