Skip to content

[BUG] Wrong environment variable used for cache directory #377

@NazimHAli

Description

@NazimHAli

Describe the bug

The env config is using the wrong environment variable to get the cache directory. This leads to duplicate model/asset downloads.

To Reproduce

The cache_dir value uses HF_HOME environment variable

Expected behavior

Uses HF_HUB_CACHE environment variable

Version info

github main

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions