Skip to content

TST Remove unnecessary use of trust_remote_code#3242

Open
BenjaminBossan wants to merge 1 commit into
huggingface:mainfrom
BenjaminBossan:tst-remove-unnecessary-trust-remote-code
Open

TST Remove unnecessary use of trust_remote_code#3242
BenjaminBossan wants to merge 1 commit into
huggingface:mainfrom
BenjaminBossan:tst-remove-unnecessary-trust-remote-code

Conversation

@BenjaminBossan
Copy link
Copy Markdown
Member

Resolves #3240.

Some tests were unnecessarily using trust_remote_code=True. These arguments have been removed. Now, no test uses trust_remote_code=True anymore (except those specifically testing for this), which is better for security.

Resolves huggingface#3240.

Some tests were unnecessarily using trust_remote_code=True. These
arguments have been removed. Now, no test uses trust_remote_code=True
anymore (except those specifically testing for this), which is better
for security.
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@BenjaminBossan BenjaminBossan requested a review from githubnemo May 19, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_apply_GS_hra_conv2d_inference fails with FileNotFoundError due to datasets>=4.0 incompatibility with trust_remote_code=True

3 participants