Summary
The liger kernel's layers module currently contains non-kernel layers. These need to be separated out, which will constitute an API change requiring a version bump in build.toml.
Additionally, we should provide two interfaces: the original upstream-compatible one and a transformers-specific one, so that deviations from upstream don't cause trust issues in the kernel dev community.
Context
Slack context
https://huggingface.slack.com/archives/C085WUVD0LJ/p1748967485776759
cc @sayakpaul
Summary
The liger kernel's
layersmodule currently contains non-kernel layers. These need to be separated out, which will constitute an API change requiring a version bump inbuild.toml.Additionally, we should provide two interfaces: the original upstream-compatible one and a transformers-specific one, so that deviations from upstream don't cause trust issues in the kernel dev community.
Context
Kernels] Sync to latest version transformers#46039layersis fair game for kernel layers but non-kernel layers need to be moved outSlack context
https://huggingface.slack.com/archives/C085WUVD0LJ/p1748967485776759
cc @sayakpaul