lmstudio-ai / configs

LM Studio JSON configuration file format and a collection of example config files.
MIT License
188 stars 32 forks source link

[Feature Request] Consider support **HF_ENDPOINT** environment variable #33

Open specter119 opened 6 months ago

specter119 commented 6 months ago

some tools can modify the download URL by setting HF_ENDPOINT like:

https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/constants.py#L57

which is previous motioned in:

https://huggingface.co/docs/huggingface_hub/v0.13.3/package_reference/environment_variables

I think adapting this can solve following #1, #18 issues in some degree