transformers
fix: prefer registered config over remote code in AutoConfig.from_pretrained
#45094
Merged

fix: prefer registered config over remote code in AutoConfig.from_pretrained #45094

HanFa
HanFa HanFa force pushed from 25ef1a9c to 400e4bbe 125 days ago
HanFa HanFa marked this pull request as ready for review 125 days ago
github-actions github-actions requested a review from ArthurZucker ArthurZucker 125 days ago
github-actions github-actions requested a review from ydshieh ydshieh 125 days ago
HanFa HanFa force pushed from 400e4bbe to 61875435 125 days ago
HanFa HanFa force pushed from 61875435 to 06bcb31d 125 days ago
HanFa Prefer registered classes over remote code in Auto*.from_pretrained
37100cc7
HanFa HanFa force pushed from 06bcb31d to 37100cc7 125 days ago
hmellor
hmellor hmellor closed this 123 days ago
hmellor hmellor reopened this 123 days ago
hmellor
hmellor
hmellor approved these changes on 2026-03-31
hmellor Only ignore remote code if local code is explicit (i.e. doesn't belon…
e22d018e
hmellor update tests
fb7ee5df
hmellor `make style`
ab6e7110
hmellor
hmellor hmellor enabled auto-merge 123 days ago
hmellor Merge branch 'main' into fix/autoconfig-register-precedence
118eb936
hmellor fix tokenizer test
f341e9cc
hmellor Fix tests
472e5fc5
hmellor Fix explicit registration detection
be2538cd
github-actions
hmellor make style
90aba336
HuggingFaceDocBuilderDev
hmellor hmellor merged 81db7d35 into main 123 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone