mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
enh: offline leaderboard search #2983
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 @Fetnak on GitHub (Dec 10, 2024).
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: v0.4.8
Ollama (if applicable): v0.4.5
Operating System: Arch Linux
Browser (if applicable): Firefox 133.0.3
Confirmation:
Expected Behavior:
Working search in leaderboard without internet connection on client.
Actual Behavior:
The leaderboard search doesn't work if the client has no internet connection, even if the server has it. I used the leaderboard search earlier when I had internet.
Description
Bug Summary: The leaderboard search doesn't work if the device has no internet connection. As I understand it, after search browser tries to download file from
https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.0/dist/ort-wasm-simd-threaded.jsep.wasm, but fails. Even if I used the search earlier while I had internet, it still tries to download the file. It would be beneficial to cache this file on the open-webui server and download it from there if the internet is not accessible.Reproduction Details
Steps to Reproduce:
@tjbck commented on GitHub (Dec 11, 2024):
Currently intended behaviour, would love to see a PR for this!
@dannyl1u commented on GitHub (Feb 2, 2025):
Looks like this is a known issue on transformers.js ( see https://github.com/huggingface/transformers.js/issues/685#issuecomment-2325125036) and has been marked as a TODO (
6f43f244e0/src/backends/onnx.js (L184))@tjbck commented on GitHub (Feb 3, 2025):
transformer.js offline support should work just like our pyodide implementation here