-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: how ENV HF_ENDPOINT
works
#350
Comments
@ooooo-create |
yes, I delete it in |
### What problem does this PR solve? Issue link:#350 ### Type of change - [x] Refactoring
This is a mirror site for huggingface scince some of district can't access huggingface.
If you can access huggingface, you'd better use docker-compose.yml. |
### What problem does this PR solve? Issue link:#350 ### Type of change - [x] Refactoring
### What problem does this PR solve? update HF_ENDPOINT in docker-compose.yml Issue link:#350 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve? Issue link:infiniflow#350 ### Type of change - [x] Refactoring
### What problem does this PR solve? Issue link:infiniflow#350 ### Type of change - [x] Refactoring
### What problem does this PR solve? update HF_ENDPOINT in docker-compose.yml Issue link:infiniflow#350 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
Describe your problem
link: #323 (comment)
because I have the same problem to connetct hf-mirror.com.
So I build the docker image from source https://github.com/infiniflow/ragflow?tab=readme-ov-file#%EF%B8%8F-build-from-source
And i delete the line 15
ENV HF_ENDPOINT=https://hf-mirror.com
.Thendocker compose up
, the error is disappear.I found it will not to download the model, so that when i upload docs and parse it, there is no model in path.
As you say,i clone the deepdoc and add a volumes, like - ~/deepdoc:/ragflow/rag/res/deepdoc
That works!
But I still have the question how ENV
HF_ENDPOINT
works, why it influence whether to download models? This show it will have a default values in https://huggingface.co/docs/huggingface_hub/v0.13.3/package_reference/environment_variables#hfendpointThe text was updated successfully, but these errors were encountered: