issue: docker build issue #4801

Closed
opened 2025-11-11 16:03:26 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @sleepyddl on GitHub (Apr 10, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

0.6.2

Ollama Version (if applicable)

No response

Operating System

Windows 10 docker desktop

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using 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 listed steps to reproduce the bug in detail.

Expected Behavior

I want to build it successfully.

Actual Behavior

  1. I cloned the main branch locally.
  2. Add ENV HF_ENDPOINT=https://hf-mirror.com
  3. Execute docker buildx build -- platform Linux/amd64- t open-webui: v0.6.2. .
  4. The docker show Xet Storage is enabled for this repo, but the 'hf_xet' package is not installed. Falling back to regular HTTP download. For better performance, install the package with: pip install huggingface_hub[hf_xet]orpip install hf_xet

Image

  1. Add uv pip install --system hf_xet to Dockerfile
  2. After execute, The docker show File "/usr/local/lib/python3.11/site-packages/transformers/modeling_utils.py", line 1080, in _get_resolved_checkpoint_filesraise EnvironmentError( OSError: sentence-transformers/all-MiniLM-L6-v2 does not appear to have a file named pytorch_model.bin but there is a file for TensorFlow weights. Use from_tf=True to load this model from those weights.

Image

Steps to Reproduce

same as Actual Behavior

Logs & Screenshots

same as Actual Behavior

Additional Information

No response

Originally created by @sleepyddl on GitHub (Apr 10, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.2 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 10 docker desktop ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior I want to build it successfully. ### Actual Behavior 1. I cloned the main branch locally. 2. Add `ENV HF_ENDPOINT=https://hf-mirror.com` 3. Execute `docker buildx build -- platform Linux/amd64- t open-webui: v0.6.2. .` 4. The docker show `Xet Storage is enabled for this repo, but the 'hf_xet' package is not installed. Falling back to regular HTTP download. For better performance, install the package with: `pip install huggingface_hub[hf_xet]` or `pip install hf_xet` ` ![Image](https://github.com/user-attachments/assets/a28bae1d-b236-49c2-8bd3-2a5a4d4925ef) 5. Add `uv pip install --system hf_xet` to Dockerfile 6. After execute, The docker show `File "/usr/local/lib/python3.11/site-packages/transformers/modeling_utils.py", line 1080, in _get_resolved_checkpoint_filesraise EnvironmentError( OSError: sentence-transformers/all-MiniLM-L6-v2 does not appear to have a file named pytorch_model.bin but there is a file for TensorFlow weights. Use `from_tf=True` to load this model from those weights.` ![Image](https://github.com/user-attachments/assets/5fc962f9-9996-47f1-9401-695c0d344d14) ### Steps to Reproduce same as Actual Behavior ### Logs & Screenshots same as Actual Behavior ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:03:26 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4801