mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
update xgboost and dep scripts for local build on MacOS (#7857)
### What problem does this PR solve? There are two main changes: 1. Update xgboost to 1.6.0 to build the project on MacOS with Apple chips, this change refers to the issue: https://github.com/infiniflow/ragflow/issues/5114. 2. When `use_china_mirrors` is set in `download_deps.py`, the names of chrome files downloaded by the script will be different from the file names used in Dockerfile, so I added the file name in `get_urls` function to solve this problem. I think it's better to add testing for Docker image `infiniflow/ragflow_deps` to the test workflow, but since the workflow is currently running on a self-hosted runner, I'm not sure how to modify it. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@ -36,6 +36,12 @@ sdk/python/ragflow.egg-info/
|
||||
sdk/python/build/
|
||||
sdk/python/dist/
|
||||
sdk/python/ragflow_sdk.egg-info/
|
||||
|
||||
# Exclude dep files
|
||||
libssl*.deb
|
||||
tika-server*.jar*
|
||||
cl100k_base.tiktoken
|
||||
chrome*
|
||||
huggingface.co/
|
||||
nltk_data/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user