Skip to navigation

nemo_automodel.components.models.gs1.compat

View as MarkdownOpen in Claude

Runtime patches that let the pinned GS1 checkpoint code run on the installed Transformers.

Module Contents

Functions

NameDescription
ensure_gs1_transformers_compatKeep the pinned GS1 code compatible with Transformers’ cache API.

API

nemo_automodel.components.models.gs1.compat.ensure_gs1_transformers_compat() -> None

Keep the pinned GS1 code compatible with Transformers’ cache API.