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

tiktoken package missing from requirements #8466

Closed
0wwafa opened this issue Jul 13, 2024 · 2 comments
Closed

tiktoken package missing from requirements #8466

0wwafa opened this issue Jul 13, 2024 · 2 comments
Labels

Comments

@0wwafa
Copy link

0wwafa commented Jul 13, 2024

Some models require tiktoken package for convertion to work.
But titoken package is missing in requirements.txt.

THUDM/codegeex4-all-9b is an example of that
llama.cpp/convert_hf_to_gguf.py will fail saying that tikoken package is needed but not found.

obviously a pip install titoken solves the problem.

@0wwafa 0wwafa changed the title titoken package missing from requirements tiktoken package missing from requirements Jul 13, 2024
@compilade
Copy link
Collaborator

This was also discussed when StableLM2 1.6B came out: #5052 (comment)

TL;DR requirements.txt is for required dependencies, not optional ones, but the *-extra Nix devShells do include tiktoken because there's no equivalent to pip install there.

@github-actions github-actions bot added the stale label Aug 14, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants