Skip to content
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

feat(qwen): add trust_remote_code argument support #2493

Closed
wants to merge 1 commit into from

Conversation

ShivamSphn
Copy link

  • Add trust_remote_code argument to Qwen convert_checkpoint.py similar to Nemotron NAS implementation
  • Pass trust_remote_code to both QWenForCausalLM.quantize() and from_hugging_face() methods
  • Fix dataset loading issue by allowing remote code execution for ccdv/cnn_dailymail calibration dataset
  • Improve user experience by avoiding interactive prompts during model conversion

- Add trust_remote_code argument to Qwen convert_checkpoint.py similar to Nemotron NAS implementation
- Pass trust_remote_code to both QWenForCausalLM.quantize() and from_hugging_face() methods
- Fix dataset loading issue by allowing remote code execution for ccdv/cnn_dailymail calibration dataset
- Improve user experience by avoiding interactive prompts during model conversion
@hello-11 hello-11 added the triaged Issue has been triaged by maintainers label Nov 25, 2024
@ShivamSphn ShivamSphn closed this by deleting the head repository Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issue has been triaged by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants