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

环境变量 #57

Open
xjyisok opened this issue Dec 7, 2024 · 1 comment
Open

环境变量 #57

xjyisok opened this issue Dec 7, 2024 · 1 comment

Comments

@xjyisok
Copy link

xjyisok commented Dec 7, 2024

你好环境变量中HF_HOME='temp/huggingface_cache/'这里的HF_HOME指的是什么,我该如何设置

@sanbuphy
Copy link
Contributor

sanbuphy commented Dec 8, 2024

这个的意思是 huggingface 模型的缓存地址,所有被触发下载的 huggingface 模型将会下载到此处。
如果不设置可能会被下载到C盘或者系统目录;如果设置(如当前环境是在该文件夹的 temp 路径) 则表示下载到指定的当前文件夹地址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants