Files
bin/artifact_huggingface_download.sh
Sebastian Krüger bd34036039 fix: correct cache directory path construction in cleanup function
Fix bash string substitution to replace all forward slashes with
double hyphens when constructing HuggingFace cache paths.

Changed from: ${repo_id/\//-}  (replaces first / with single -)
Changed to:   ${repo_id//\/--} (replaces all / with --)

This fixes the "Cache directory not found" warning when using the
--cleanup flag with repositories that have slashes in their names
(e.g., black-forest-labs/FLUX.1-schnell).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 16:53:28 +01:00

54 KiB
Executable File