Skip to content

add multiprocessing support for sanitization step #37

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
Aug 15, 2024

Conversation

sk-g
Copy link

@sk-g sk-g commented Aug 15, 2024

Allow sanitization of generations in multiprocessing context to speed up this step significantly.

Invocation remains the unchanged

bigcodebench.sanitize --samples output.jsonl --calibrate

or

bigcodebench.sanitize --samples output.jsonl --calibrate --parallel 64

@terryyz
Copy link
Collaborator

terryyz commented Aug 15, 2024

Thank you for your contribution, @sk-g! I added a minor comment.

@terryyz terryyz merged commit d10e227 into bigcode-project:main Aug 15, 2024
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.

2 participants