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

添加hf_cache/output目录到 .dockerignre #3931

Closed
1 task done
deadash opened this issue May 28, 2024 · 0 comments
Closed
1 task done

添加hf_cache/output目录到 .dockerignre #3931

deadash opened this issue May 28, 2024 · 0 comments
Labels
solved This problem has been already solved

Comments

@deadash
Copy link

deadash commented May 28, 2024

Reminder

  • I have read the README and searched the existing issues.

Reproduction

在编译docker后由于模型下载到了hf_cache导致再次编译会将模型发送到docker导致超过预期的编译时间

步骤如下:

  1. 下载模型到 hf_cache
  2. 编译 docker build -f ./Dockerfile -t llama-factory:latest . 或者编译docker-compose.yml
  3. 超过预期的加载时间,环境是在windows 下的wsl2

Expected behavior

应该忽略 hf_cache 防止拷贝到docker

System Info

  • windowswsl2
  • 使用 dockerdocker-compose

Others

No response

@hiyouga hiyouga added the solved This problem has been already solved label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

No branches or pull requests

2 participants