koboldcpp/requirements
Daniel Bevenius 36d3f00e14
requirements : fix PyTorch uint64 compatibility (#15134)
This commit addresses an issue with the convert_hf_to_gguf script
which is currently failing with:
```console
AttributeError: module 'torch' has no attribute 'uint64'
```

This occurred because safetensors expects torch.uint64 to be available
in the public API, but PyTorch 2.2.x only provides limited support for
unsigned types beyond uint8 it seems. The torch.uint64 dtype exists but
is not exposed in the standard torch namespace
(see pytorch/pytorch#58734).

PyTorch 2.4.0 properly exposes torch.uint64 in the public API, resolving
the compatibility issue with safetensors. This also required torchvision
to updated to =0.19.0 for compatibility.

Refs: https://huggingface.co/spaces/ggml-org/gguf-my-repo/discussions/186#68938de803e47d990aa087fb
Refs: https://github.com/pytorch/pytorch/issues/58734
2025-08-07 05:31:48 +02:00
..
requirements-all.txt scripts: benchmark for HTTP server throughput (#14668) 2025-07-14 13:14:30 +02:00
requirements-compare-llama-bench.txt compare-llama-bench: add option to plot (#14169) 2025-06-14 10:34:20 +02:00
requirements-convert_hf_to_gguf.txt requirements : fix PyTorch uint64 compatibility (#15134) 2025-08-07 05:31:48 +02:00
requirements-convert_hf_to_gguf_update.txt ci : check that pre-tokenizer hashes are up-to-date (#15032) 2025-08-02 14:39:01 +02:00
requirements-convert_legacy_llama.txt py : update transfomers version (#9694) 2024-09-30 18:03:47 +03:00
requirements-convert_llama_ggml_to_gguf.txt py : switch to snake_case (#8305) 2024-07-05 07:53:33 +03:00
requirements-convert_lora_to_gguf.txt common: Include torch package for s390x (#13699) 2025-05-22 21:31:29 +03:00
requirements-gguf_editor_gui.txt gguf-py : add support for sub_type (in arrays) in GGUFWriter add_key_value method (#13561) 2025-05-29 15:36:05 +02:00
requirements-pydantic.txt mtmd : add support for Voxtral (#14862) 2025-07-28 15:01:48 +02:00
requirements-server-bench.txt scripts: benchmark for HTTP server throughput (#14668) 2025-07-14 13:14:30 +02:00
requirements-test-tokenizer-random.txt py : type-check all Python scripts with Pyright (#8341) 2024-07-07 15:04:39 -04:00
requirements-tool_bench.txt tool-call: fix Qwen 2.5 Coder support, add micro benchmarks, support trigger patterns for lazy grammars (#12034) 2025-03-05 13:05:13 +00:00