Skip to content

1.42.0

Choose a tag to compare

@snowflake-connectors-app snowflake-connectors-app released this 11 Jun 11:46
d0365dc

1.42.0

New Features

  • Registry: Support truncate_dim for SentenceTransformers models. Truncation set at
    construction (SentenceTransformer(..., truncate_dim=N)) is captured when the model is logged
    and restored on reload. On clients with sentence-transformers 5.0.0 or later, truncate_dim
    is also exposed as a runtime parameter in the model signature.

  • Registry: log_model() now captures a representative row from sample_input_data and stores it alongside the model
    so inference code snippets shown in the model registry UI can be pre-filled with realistic values. Pass
    options={"capture_sample_input_data": False} to opt out (e.g., for sensitive data); generic placeholder values
    will be used in the snippets instead.

Bug Fixes

  • Registry: Pin transformers<5 for additional HuggingFace pipeline tasks removed in
    transformers 5.x (summarization, text2text-generation, question-answering, and
    translation_*), preventing deployment failures from missing pipeline classes.

Behavior Changes

Deprecations