Files
scripts/artifact_huggingface_download.sh
Sebastian Krüger f68ee52297 fix: allow .index.json files for sharded model linking
Updated find_model_files() to include .index.json files in the file
discovery logic. These files are essential for sharded models like
CogVideoX which split safetensors into multiple parts.

Changes:
- Modified JSON file filtering to allow files ending with .index.json
- Updated comment to document support for sharded model index files

Fixes automatic linking for:
- CogVideoX-5b (3 files including index.json)
- CogVideoX-5b-I2V (4 files including index.json)

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

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

46 KiB
Executable File