cannot run #2059

Closed
opened 2025-11-11 14:59:36 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @crybest on GitHub (Sep 11, 2024).

Bug Report

ERROR [open_webui.apps.rag.utils] Cannot determine model snapshot path: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.
2024-09-12 02:21:20 Traceback (most recent call last):
2024-09-12 02:21:20 File "/app/backend/open_webui/apps/rag/utils.py", line 349, in get_model_path
2024-09-12 02:21:20 model_repo_path = snapshot_download(**snapshot_kwargs)
2024-09-12 02:21:20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:20 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
2024-09-12 02:21:20 return fn(*args, **kwargs)
2024-09-12 02:21:20 ^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:20 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/_snapshot_download.py", line 225, in snapshot_download
2024-09-12 02:21:20 raise LocalEntryNotFoundError(
2024-09-12 02:21:20 huggingface_hub.utils._errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.
2024-09-12 02:21:21 Traceback (most recent call last):
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
2024-09-12 02:21:21 response.raise_for_status()
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
2024-09-12 02:21:21 raise HTTPError(http_error_msg, response=self)
2024-09-12 02:21:21 requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/BAAl/bge-reranker-v2-m3/resolve/main/config.json
2024-09-12 02:21:21
2024-09-12 02:21:21 The above exception was the direct cause of the following exception:
2024-09-12 02:21:21
2024-09-12 02:21:21 Traceback (most recent call last):
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 402, in cached_file
2024-09-12 02:21:23 Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
2024-09-12 02:21:23 Loading WEBUI_SECRET_KEY from .webui_secret_key
2024-09-12 02:21:21 resolved_file = hf_hub_download(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f
2024-09-12 02:21:21 return f(*args, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
2024-09-12 02:21:21 return fn(*args, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1240, in hf_hub_download
2024-09-12 02:21:21 return _hf_hub_download_to_cache_dir(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1347, in _hf_hub_download_to_cache_dir
2024-09-12 02:21:21 _raise_on_head_call_error(head_call_error, force_download, local_files_only)
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1854, in _raise_on_head_call_error
2024-09-12 02:21:21 raise head_call_error
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1751, in _get_metadata_or_catch_error
2024-09-12 02:21:21 metadata = get_hf_file_metadata(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
2024-09-12 02:21:21 return fn(*args, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1673, in get_hf_file_metadata
2024-09-12 02:21:21 r = _request_wrapper(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 376, in _request_wrapper
2024-09-12 02:21:21 response = _request_wrapper(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 400, in _request_wrapper
2024-09-12 02:21:21 hf_raise_for_status(response)
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 352, in hf_raise_for_status
2024-09-12 02:21:21 raise RepositoryNotFoundError(message, response) from e
2024-09-12 02:21:21 huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-66e1df9f-25a537b05f17366f5f662fde;7cf22273-e289-4a92-9ddb-0f622668cb69)
2024-09-12 02:21:21
2024-09-12 02:21:21 Repository Not Found for url: https://huggingface.co/BAAl/bge-reranker-v2-m3/resolve/main/config.json.
2024-09-12 02:21:21 Please make sure you specified the correct repo_id and repo_type.
2024-09-12 02:21:21 If you are trying to access a private or gated repo, make sure you are authenticated.
2024-09-12 02:21:21 Invalid username or password.
2024-09-12 02:21:21
2024-09-12 02:21:21 The above exception was the direct cause of the following exception:
2024-09-12 02:21:21
2024-09-12 02:21:21 Traceback (most recent call last):
2024-09-12 02:21:21 File "/usr/local/bin/uvicorn", line 8, in
2024-09-12 02:21:21 sys.exit(main())
2024-09-12 02:21:21 ^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in call
2024-09-12 02:21:21 return self.main(*args, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
2024-09-12 02:21:21 rv = self.invoke(ctx)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
2024-09-12 02:21:21 return ctx.invoke(self.callback, **ctx.params)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
2024-09-12 02:21:21 return __callback(*args, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
2024-09-12 02:21:21 run(
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
2024-09-12 02:21:21 server.run()
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
2024-09-12 02:21:21 return asyncio.run(self.serve(sockets=sockets))
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
2024-09-12 02:21:21 return runner.run(main)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
2024-09-12 02:21:21 return self._loop.run_until_complete(task)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
2024-09-12 02:21:21 await self._serve(sockets)
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
2024-09-12 02:21:21 config.load()
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
2024-09-12 02:21:21 self.loaded_app = import_from_string(self.app)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
2024-09-12 02:21:21 module = importlib.import_module(module_str)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
2024-09-12 02:21:21 return _bootstrap._gcd_import(name[level:], package, level)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "", line 1204, in _gcd_import
2024-09-12 02:21:21 File "", line 1176, in _find_and_load
2024-09-12 02:21:21 File "", line 1147, in _find_and_load_unlocked
2024-09-12 02:21:21 File "", line 690, in _load_unlocked
2024-09-12 02:21:21 File "", line 940, in exec_module
2024-09-12 02:21:21 File "", line 241, in _call_with_frames_removed
2024-09-12 02:21:21 File "/app/backend/open_webui/main.py", line 30, in
2024-09-12 02:21:21 from open_webui.apps.rag.main import app as rag_app
2024-09-12 02:21:21 File "/app/backend/open_webui/apps/rag/main.py", line 213, in
2024-09-12 02:21:21 update_reranking_model(
2024-09-12 02:21:21 File "/app/backend/open_webui/apps/rag/main.py", line 199, in update_reranking_model
2024-09-12 02:21:21 app.state.sentence_transformer_rf = sentence_transformers.CrossEncoder(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/sentence_transformers/cross_encoder/CrossEncoder.py", line 74, in init
2024-09-12 02:21:21 self.config = AutoConfig.from_pretrained(
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/models/auto/configuration_auto.py", line 976, in from_pretrained
2024-09-12 02:21:21 config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/configuration_utils.py", line 632, in get_config_dict
2024-09-12 02:21:21 config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/configuration_utils.py", line 689, in _get_config_dict
2024-09-12 02:21:21 resolved_config_file = cached_file(
2024-09-12 02:21:21 ^^^^^^^^^^^^
2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 425, in cached_file
2024-09-12 02:21:21 raise EnvironmentError(
2024-09-12 02:21:21 OSError: BAAl/bge-reranker-v2-m3 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
2024-09-12 02:21:21 If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>

Installation Method

docker
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Environment

WSL 2.0

  • Open WebUI Version: latest

  • Ollama (if applicable): [e.g., v0.2.0, v0.1.32-rc1]

  • Operating System: windows11

  • Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

works

Actual Behavior:

cannot run

Description

Bug Summary:
something wrong

Reproduction Details

Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]

Logs and Screenshots

Browser Console Logs:
[Include relevant browser console logs, if applicable]

Docker Container Logs:
[Include relevant Docker container logs, if applicable]

Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]

Additional Information

[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @crybest on GitHub (Sep 11, 2024). # Bug Report ERROR [open_webui.apps.rag.utils] Cannot determine model snapshot path: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input. 2024-09-12 02:21:20 Traceback (most recent call last): 2024-09-12 02:21:20 File "/app/backend/open_webui/apps/rag/utils.py", line 349, in get_model_path 2024-09-12 02:21:20 model_repo_path = snapshot_download(**snapshot_kwargs) 2024-09-12 02:21:20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:20 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn 2024-09-12 02:21:20 return fn(*args, **kwargs) 2024-09-12 02:21:20 ^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:20 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/_snapshot_download.py", line 225, in snapshot_download 2024-09-12 02:21:20 raise LocalEntryNotFoundError( 2024-09-12 02:21:20 huggingface_hub.utils._errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input. 2024-09-12 02:21:21 Traceback (most recent call last): 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status 2024-09-12 02:21:21 response.raise_for_status() 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status 2024-09-12 02:21:21 raise HTTPError(http_error_msg, response=self) 2024-09-12 02:21:21 requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/BAAl/bge-reranker-v2-m3/resolve/main/config.json 2024-09-12 02:21:21 2024-09-12 02:21:21 The above exception was the direct cause of the following exception: 2024-09-12 02:21:21 2024-09-12 02:21:21 Traceback (most recent call last): 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 402, in cached_file 2024-09-12 02:21:23 Loading WEBUI_SECRET_KEY from file, not provided as an environment variable. 2024-09-12 02:21:23 Loading WEBUI_SECRET_KEY from .webui_secret_key 2024-09-12 02:21:21 resolved_file = hf_hub_download( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f 2024-09-12 02:21:21 return f(*args, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn 2024-09-12 02:21:21 return fn(*args, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1240, in hf_hub_download 2024-09-12 02:21:21 return _hf_hub_download_to_cache_dir( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1347, in _hf_hub_download_to_cache_dir 2024-09-12 02:21:21 _raise_on_head_call_error(head_call_error, force_download, local_files_only) 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1854, in _raise_on_head_call_error 2024-09-12 02:21:21 raise head_call_error 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1751, in _get_metadata_or_catch_error 2024-09-12 02:21:21 metadata = get_hf_file_metadata( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn 2024-09-12 02:21:21 return fn(*args, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1673, in get_hf_file_metadata 2024-09-12 02:21:21 r = _request_wrapper( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 376, in _request_wrapper 2024-09-12 02:21:21 response = _request_wrapper( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 400, in _request_wrapper 2024-09-12 02:21:21 hf_raise_for_status(response) 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 352, in hf_raise_for_status 2024-09-12 02:21:21 raise RepositoryNotFoundError(message, response) from e 2024-09-12 02:21:21 huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-66e1df9f-25a537b05f17366f5f662fde;7cf22273-e289-4a92-9ddb-0f622668cb69) 2024-09-12 02:21:21 2024-09-12 02:21:21 Repository Not Found for url: https://huggingface.co/BAAl/bge-reranker-v2-m3/resolve/main/config.json. 2024-09-12 02:21:21 Please make sure you specified the correct `repo_id` and `repo_type`. 2024-09-12 02:21:21 If you are trying to access a private or gated repo, make sure you are authenticated. 2024-09-12 02:21:21 Invalid username or password. 2024-09-12 02:21:21 2024-09-12 02:21:21 The above exception was the direct cause of the following exception: 2024-09-12 02:21:21 2024-09-12 02:21:21 Traceback (most recent call last): 2024-09-12 02:21:21 File "/usr/local/bin/uvicorn", line 8, in <module> 2024-09-12 02:21:21 sys.exit(main()) 2024-09-12 02:21:21 ^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ 2024-09-12 02:21:21 return self.main(*args, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main 2024-09-12 02:21:21 rv = self.invoke(ctx) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke 2024-09-12 02:21:21 return ctx.invoke(self.callback, **ctx.params) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke 2024-09-12 02:21:21 return __callback(*args, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main 2024-09-12 02:21:21 run( 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run 2024-09-12 02:21:21 server.run() 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run 2024-09-12 02:21:21 return asyncio.run(self.serve(sockets=sockets)) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run 2024-09-12 02:21:21 return runner.run(main) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run 2024-09-12 02:21:21 return self._loop.run_until_complete(task) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve 2024-09-12 02:21:21 await self._serve(sockets) 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve 2024-09-12 02:21:21 config.load() 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load 2024-09-12 02:21:21 self.loaded_app = import_from_string(self.app) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string 2024-09-12 02:21:21 module = importlib.import_module(module_str) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module 2024-09-12 02:21:21 return _bootstrap._gcd_import(name[level:], package, level) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "<frozen importlib._bootstrap>", line 1204, in _gcd_import 2024-09-12 02:21:21 File "<frozen importlib._bootstrap>", line 1176, in _find_and_load 2024-09-12 02:21:21 File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked 2024-09-12 02:21:21 File "<frozen importlib._bootstrap>", line 690, in _load_unlocked 2024-09-12 02:21:21 File "<frozen importlib._bootstrap_external>", line 940, in exec_module 2024-09-12 02:21:21 File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed 2024-09-12 02:21:21 File "/app/backend/open_webui/main.py", line 30, in <module> 2024-09-12 02:21:21 from open_webui.apps.rag.main import app as rag_app 2024-09-12 02:21:21 File "/app/backend/open_webui/apps/rag/main.py", line 213, in <module> 2024-09-12 02:21:21 update_reranking_model( 2024-09-12 02:21:21 File "/app/backend/open_webui/apps/rag/main.py", line 199, in update_reranking_model 2024-09-12 02:21:21 app.state.sentence_transformer_rf = sentence_transformers.CrossEncoder( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/sentence_transformers/cross_encoder/CrossEncoder.py", line 74, in __init__ 2024-09-12 02:21:21 self.config = AutoConfig.from_pretrained( 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/models/auto/configuration_auto.py", line 976, in from_pretrained 2024-09-12 02:21:21 config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/configuration_utils.py", line 632, in get_config_dict 2024-09-12 02:21:21 config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) 2024-09-12 02:21:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/configuration_utils.py", line 689, in _get_config_dict 2024-09-12 02:21:21 resolved_config_file = cached_file( 2024-09-12 02:21:21 ^^^^^^^^^^^^ 2024-09-12 02:21:21 File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 425, in cached_file 2024-09-12 02:21:21 raise EnvironmentError( 2024-09-12 02:21:21 OSError: BAAl/bge-reranker-v2-m3 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' 2024-09-12 02:21:21 If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>` ## Installation Method docker [Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.] docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main ## Environment WSL 2.0 - **Open WebUI Version:** latest - **Ollama (if applicable):** [e.g., v0.2.0, v0.1.32-rc1] - **Operating System:** windows11 - **Browser (if applicable):** [e.g., Chrome 100.0, Firefox 98.0] **Confirmation:** - [ ] I have read and followed all the instructions provided in the README.md. - [ ] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: works ## Actual Behavior: cannot run ## Description **Bug Summary:** something wrong ## Reproduction Details **Steps to Reproduce:** [Outline the steps to reproduce the bug. Be as detailed as possible.] ## Logs and Screenshots **Browser Console Logs:** [Include relevant browser console logs, if applicable] **Docker Container Logs:** [Include relevant Docker container logs, if applicable] **Screenshots/Screen Recordings (if applicable):** [Attach any relevant screenshots to help illustrate the issue] ## Additional Information [Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.] ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2059