When loading HeartCodec-oss-20260123 with sharded weights, the model fails with:
"RuntimeError: You set ignore_mismatched_sizes to False"
Fix: Add ignore_mismatched_sizes=True to line 221 in music_generation.py:
heartcodec = HeartCodec.from_pretrained(
heartcodec_path,
device_map=device,
ignore_mismatched_sizes=True # Add this
)