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.