binary-husky / binary-husky/gpt_academic

[Bug]: Docker 镜像构建时并没有调用warm_up_vectordb预热nltk.download("punkt")

Open
#1,971 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

### Installation Method | 安装方法与平台

Others (Please Describe)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Docker

### Describe the bug | 简述

类似 docs/GithubAction+NoLocal+Latex: [RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'](https://github.com/binary-husky/gpt_academic/blob/597c320808a21f6aa22a7d7de9e5318d4a72081f/docs/GithubAction%2BNoLocal%2BLatex#L32)

### Screen Shot | 有帮助的截图

网络不太好的话,运行docker的时候会卡在这里
![CleanShot 2024-09-20 at 12 50 46@2x](https://github.com/user-attachments/assets/cfd5e441-6ea5-4041-9063-555141fd6816)

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Docker image build configuration and compare it with the warm-up command shown in docs/GithubAction+NoLocal+Latex at line 32. Trace where warm_up_vectordb and nltk.download("punkt") are invoked during the build. Done means the Docker build performs the required warm-up and no longer stalls later on the nltk download.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.