mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-13 11:33:32 -05:00
[GH-ISSUE #12463] feat: support ktransformers minimal API #87353
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @createthis on GitHub (Apr 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12463
Check Existing Issues
Problem Description
When I hit
http://larry:11434/api/tagslocally, while runningktransformers, I see:When I hit this same endpoint while running
ollama, I see:It appears that
Open WebUIis keying off themodelattribute, so when I try to useOpen WebUIwithktransformers, it fails with this error:NOTE: relates to https://github.com/open-webui/open-webui/discussions/10145
Desired Solution you'd like
I've hacked this locally with a new helper method (going from memory - I hacked it right in the docker terminal):
I had to touch two different files and I didn't take notes, sorry.
I'll try to get my local dev env up and running and issue a PR.
Alternatives Considered
I also opened this on the
ktransformersside: https://github.com/kvcache-ai/ktransformers/issues/1039Additional Context
Larry and I plan to take over the world, but he has to run on
ktransformersto do it.@tjbck commented on GitHub (Apr 5, 2025):
You should use OpenAI API for this.
@createthis commented on GitHub (Apr 5, 2025):
I went to
Settings->Admin Settings->Connections->+Url:
http://larry:11434/v1Key:
larryClicked
Save.I also deleted the ollama connection by clicking on the gear icon ->
delete.That worked! Thanks!