mirror of
https://github.com/huggingface/transformers.git
synced 2026-10-29 01:06:24 +08:00
* Fix two stale hub-kernel tests test_kernel_fusion pinned a revision of the dummy kernel repo whose weight renaming used \2, which rename_source_key no longer expands since #47755. Pin the repo's fixed revision, here and in test_faulty_fusion_incomplete_pattern. test_add_to_mapping_local_then_load downloaded kernels-community/layer-norm as a model repo, whose stale mirror has no build for current torch. Download it as a kernel repo, as the kernels library does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test add_to_mapping_local with a mocked local kernel, as in #47773 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>