Skip to content

Be nice to CI machines by not allocating buffers #682

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
Apr 2, 2023

Conversation

sw
Copy link
Contributor

@sw sw commented Apr 1, 2023

...for vocab_only=true

Unless I'm misunderstanding the code base completely, the huge buffers are not needed for tokenizing.

Fixes #582.

convert-pth-to-ggml.py with vocab_only=1 produces identical files. nvm, that doesn't use the C/C++ code.

@sw sw marked this pull request as ready for review April 1, 2023 15:19
@sw sw requested a review from ggerganov April 1, 2023 15:19
@ggerganov ggerganov merged commit 81040f1 into ggml-org:master Apr 2, 2023
@sw sw deleted the ci-tokenizer branch April 2, 2023 07:55
Deadsg pushed a commit to Deadsg/llama.cpp that referenced this pull request Dec 19, 2023
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.

Fix failing CI test using thread sanitizer
3 participants