Skip to content

支持 HF_ENDPOINT 环境变量以便加速下载模型 #1

@openmynet

Description

@openmynet

检查是否存在环境变量 HF_ENDPOINT ,如果存在则使用 HF_ENDPOINT 替换 https://huggingface.co

$env:HF_ENDPOINT = "https://hf-mirror.com" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions