Skip to content

Avoid duplicate model files while publishing workflows with HF algorithms #27

@LudoBar

Description

@LudoBar

Describe the bug
Hugging Face cache system uses symbolic links in Linux platforms. When pushing workflows with Hugging Face algorithms to Ikomia Scale, symlinks are automatically converted and source files are copied. This leads to duplicate model files and this behavior is not suited in terms of storage consumption.

Expected behavior
In this specific case, copy the symlinks without any modificiations. This would work as Hugging Face uses relative symlinks.

Environment:

  • OS: Linux
  • Ikomia Studio version: 0.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions