Skip to content

convert : explicitly disable trust_remote_code for AutoConfig #13246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2025

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented May 1, 2025

This is needed because without trust_remote_code=False, the transformers library will ask the user to allow remote code (the answer is y/n). This breaks automated pipelines where stdin is not available

@ngxson ngxson requested a review from ggerganov May 1, 2025 20:12
@github-actions github-actions bot added the python python script changes label May 1, 2025
@ngxson ngxson merged commit dcf8860 into ggml-org:master May 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants