Skip to content
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

[Bug]: Change 'huggingface.io' to 'huggingface.co' in Dockerfile #2665

Closed
1 task done
rplescia opened this issue Sep 29, 2024 · 0 comments · Fixed by #2667
Closed
1 task done

[Bug]: Change 'huggingface.io' to 'huggingface.co' in Dockerfile #2665

rplescia opened this issue Sep 29, 2024 · 0 comments · Fixed by #2667
Assignees
Labels
bug Something isn't working

Comments

@rplescia
Copy link

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch name

main

Commit ID

na

Other environment information

No response

Actual behavior

Incorrect url for huggingface in dockerfile, it shoul be 'huggingface.co' not '.io'.

'# Copy models downloaded via download_deps.py'
RUN mkdir -p /ragflow/rag/res/deepdoc /root/.ragflow
RUN --mount=type=bind,source=huggingface.io,target=/huggingface.io
tar --exclude='.*' -cf -
/huggingface.io/InfiniFlow/text_concat_xgb_v1.0
/huggingface.io/InfiniFlow/deepdoc
| tar -xf - --strip-components=3 -C /ragflow/rag/res/deepdoc
RUN --mount=type=bind,source=huggingface.io,target=/huggingface.io
tar -cf -
/huggingface.io/BAAI/bge-large-zh-v1.5
/huggingface.io/BAAI/bge-reranker-v2-m3
/huggingface.io/maidalun1020/bce-embedding-base_v1
/huggingface.io/maidalun1020/bce-reranker-base_v1
| tar -xf - --strip-components=2 -C /root/.ragflow

Expected behavior

No response

Steps to reproduce

Look at file

Additional information

No response

@rplescia rplescia added the bug Something isn't working label Sep 29, 2024
yuzhichang added a commit to yuzhichang/ragflow that referenced this issue Sep 29, 2024
Halfknow pushed a commit to Halfknow/ragflow that referenced this issue Nov 11, 2024
### What problem does this PR solve?
Fixed huggingface url. Close infiniflow#2665

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants