[Notice] Upcoming BC-break: model_type, chat_template.jinja

#13
by bigshanedogg - opened

[Notice] Upcoming BC-break: model_type, class naming, and processor updates

We're planning to push an update to this repository that introduces a backward-incompatible change as part of the integration with transformers (PR #44314).

What's changing

  • model_type in config.json: "vlm""hyperclovax_vision_v2"
  • Updated jinja chat template
  • (optional) Class naming: HCX*HyperCLOVAX*
  • (optional) Processor structure: split into image_processing_*.py / video_processing_*.py, unified via processing_*.py

Impact

Code relying on the current model_type, class names, or processor layout will need to be updated after this change lands.

⚠️ Temporary compatibility note

Between the moment the new changes are pushed to this repo and the moment they're merged into a released version of transformers, there may be a short window during which loading this model with trust_remote_code=True is not fully compatible.

If you run into issues during this period, you can continue using the previous version by downloading the repo at an earlier commit hash and pointing to it via cache_dir. For example:

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="<repo-id>",
    revision="<previous-commit-hash>",
    cache_dir="<your-cache-dir>",
)

We'll keep this window as short as possible — the plan is to apply the update within roughly a day after this notice.

Why

This aligns the repo with the official transformers integration and the standard naming/structure used across other vision-language models on the Hub.

Thank you for your patience, and please feel free to leave any questions or concerns below. We'll post another update once the change is merged.

Sign up or log in to comment